Skip to content

Commit

Permalink
Move chapters + redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
Bromeon committed Oct 9, 2023
1 parent 29626a3 commit a316a97
Show file tree
Hide file tree
Showing 17 changed files with 163 additions and 183 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ book/
.DS_Store
target
tmp
.vscode/
.vscode/
.idea/
139 changes: 95 additions & 44 deletions book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,52 +17,103 @@ assets_version = "2.0.2" # do not edit: managed by `mdbook-admonish install`
git-repository-url = "https://github.com/godot-rust/book"
additional-css = ["config/mdbook-admonish.css"]

[output.html.redirect]
"introduction.html" = "gdnative"

"getting-started.html" = "gdnative/intro"
"getting-started/hello-world.html" = "../gdnative/intro/hello-world.html"
"getting-started/setup.html" = "../gdnative/intro/setup.html"

"gdnative-overview.html" = "gdnative/overview"
"gdnative-overview/wrappers.html" = "../gdnative/overview/wrappers.html"
"gdnative-overview/data-representations.html" = "../gdnative/overview/data-representations.html"
"gdnative-overview/architecture.html" = "../gdnative/overview/architecture.html"

"rust-binding.html" = "gdnative/bind"
"rust-binding/classes.html" = "../gdnative/bind/classes.html"
"rust-binding/methods.html" = "../gdnative/bind/methods.html"
"rust-binding/properties.html" = "../gdnative/bind/properties.html"
"rust-binding/to-variant-from-variant-export.html" = "../gdnative/bind/traits.html"
"rust-binding/calling-gdscript.html" = "../gdnative/bind/calling-gdscript.html"

"faq.html" = "gdnative/faq"
"faq/code.html" = "../gdnative/faq/code.html"
"faq/multithreading.html" = "../gdnative/faq/multithreading.html"
"faq/configuration.html" = "../gdnative/faq/configuration.html"
"faq/support.html" = "../gdnative/faq/support.html"
"faq/community.html" = "../gdnative/faq/community.html"
"faq/godot4.html" = "../gdnative/faq/godot4.html"
[output.html.redirect]

"recipes.html" = "gdnative/recipes"
"recipes/async-tokio.html" = "../gdnative/recipes/async-tokio.html"
"recipes/custom-node-plugin.html" = "../gdnative/recipes/custom-node-plugin.html"
"recipes/external-resources.html" = "../gdnative/recipes/external-resources.html"
"recipes/logging.html" = "../gdnative/recipes/logging.html"
"recipes/nix-build-system.html" = "../gdnative/recipes/nix-build-system.html"
"recipes/panic-handler.html" = "../gdnative/recipes/panic-handler.html"
# Godot 4: gdext -> one level up
"gdext/intro/index.html" = "/book/intro/index.html"
"gdext/intro/setup.html" = "/book/intro/setup.html"
"gdext/intro/hello-world.html" = "/book/intro/hello-world.html"
"gdext/intro/objects.html" = "/book/intro/objects.html"
"gdext/advanced/index.html" = "/book/toolchain/index.html"
"gdext/advanced/compatibility.html" = "/book/toolchain/compatibility.html"
"gdext/advanced/godot.html-version" = "/book/toolchain/godot-version.html"
"gdext/advanced/debugging.html" = "/book/toolchain/debugging.html"
"gdext/contribute/index.html" = "/book/contribute/index.html"
"gdext/contribute/dev.html-tools" = "/book/contribute/dev-tools.html"
"gdext/contribute/conventions.html" = "/book/contribute/conventions.html"

"exporting.html" = "gdnative/export"
"exporting/android.html" = "../gdnative/export/android.html"
"exporting/ios.html" = "../gdnative/export/ios.html"
"exporting/macosx.html" = "../gdnative/export/macosx.html"
"exporting/html5.html" = "../gdnative/export/html5.html"
# Godot 3: gdnative -> new /gdnative-book prefix
"gdnative/intro/index.html" = "/gdnative-book/intro/index.html"
"gdnative/intro/setup.html" = "/gdnative-book/intro/setup.html"
"gdnative/intro/hello-world.html" = "/gdnative-book/intro/hello-world.html"
"gdnative/overview/index.html" = "/gdnative-book/overview/index.html"
"gdnative/overview/data-representations.html" = "/gdnative-book/overview/data-representations.html"
"gdnative/overview/wrappers.html" = "/gdnative-book/overview/wrappers.html"
"gdnative/overview/architecture.html" = "/gdnative-book/overview/architecture.html"
"gdnative/bind/index.html" = "/gdnative-book/bind/index.html"
"gdnative/bind/classes.html" = "/gdnative-book/bind/classes.html"
"gdnative/bind/methods.html" = "/gdnative-book/bind/methods.html"
"gdnative/bind/properties.html" = "/gdnative-book/bind/properties.html"
"gdnative/bind/traits.html" = "/gdnative-book/bind/traits.html"
"gdnative/bind/calling-gdscript.html" = "/gdnative-book/bind/calling-gdscript.html"
"gdnative/faq/index.html" = "/gdnative-book/faq/index.html"
"gdnative/faq/code.html" = "/gdnative-book/faq/code.html"
"gdnative/faq/multithreading.html" = "/gdnative-book/faq/multithreading.html"
"gdnative/faq/configuration.html" = "/gdnative-book/faq/configuration.html"
"gdnative/faq/support.html" = "/gdnative-book/faq/support.html"
"gdnative/faq/community.html" = "/gdnative-book/faq/community.html"
"gdnative/faq/godot4.html" = "/gdnative-book/faq/godot4.html"
"gdnative/recipes/index.html" = "/gdnative-book/recipes/index.html"
"gdnative/recipes/async-tokio.html" = "/gdnative-book/recipes/async-tokio.html"
"gdnative/recipes/custom-node-plugin.html" = "/gdnative-book/recipes/custom-node-plugin.html"
"gdnative/recipes/external-resources.html" = "/gdnative-book/recipes/external-resources.html"
"gdnative/recipes/logging.html" = "/gdnative-book/recipes/logging.html"
"gdnative/recipes/nix-build-system.html" = "/gdnative-book/recipes/nix-build-system.html"
"gdnative/recipes/panic-handler.html" = "/gdnative-book/recipes/panic-handler.html"
"gdnative/export/index.html" = "/gdnative-book/export/index.html"
"gdnative/export/android.html" = "/gdnative-book/export/android.html"
"gdnative/export/macosx.html" = "/gdnative-book/export/macosx.html"
"gdnative/export/html5.html" = "/gdnative-book/export/html5.html"
"gdnative/advanced/index.html" = "/gdnative-book/advanced/index.html"
"gdnative/advanced/custom-godot.html" = "/gdnative-book/advanced/custom-godot.html"
"gdnative/advanced/migrate-0-8.html" = "/gdnative-book/advanced/migrate-0-8.html"
"gdnative/advanced/migrate-0-9.html" = "/gdnative-book/advanced/migrate-0-9.html"
"gdnative/advanced/migrate-0-10.html" = "/gdnative-book/advanced/migrate-0-10.html"

"advanced-guides.html" = "gdnative/advanced"
"advanced-guides/custom-godot.html" = "../gdnative/advanced/custom-godot.html"
"advanced-guides/migrating-0-8.html" = "../gdnative/advanced/migrate-0-8.html"
"advanced-guides/migrating-0-9.html" = "../gdnative/advanced/migrate-0-9.html"
"advanced-guides/migrating-0-10.html" = "../gdnative/advanced/migrate-0-10.html"
# Third-party projects section
"projects/index.html" = "/gdnative-book/projects/index.html"
"projects/games.html" = "/gdnative-book/projects/games.html"
"projects/tools.html" = "/gdnative-book/projects/tools.html"
"projects/applications.html" = "/gdnative-book/projects/applications.html"

# Don't use = "projects", might cause redirect loop
"projects.html" = "projects/index.html"
# Old redirects (2022-)
"introduction.html" = "../gdnative-book/index.html"
"getting-started.html" = "/gdnative-book/intro/index.html"
"getting-started/hello-world.html" = "/gdnative-book/intro/hello-world.html"
"getting-started/setup.html" = "/gdnative-book/intro/setup.html"
"gdnative-overview.html" = "/gdnative-book/overview/index.html"
"gdnative-overview/wrappers.html" = "/gdnative-book/overview/wrappers.html"
"gdnative-overview/data-representations.html" = "/gdnative-book/overview/data-representations.html"
"gdnative-overview/architecture.html" = "/gdnative-book/overview/architecture.html"
"rust-binding.html" = "/gdnative-book/bind/index.html"
"rust-binding/classes.html" = "/gdnative-book/bind/classes.html"
"rust-binding/methods.html" = "/gdnative-book/bind/methods.html"
"rust-binding/properties.html" = "/gdnative-book/bind/properties.html"
"rust-binding/to-variant-from-variant-export.html" = "/gdnative-book/bind/traits.html"
"rust-binding/calling-gdscript.html" = "/gdnative-book/bind/calling-gdscript.html"
"faq.html" = "/gdnative-book/faq/index.html"
"faq/code.html" = "/gdnative-book/faq/code.html"
"faq/multithreading.html" = "/gdnative-book/faq/multithreading.html"
"faq/configuration.html" = "/gdnative-book/faq/configuration.html"
"faq/support.html" = "/gdnative-book/faq/support.html"
"faq/community.html" = "/gdnative-book/faq/community.html"
"faq/godot4.html" = "/gdnative-book/faq/godot4.html"
"recipes.html" = "/gdnative-book/recipes/index.html"
"recipes/async-tokio.html" = "/gdnative-book/recipes/async-tokio.html"
"recipes/custom-node-plugin.html" = "/gdnative-book/recipes/custom-node-plugin.html"
"recipes/external-resources.html" = "/gdnative-book/recipes/external-resources.html"
"recipes/logging.html" = "/gdnative-book/recipes/logging.html"
"recipes/nix-build-system.html" = "/gdnative-book/recipes/nix-build-system.html"
"recipes/panic-handler.html" = "/gdnative-book/recipes/panic-handler.html"
"exporting.html" = "/gdnative-book/export/index.html"
"exporting/android.html" = "/gdnative-book/export/android.html"
"exporting/ios.html" = "/gdnative-book/export/ios.html"
"exporting/macosx.html" = "/gdnative-book/export/macosx.html"
"exporting/html5.html" = "/gdnative-book/export/html5.html"
"advanced-guides.html" = "/gdnative-book/advanced/index.html"
"advanced-guides/custom-godot.html" = "/gdnative-book/advanced/custom-godot.html"
"advanced-guides/migrating-0-8.html" = "/gdnative-book/advanced/migrate-0-8.html"
"advanced-guides/migrating-0-9.html" = "/gdnative-book/advanced/migrate-0-9.html"
"advanced-guides/migrating-0-10.html" = "/gdnative-book/advanced/migrate-0-10.html"
"projects.html" = "../gdnative-book/projects/index.html"
65 changes: 11 additions & 54 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,57 +1,14 @@
# Summary

- [Introduction](index.md)
- [Godot 4: gdext](gdext/index.md)
- [Getting Started](gdext/intro/index.md)
- [Setup](gdext/intro/setup.md)
- [Hello World](gdext/intro/hello-world.md)
- [Managing objects in Rust](gdext/intro/objects.md)
- [Advanced topics](gdext/advanced/index.md)
- [Compatibility and stability](gdext/advanced/compatibility.md)
- [Selecting a Godot version](gdext/advanced/godot-version.md)
- [Debugging](gdext/advanced/debugging.md)
- [Contributing to gdext](gdext/contribute/index.md)
- [Dev tools and testing](gdext/contribute/dev-tools.md)
- [Code and API conventions](gdext/contribute/conventions.md)
- [Godot 3: gdnative](gdnative/index.md)
- [Getting Started](gdnative/intro/index.md)
- [Setup](gdnative/intro/setup.md)
- [Hello, world!](gdnative/intro/hello-world.md)
- [An Overview of GDNative](gdnative/overview/index.md)
- [Data representations](gdnative/overview/data-representations.md)
- [Ref, TRef and Instance](gdnative/overview/wrappers.md)
- [Game architecture](gdnative/overview/architecture.md)
- [Binding to Rust code](gdnative/bind/index.md)
- [Class registration](gdnative/bind/classes.md)
- [Exported methods](gdnative/bind/methods.md)
- [Exported properties](gdnative/bind/properties.md)
- [ToVariant, FromVariant and Export](gdnative/bind/traits.md)
- [Calling into GDScript from Rust](gdnative/bind/calling-gdscript.md)
- [FAQ](gdnative/faq/index.md)
- [Common code questions](gdnative/faq/code.md)
- [Multithreading](gdnative/faq/multithreading.md)
- [Configuration](gdnative/faq/configuration.md)
- [Versioning and supported platforms](gdnative/faq/support.md)
- [Community](gdnative/faq/community.md)
- [Godot 4.0 Status](gdnative/faq/godot4.md)
- [Recipes](gdnative/recipes/index.md)
- [Async with Tokio runtime](gdnative/recipes/async-tokio.md)
- [Custom node plugin](gdnative/recipes/custom-node-plugin.md)
- [Loading external resources](gdnative/recipes/external-resources.md)
- [Logging](gdnative/recipes/logging.md)
- [Nix as development environment](gdnative/recipes/nix-build-system.md)
- [Rust panic handler](gdnative/recipes/panic-handler.md)
- [Exporting](gdnative/export/index.md)
- [Android](gdnative/export/android.md)
- [(TODO) iOS](gdnative/export/ios.md)
- [Mac OS X](gdnative/export/macosx.md)
- [HTML5](gdnative/export/html5.md)
- [Advanced Guides](gdnative/advanced/index.md)
- [Using custom Godot versions](gdnative/advanced/custom-godot.md)
- [Migrating from godot-rust 0.8](gdnative/advanced/migrate-0-8.md)
- [Migrating from godot-rust 0.9](gdnative/advanced/migrate-0-9.md)
- [Migrating from godot-rust 0.10](gdnative/advanced/migrate-0-10.md)
- [Third-party projects](./projects/index.md)
- [Games](./projects/games.md)
- [Tools and integrations](./projects/tools.md)
- [Applications](./projects/applications.md)
- [Getting Started](intro/index.md)
- [Setup](intro/setup.md)
- [Hello World](intro/hello-world.md)
- [Managing objects in Rust](intro/objects.md)
- [Toolchain](toolchain/index.md)
- [Compatibility and stability](toolchain/compatibility.md)
- [Selecting a Godot version](toolchain/godot-version.md)
- [Debugging](toolchain/debugging.md)
- [Contributing to gdext](contribute/index.md)
- [Dev tools and testing](contribute/dev-tools.md)
- [Code and API conventions](contribute/conventions.md)
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions src/gdext/advanced/index.md

This file was deleted.

51 changes: 0 additions & 51 deletions src/gdext/index.md

This file was deleted.

Loading

0 comments on commit a316a97

Please sign in to comment.