diff --git a/code-validation/src/lib.rs b/code-validation/src/lib.rs index 55c2018e88..1768769841 100644 --- a/code-validation/src/lib.rs +++ b/code-validation/src/lib.rs @@ -6,31 +6,31 @@ mod learn { #[doc = include_str!("../../content/learn/quick-start/_index.md")] mod quick_start { - #[doc = include_str!("../../content/learn/quick-start/introduction/_index.md")] + #[doc = include_str!("../../content/learn/quick-start/introduction.md")] mod introduction {} #[doc = include_str!("../../content/learn/quick-start/getting-started/_index.md")] mod getting_started { - #[doc = include_str!("../../content/learn/quick-start/getting-started/apps/_index.md")] + #[doc = include_str!("../../content/learn/quick-start/getting-started/apps.md")] mod apps {} - #[doc = include_str!("../../content/learn/quick-start/getting-started/ecs/_index.md")] + #[doc = include_str!("../../content/learn/quick-start/getting-started/ecs.md")] mod ecs {} - #[doc = include_str!("../../content/learn/quick-start/getting-started/plugins/_index.md")] + #[doc = include_str!("../../content/learn/quick-start/getting-started/plugins.md")] mod plugins {} - #[doc = include_str!("../../content/learn/quick-start/getting-started/resources/_index.md")] + #[doc = include_str!("../../content/learn/quick-start/getting-started/resources.md")] mod resources {} } #[doc = include_str!("../../content/learn/quick-start/contributing/_index.md")] mod contributing { - #[doc = include_str!("../../content/learn/quick-start/contributing/docs/_index.md")] + #[doc = include_str!("../../content/learn/quick-start/contributing/docs.md")] mod docs {} - #[doc = include_str!("../../content/learn/quick-start/contributing/code/_index.md")] + #[doc = include_str!("../../content/learn/quick-start/contributing/code.md")] mod code {} } - #[doc = include_str!("../../content/learn/quick-start/plugin-development/_index.md")] + #[doc = include_str!("../../content/learn/quick-start/plugin-development.md")] mod plugin_development {} - #[doc = include_str!("../../content/learn/quick-start/troubleshooting/_index.md")] + #[doc = include_str!("../../content/learn/quick-start/troubleshooting.md")] mod troubleshooting {} - #[doc = include_str!("../../content/learn/quick-start/next-steps/_index.md")] + #[doc = include_str!("../../content/learn/quick-start/next-steps.md")] mod next_steps {} #[doc = include_str!("../../content/learn/quick-start/breakout/_index.md")] @@ -51,87 +51,87 @@ mod learn { mod book { #[doc = include_str!("../../content/learn/book/assets/_index.md")] mod assets { - #[doc = include_str!("../../content/learn/book/assets/custom-assets/_index.md")] + #[doc = include_str!("../../content/learn/book/assets/custom-assets.md")] mod custom_assets {} - #[doc = include_str!("../../content/learn/book/assets/hot-reloading/_index.md")] + #[doc = include_str!("../../content/learn/book/assets/hot-reloading.md")] mod hot_reloading {} - #[doc = include_str!("../../content/learn/book/assets/loading-assets/_index.md")] + #[doc = include_str!("../../content/learn/book/assets/loading-assets.md")] mod loading_assets {} - #[doc = include_str!("../../content/learn/book/assets/scenes-reflection/_index.md")] + #[doc = include_str!("../../content/learn/book/assets/scenes-reflection.md")] mod scenes_reflection {} - #[doc = include_str!("../../content/learn/book/assets/working-with-handles/_index.md")] + #[doc = include_str!("../../content/learn/book/assets/working-with-handles.md")] mod working_with_handles {} } #[doc = include_str!("../../content/learn/book/audio/_index.md")] mod audio { - #[doc = include_str!("../../content/learn/book/audio/audio-basics/_index.md")] + #[doc = include_str!("../../content/learn/book/audio/audio-basics.md")] mod audio_basics {} } #[doc = include_str!("../../content/learn/book/development-practices/_index.md")] mod development_practices { - #[doc = include_str!("../../content/learn/book/development-practices/boilerplate-reduction/_index.md")] + #[doc = include_str!("../../content/learn/book/development-practices/boilerplate-reduction.md")] mod boilerplate_reduction {} - #[doc = include_str!("../../content/learn/book/development-practices/error-handling/_index.md")] + #[doc = include_str!("../../content/learn/book/development-practices/error-handling.md")] mod error_handling {} - #[doc = include_str!("../../content/learn/book/development-practices/fast-compiles/_index.md")] + #[doc = include_str!("../../content/learn/book/development-practices/fast-compiles.md")] mod fast_compiles {} - #[doc = include_str!("../../content/learn/book/development-practices/organizing-your-code/_index.md")] + #[doc = include_str!("../../content/learn/book/development-practices/organizing-your-code.md")] mod organizing_your_code {} - #[doc = include_str!("../../content/learn/book/development-practices/testing/_index.md")] + #[doc = include_str!("../../content/learn/book/development-practices/testing.md")] mod testing {} } #[doc = include_str!("../../content/learn/book/ecs/_index.md")] mod ecs { - #[doc = include_str!("../../content/learn/book/ecs/change-detection/_index.md")] + #[doc = include_str!("../../content/learn/book/ecs/change-detection.md")] mod change_detection {} - #[doc = include_str!("../../content/learn/book/ecs/commands/_index.md")] + #[doc = include_str!("../../content/learn/book/ecs/commands.md")] mod commands {} - #[doc = include_str!("../../content/learn/book/ecs/entities-components/_index.md")] + #[doc = include_str!("../../content/learn/book/ecs/entities-components.md")] mod entities_components {} - #[doc = include_str!("../../content/learn/book/ecs/exclusive-world-access/_index.md")] + #[doc = include_str!("../../content/learn/book/ecs/exclusive-world-access.md")] mod exclusive_world_access {} - #[doc = include_str!("../../content/learn/book/ecs/filtering-queries/_index.md")] + #[doc = include_str!("../../content/learn/book/ecs/filtering-queries.md")] mod filtering_queries {} - #[doc = include_str!("../../content/learn/book/ecs/generic-systems/_index.md")] + #[doc = include_str!("../../content/learn/book/ecs/generic-systems.md")] mod generic_systems {} - #[doc = include_str!("../../content/learn/book/ecs/resources/_index.md")] + #[doc = include_str!("../../content/learn/book/ecs/resources.md")] mod resources {} - #[doc = include_str!("../../content/learn/book/ecs/systems-queries/_index.md")] + #[doc = include_str!("../../content/learn/book/ecs/systems-queries.md")] mod systems_queries {} } #[doc = include_str!("../../content/learn/book/game-logic/_index.md")] mod game_logic { - #[doc = include_str!("../../content/learn/book/game-logic/async-tasks/_index.md")] + #[doc = include_str!("../../content/learn/book/game-logic/async-tasks.md")] mod async_tasks {} - #[doc = include_str!("../../content/learn/book/game-logic/custom-runners-headless-operations/_index.md")] + #[doc = include_str!("../../content/learn/book/game-logic/custom-runners-headless-operations.md")] mod custom_runners_headless_operation {} - #[doc = include_str!("../../content/learn/book/game-logic/events/_index.md")] + #[doc = include_str!("../../content/learn/book/game-logic/events.md")] mod events {} - #[doc = include_str!("../../content/learn/book/game-logic/run-criteria/_index.md")] + #[doc = include_str!("../../content/learn/book/game-logic/run-criteria.md")] mod run_criteria {} - #[doc = include_str!("../../content/learn/book/game-logic/states/_index.md")] + #[doc = include_str!("../../content/learn/book/game-logic/states.md")] mod states {} - #[doc = include_str!("../../content/learn/book/game-logic/system-ordering/_index.md")] + #[doc = include_str!("../../content/learn/book/game-logic/system-ordering.md")] mod system_ordering {} - #[doc = include_str!("../../content/learn/book/game-logic/time-timers/_index.md")] + #[doc = include_str!("../../content/learn/book/game-logic/time-timers.md")] mod time_timers {} } #[doc = include_str!("../../content/learn/book/getting-started/_index.md")] mod getting_started { - #[doc = include_str!("../../content/learn/book/getting-started/app-appbuilder-world/_index.md")] + #[doc = include_str!("../../content/learn/book/getting-started/app-appbuilder-world.md")] mod app_appbuilder_world {} - #[doc = include_str!("../../content/learn/book/getting-started/bevy-community/_index.md")] + #[doc = include_str!("../../content/learn/book/getting-started/bevy-community.md")] mod bevy_community {} - #[doc = include_str!("../../content/learn/book/getting-started/installation/_index.md")] + #[doc = include_str!("../../content/learn/book/getting-started/installation.md")] mod installation {} - #[doc = include_str!("../../content/learn/book/getting-started/modular-plugins/_index.md")] + #[doc = include_str!("../../content/learn/book/getting-started/modular-plugins.md")] mod modular_plugins {} - #[doc = include_str!("../../content/learn/book/getting-started/why-bevy/_index.md")] + #[doc = include_str!("../../content/learn/book/getting-started/why-bevy.md")] mod why_bevy {} } @@ -139,44 +139,44 @@ mod learn { mod graphics { #[doc = include_str!("../../content/learn/book/graphics/2d/_index.md")] mod two_dimensional { - #[doc = include_str!("../../content/learn/book/graphics/2d/sprite-sheets/_index.md")] + #[doc = include_str!("../../content/learn/book/graphics/2d/sprite-sheets.md")] mod sprite_sheets {} - #[doc = include_str!("../../content/learn/book/graphics/2d/sprites/_index.md")] + #[doc = include_str!("../../content/learn/book/graphics/2d/sprites.md")] mod sprites {} } #[doc = include_str!("../../content/learn/book/graphics/3d/_index.md")] mod three_dimensional { - #[doc = include_str!("../../content/learn/book/graphics/3d/meshes/_index.md")] + #[doc = include_str!("../../content/learn/book/graphics/3d/meshes.md")] mod meshes {} - #[doc = include_str!("../../content/learn/book/graphics/3d/pbr/_index.md")] + #[doc = include_str!("../../content/learn/book/graphics/3d/pbr.md")] mod pbr {} } - #[doc = include_str!("../../content/learn/book/graphics/cameras/_index.md")] + #[doc = include_str!("../../content/learn/book/graphics/cameras.md")] mod cameras {} - #[doc = include_str!("../../content/learn/book/graphics/parent-child-hierarchy/_index.md")] + #[doc = include_str!("../../content/learn/book/graphics/parent-child-hierarchy.md")] mod parent_child_hierarchy {} #[doc = include_str!("../../content/learn/book/graphics/rendering-internals/_index.md")] mod rendering_internals { - #[doc = include_str!("../../content/learn/book/graphics/rendering-internals/shader-basics/_index.md")] + #[doc = include_str!("../../content/learn/book/graphics/rendering-internals/shader-basics.md")] mod shader_basics {} } - #[doc = include_str!("../../content/learn/book/graphics/transforms/_index.md")] + #[doc = include_str!("../../content/learn/book/graphics/transforms.md")] mod transforms {} - #[doc = include_str!("../../content/learn/book/graphics/windows/_index.md")] + #[doc = include_str!("../../content/learn/book/graphics/windows.md")] mod windows {} } #[doc = include_str!("../../content/learn/book/input/_index.md")] mod input { - #[doc = include_str!("../../content/learn/book/input/gamepad/_index.md")] + #[doc = include_str!("../../content/learn/book/input/gamepad.md")] mod gamepad {} - #[doc = include_str!("../../content/learn/book/input/basics/_index.md")] - mod basics {} - #[doc = include_str!("../../content/learn/book/input/keyboard/_index.md")] + #[doc = include_str!("../../content/learn/book/input/input-basics.md")] + mod input_basics {} + #[doc = include_str!("../../content/learn/book/input/keyboard.md")] mod keyboard {} - #[doc = include_str!("../../content/learn/book/input/mouse/_index.md")] + #[doc = include_str!("../../content/learn/book/input/mouse.md")] mod mouse {} - #[doc = include_str!("../../content/learn/book/input/touch/_index.md")] + #[doc = include_str!("../../content/learn/book/input/touch.md")] mod touch {} } @@ -185,30 +185,30 @@ mod learn { #[doc = include_str!("../../content/learn/book/performance-optimizations/_index.md")] mod performance_optimizations { - #[doc = include_str!("../../content/learn/book/performance-optimizations/component-storage/_index.md")] + #[doc = include_str!("../../content/learn/book/performance-optimizations/component-storage.md")] mod component_storage {} - #[doc = include_str!("../../content/learn/book/performance-optimizations/diagnostics-benchmarking/_index.md")] + #[doc = include_str!("../../content/learn/book/performance-optimizations/diagnostics-benchmarking.md")] mod diagnostics_benchmarking {} - #[doc = include_str!("../../content/learn/book/performance-optimizations/indexes/_index.md")] + #[doc = include_str!("../../content/learn/book/performance-optimizations/indexes.md")] mod indexes {} - #[doc = include_str!("../../content/learn/book/performance-optimizations/parallel-iteration/_index.md")] + #[doc = include_str!("../../content/learn/book/performance-optimizations/parallel-iteration.md")] mod parallel_iteration {} } #[doc = include_str!("../../content/learn/book/platforms/_index.md")] mod platforms { - #[doc = include_str!("../../content/learn/book/platforms/android/_index.md")] + #[doc = include_str!("../../content/learn/book/platforms/android.md")] mod android {} - #[doc = include_str!("../../content/learn/book/platforms/ios/_index.md")] + #[doc = include_str!("../../content/learn/book/platforms/ios.md")] mod ios {} - #[doc = include_str!("../../content/learn/book/platforms/web/_index.md")] + #[doc = include_str!("../../content/learn/book/platforms/web.md")] mod web {} } #[doc = include_str!("../../content/learn/book/ui/_index.md")] mod ui { - #[doc = include_str!("../../content/learn/book/ui/basics/_index.md")] - mod basics {} + #[doc = include_str!("../../content/learn/book/ui/ui-basics.md")] + mod ui_basics {} } } } diff --git a/content/learn/advanced-examples/_index.md b/content/learn/advanced-examples/_index.md index a94c3d6aea..612f22e2b0 100644 --- a/content/learn/advanced-examples/_index.md +++ b/content/learn/advanced-examples/_index.md @@ -1,6 +1,8 @@ +++ title = "Advanced Examples" template = "docs-section.html" +page_template = "docs-page.html" [extra] public_draft = 877 +status = "hidden" +++ diff --git a/content/learn/advanced-examples/sudoku/_index.md b/content/learn/advanced-examples/sudoku/_index.md index e19bc97e57..551dec70c9 100644 --- a/content/learn/advanced-examples/sudoku/_index.md +++ b/content/learn/advanced-examples/sudoku/_index.md @@ -1,5 +1,7 @@ +++ title = "Sudoku" -weight = 2 template = "docs-section.html" +[extra] +weight = 2 +status = "hidden" +++ diff --git a/content/learn/advanced-examples/text-adventure/_index.md b/content/learn/advanced-examples/text-adventure/_index.md index 0a090525ba..85e73c6993 100644 --- a/content/learn/advanced-examples/text-adventure/_index.md +++ b/content/learn/advanced-examples/text-adventure/_index.md @@ -1,5 +1,7 @@ +++ title = "Text Adventure" -weight = 1 template = "docs-section.html" +[extra] +weight = 1 +status = "hidden" +++ diff --git a/content/learn/book/_index.md b/content/learn/book/_index.md index e72dcdf0c0..ec5c61a17e 100644 --- a/content/learn/book/_index.md +++ b/content/learn/book/_index.md @@ -1,10 +1,9 @@ +++ title = "Book" -sort_by = "weight" template = "docs-section.html" -page_template = "docs-section.html" -redirect_to = "learn/book/getting-started" +page_template = "docs-page.html" insert_anchor_links = "right" +redirect_to = "learn/book/getting-started" [extra] status = 'hidden' public_draft = 874 diff --git a/content/learn/book/assets/_index.md b/content/learn/book/assets/_index.md index 1101d686a1..789aaf12de 100644 --- a/content/learn/book/assets/_index.md +++ b/content/learn/book/assets/_index.md @@ -1,11 +1,9 @@ +++ title = "Assets" -weight = 5 -sort_by = "weight" template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 5 status = 'hidden' +++ diff --git a/content/learn/book/assets/custom-assets/_index.md b/content/learn/book/assets/custom-assets.md similarity index 66% rename from content/learn/book/assets/custom-assets/_index.md rename to content/learn/book/assets/custom-assets.md index 4b36fe528a..120f790b18 100644 --- a/content/learn/book/assets/custom-assets/_index.md +++ b/content/learn/book/assets/custom-assets.md @@ -1,11 +1,8 @@ +++ title = "Custom Assets" -weight = 3 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 3 status = 'hidden' +++ diff --git a/content/learn/book/assets/hot-reloading/_index.md b/content/learn/book/assets/hot-reloading.md similarity index 79% rename from content/learn/book/assets/hot-reloading/_index.md rename to content/learn/book/assets/hot-reloading.md index b54c0e341a..6b49acbbb1 100644 --- a/content/learn/book/assets/hot-reloading/_index.md +++ b/content/learn/book/assets/hot-reloading.md @@ -1,11 +1,8 @@ +++ title = "Hot Reloading" -weight = 4 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 4 status = 'hidden' +++ diff --git a/content/learn/book/assets/loading-assets/_index.md b/content/learn/book/assets/loading-assets.md similarity index 75% rename from content/learn/book/assets/loading-assets/_index.md rename to content/learn/book/assets/loading-assets.md index f465907c6a..a01ac0a62a 100644 --- a/content/learn/book/assets/loading-assets/_index.md +++ b/content/learn/book/assets/loading-assets.md @@ -1,11 +1,8 @@ +++ title = "Loading Assets" -weight = 1 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 1 status = 'hidden' +++ diff --git a/content/learn/book/assets/scenes-reflection/_index.md b/content/learn/book/assets/scenes-reflection.md similarity index 79% rename from content/learn/book/assets/scenes-reflection/_index.md rename to content/learn/book/assets/scenes-reflection.md index 76d2ec077b..d64c00d1f5 100644 --- a/content/learn/book/assets/scenes-reflection/_index.md +++ b/content/learn/book/assets/scenes-reflection.md @@ -1,11 +1,8 @@ +++ title = "Scenes and Reflection" -weight = 5 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 5 status = 'hidden' +++ diff --git a/content/learn/book/assets/working-with-handles/_index.md b/content/learn/book/assets/working-with-handles.md similarity index 79% rename from content/learn/book/assets/working-with-handles/_index.md rename to content/learn/book/assets/working-with-handles.md index abf1625da1..a942db4770 100644 --- a/content/learn/book/assets/working-with-handles/_index.md +++ b/content/learn/book/assets/working-with-handles.md @@ -1,11 +1,8 @@ +++ title = "Working With Handles" -weight = 2 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 2 status = 'hidden' +++ diff --git a/content/learn/book/audio/_index.md b/content/learn/book/audio/_index.md index 19cbcd0d7f..3964784e65 100644 --- a/content/learn/book/audio/_index.md +++ b/content/learn/book/audio/_index.md @@ -1,11 +1,9 @@ +++ title = "Audio" -weight = 7 -sort_by = "weight" template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 7 status = 'hidden' +++ diff --git a/content/learn/book/audio/audio-basics/_index.md b/content/learn/book/audio/audio-basics.md similarity index 69% rename from content/learn/book/audio/audio-basics/_index.md rename to content/learn/book/audio/audio-basics.md index f53a5e4a08..c25b9243ce 100644 --- a/content/learn/book/audio/audio-basics/_index.md +++ b/content/learn/book/audio/audio-basics.md @@ -1,11 +1,8 @@ +++ title = "Audio basics" -weight = 1 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 1 status = 'hidden' +++ diff --git a/content/learn/book/development-practices/_index.md b/content/learn/book/development-practices/_index.md index 535fcebe51..045f3b0a1f 100644 --- a/content/learn/book/development-practices/_index.md +++ b/content/learn/book/development-practices/_index.md @@ -1,11 +1,9 @@ +++ title = "Development Practices" -weight = 9 -sort_by = "weight" template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 9 status = 'hidden' +++ diff --git a/content/learn/book/development-practices/boilerplate-reduction/_index.md b/content/learn/book/development-practices/boilerplate-reduction.md similarity index 69% rename from content/learn/book/development-practices/boilerplate-reduction/_index.md rename to content/learn/book/development-practices/boilerplate-reduction.md index 8fdf5733bf..06399b8e8e 100644 --- a/content/learn/book/development-practices/boilerplate-reduction/_index.md +++ b/content/learn/book/development-practices/boilerplate-reduction.md @@ -1,11 +1,8 @@ +++ title = "Boilerplate Reduction" -weight = 5 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 5 status = 'hidden' +++ diff --git a/content/learn/book/development-practices/error-handling/_index.md b/content/learn/book/development-practices/error-handling.md similarity index 80% rename from content/learn/book/development-practices/error-handling/_index.md rename to content/learn/book/development-practices/error-handling.md index ff126d7f57..5f02dc0f1d 100644 --- a/content/learn/book/development-practices/error-handling/_index.md +++ b/content/learn/book/development-practices/error-handling.md @@ -1,11 +1,8 @@ +++ title = "Error Handling" -weight = 4 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 4 status = 'hidden' +++ diff --git a/content/learn/book/development-practices/fast-compiles/_index.md b/content/learn/book/development-practices/fast-compiles.md similarity index 96% rename from content/learn/book/development-practices/fast-compiles/_index.md rename to content/learn/book/development-practices/fast-compiles.md index d4d075f64a..270e01060a 100644 --- a/content/learn/book/development-practices/fast-compiles/_index.md +++ b/content/learn/book/development-practices/fast-compiles.md @@ -1,11 +1,8 @@ +++ title = "Fast Compiles" -weight = 2 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 2 status = 'hidden' +++ diff --git a/content/learn/book/development-practices/organizing-your-code/_index.md b/content/learn/book/development-practices/organizing-your-code.md similarity index 76% rename from content/learn/book/development-practices/organizing-your-code/_index.md rename to content/learn/book/development-practices/organizing-your-code.md index aa671e4002..12dea11d37 100644 --- a/content/learn/book/development-practices/organizing-your-code/_index.md +++ b/content/learn/book/development-practices/organizing-your-code.md @@ -1,11 +1,8 @@ +++ title = "Organizing Your Code" -weight = 1 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 1 status = 'hidden' +++ diff --git a/content/learn/book/development-practices/testing/_index.md b/content/learn/book/development-practices/testing.md similarity index 75% rename from content/learn/book/development-practices/testing/_index.md rename to content/learn/book/development-practices/testing.md index cf7fd44b0c..7d68526efc 100644 --- a/content/learn/book/development-practices/testing/_index.md +++ b/content/learn/book/development-practices/testing.md @@ -1,11 +1,8 @@ +++ title = "Testing" -weight = 3 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 3 status = 'hidden' +++ diff --git a/content/learn/book/ecs/_index.md b/content/learn/book/ecs/_index.md index 0e43d320d2..a95dc16366 100644 --- a/content/learn/book/ecs/_index.md +++ b/content/learn/book/ecs/_index.md @@ -1,11 +1,9 @@ +++ title = "Entities, Components and Systems" -weight = 2 -sort_by = "weight" template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 2 status = 'hidden' +++ diff --git a/content/learn/book/ecs/change-detection/_index.md b/content/learn/book/ecs/change-detection.md similarity index 72% rename from content/learn/book/ecs/change-detection/_index.md rename to content/learn/book/ecs/change-detection.md index f90e99a869..8e84b4d953 100644 --- a/content/learn/book/ecs/change-detection/_index.md +++ b/content/learn/book/ecs/change-detection.md @@ -1,7 +1,6 @@ +++ title = "Reliable Change Detection" -weight = 6 -template = "docs-section.html" [extra] +weight = 6 status = 'hidden' +++ diff --git a/content/learn/book/ecs/commands/_index.md b/content/learn/book/ecs/commands.md similarity index 64% rename from content/learn/book/ecs/commands/_index.md rename to content/learn/book/ecs/commands.md index a3fc516a12..ab594b350a 100644 --- a/content/learn/book/ecs/commands/_index.md +++ b/content/learn/book/ecs/commands.md @@ -1,9 +1,7 @@ +++ title = "Manipulating Entities With Commands" -weight = 4 -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 4 status = 'hidden' +++ diff --git a/content/learn/book/ecs/entities-components/_index.md b/content/learn/book/ecs/entities-components.md similarity index 99% rename from content/learn/book/ecs/entities-components/_index.md rename to content/learn/book/ecs/entities-components.md index 0e713bbe6f..404c06a333 100644 --- a/content/learn/book/ecs/entities-components/_index.md +++ b/content/learn/book/ecs/entities-components.md @@ -1,10 +1,8 @@ +++ title = "Entities Have Components" -weight = 1 -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 1 status = 'hidden' +++ diff --git a/content/learn/book/ecs/exclusive-world-access/_index.md b/content/learn/book/ecs/exclusive-world-access.md similarity index 81% rename from content/learn/book/ecs/exclusive-world-access/_index.md rename to content/learn/book/ecs/exclusive-world-access.md index 6f6446a915..cd296d8add 100644 --- a/content/learn/book/ecs/exclusive-world-access/_index.md +++ b/content/learn/book/ecs/exclusive-world-access.md @@ -1,10 +1,8 @@ +++ title = "Exclusive World Access" -weight = 8 -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 8 status = 'hidden' +++ diff --git a/content/learn/book/ecs/filtering-queries/_index.md b/content/learn/book/ecs/filtering-queries.md similarity index 70% rename from content/learn/book/ecs/filtering-queries/_index.md rename to content/learn/book/ecs/filtering-queries.md index b18d4cad0a..5f9a89df1e 100644 --- a/content/learn/book/ecs/filtering-queries/_index.md +++ b/content/learn/book/ecs/filtering-queries.md @@ -1,7 +1,6 @@ +++ title = "Filtering Queries" -weight = 5 -template = "docs-section.html" [extra] +weight = 5 status = 'hidden' +++ diff --git a/content/learn/book/ecs/generic-systems/_index.md b/content/learn/book/ecs/generic-systems.md similarity index 69% rename from content/learn/book/ecs/generic-systems/_index.md rename to content/learn/book/ecs/generic-systems.md index a8e0e95330..cdf27de71d 100644 --- a/content/learn/book/ecs/generic-systems/_index.md +++ b/content/learn/book/ecs/generic-systems.md @@ -1,7 +1,6 @@ +++ title = "Generic Systems" -weight = 7 -template = "docs-section.html" [extra] +weight = 7 status = 'hidden' +++ diff --git a/content/learn/book/ecs/resources/_index.md b/content/learn/book/ecs/resources.md similarity index 83% rename from content/learn/book/ecs/resources/_index.md rename to content/learn/book/ecs/resources.md index dd33a6cb08..a95ec3bded 100644 --- a/content/learn/book/ecs/resources/_index.md +++ b/content/learn/book/ecs/resources.md @@ -1,10 +1,8 @@ +++ title = "Resources Are Global Singletons" -weight = 3 -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 3 status = 'hidden' +++ diff --git a/content/learn/book/ecs/systems-queries/_index.md b/content/learn/book/ecs/systems-queries.md similarity index 64% rename from content/learn/book/ecs/systems-queries/_index.md rename to content/learn/book/ecs/systems-queries.md index 3f211fa1ac..32ca33bec1 100644 --- a/content/learn/book/ecs/systems-queries/_index.md +++ b/content/learn/book/ecs/systems-queries.md @@ -1,9 +1,7 @@ +++ title = "Systems Access Data Through Queries" -weight = 2 -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 2 status = 'hidden' +++ diff --git a/content/learn/book/game-logic/_index.md b/content/learn/book/game-logic/_index.md index dfa531c44a..bd7d718cc3 100644 --- a/content/learn/book/game-logic/_index.md +++ b/content/learn/book/game-logic/_index.md @@ -1,11 +1,9 @@ +++ title = "Game Logic" -weight = 3 -sort_by = "weight" template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 3 status = 'hidden' +++ diff --git a/content/learn/book/game-logic/async-tasks/_index.md b/content/learn/book/game-logic/async-tasks.md similarity index 77% rename from content/learn/book/game-logic/async-tasks/_index.md rename to content/learn/book/game-logic/async-tasks.md index 1b8f6dce4b..bdd234a72e 100644 --- a/content/learn/book/game-logic/async-tasks/_index.md +++ b/content/learn/book/game-logic/async-tasks.md @@ -1,11 +1,8 @@ +++ title = "Async Tasks" -weight = 6 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 6 status = 'hidden' +++ diff --git a/content/learn/book/game-logic/custom-runners-headless-operations/_index.md b/content/learn/book/game-logic/custom-runners-headless-operations.md similarity index 80% rename from content/learn/book/game-logic/custom-runners-headless-operations/_index.md rename to content/learn/book/game-logic/custom-runners-headless-operations.md index 14ab82909e..f6373dc79f 100644 --- a/content/learn/book/game-logic/custom-runners-headless-operations/_index.md +++ b/content/learn/book/game-logic/custom-runners-headless-operations.md @@ -1,11 +1,8 @@ +++ title = "Custom Runners and Headless Operation" -weight = 7 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 7 status = 'hidden' +++ diff --git a/content/learn/book/game-logic/events/_index.md b/content/learn/book/game-logic/events.md similarity index 79% rename from content/learn/book/game-logic/events/_index.md rename to content/learn/book/game-logic/events.md index eb35f29102..60e6070c22 100644 --- a/content/learn/book/game-logic/events/_index.md +++ b/content/learn/book/game-logic/events.md @@ -1,11 +1,8 @@ +++ title = "Events" -weight = 2 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 2 status = 'hidden' +++ diff --git a/content/learn/book/game-logic/run-criteria/_index.md b/content/learn/book/game-logic/run-criteria.md similarity index 75% rename from content/learn/book/game-logic/run-criteria/_index.md rename to content/learn/book/game-logic/run-criteria.md index bfa23fefb9..b14f8e8bfd 100644 --- a/content/learn/book/game-logic/run-criteria/_index.md +++ b/content/learn/book/game-logic/run-criteria.md @@ -1,11 +1,8 @@ +++ title = "Run Criteria and Fixed Timestep" -weight = 5 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 5 status = 'hidden' +++ diff --git a/content/learn/book/game-logic/states/_index.md b/content/learn/book/game-logic/states.md similarity index 80% rename from content/learn/book/game-logic/states/_index.md rename to content/learn/book/game-logic/states.md index b3e833e9b9..ebaa2933e9 100644 --- a/content/learn/book/game-logic/states/_index.md +++ b/content/learn/book/game-logic/states.md @@ -1,11 +1,8 @@ +++ title = "States" -weight = 3 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 3 status = 'hidden' +++ diff --git a/content/learn/book/game-logic/system-ordering/_index.md b/content/learn/book/game-logic/system-ordering.md similarity index 85% rename from content/learn/book/game-logic/system-ordering/_index.md rename to content/learn/book/game-logic/system-ordering.md index 9627e14074..f12105daa1 100644 --- a/content/learn/book/game-logic/system-ordering/_index.md +++ b/content/learn/book/game-logic/system-ordering.md @@ -1,10 +1,8 @@ +++ title = "Stages and System Ordering" -weight = 1 -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 1 status = 'hidden' +++ diff --git a/content/learn/book/game-logic/time-timers/_index.md b/content/learn/book/game-logic/time-timers.md similarity index 80% rename from content/learn/book/game-logic/time-timers/_index.md rename to content/learn/book/game-logic/time-timers.md index 528dfb5b45..fb06672488 100644 --- a/content/learn/book/game-logic/time-timers/_index.md +++ b/content/learn/book/game-logic/time-timers.md @@ -1,11 +1,8 @@ +++ title = "Time and Timers" -weight = 4 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 4 status = 'hidden' +++ diff --git a/content/learn/book/getting-started/_index.md b/content/learn/book/getting-started/_index.md index 4ef57895de..1cbebc0f56 100644 --- a/content/learn/book/getting-started/_index.md +++ b/content/learn/book/getting-started/_index.md @@ -1,9 +1,8 @@ +++ title = "Getting Started" -weight = 1 template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 1 status = 'hidden' +++ diff --git a/content/learn/book/getting-started/app-appbuilder-world/_index.md b/content/learn/book/getting-started/app-appbuilder-world.md similarity index 72% rename from content/learn/book/getting-started/app-appbuilder-world/_index.md rename to content/learn/book/getting-started/app-appbuilder-world.md index 54b37be54e..a58bb4f787 100644 --- a/content/learn/book/getting-started/app-appbuilder-world/_index.md +++ b/content/learn/book/getting-started/app-appbuilder-world.md @@ -1,7 +1,6 @@ +++ title = "App, Appbuilder, and World" -weight = 3 -template = "docs-section.html" [extra] +weight = 3 status = 'hidden' +++ diff --git a/content/learn/book/getting-started/bevy-community/_index.md b/content/learn/book/getting-started/bevy-community.md similarity index 70% rename from content/learn/book/getting-started/bevy-community/_index.md rename to content/learn/book/getting-started/bevy-community.md index 6992a57a69..503f882e81 100644 --- a/content/learn/book/getting-started/bevy-community/_index.md +++ b/content/learn/book/getting-started/bevy-community.md @@ -1,7 +1,6 @@ +++ title = "The Bevy Community" -weight = 5 -template = "docs-section.html" [extra] +weight = 5 status = 'hidden' +++ diff --git a/content/learn/book/getting-started/installation/_index.md b/content/learn/book/getting-started/installation.md similarity index 72% rename from content/learn/book/getting-started/installation/_index.md rename to content/learn/book/getting-started/installation.md index 6b1e8674f5..00b1a80a59 100644 --- a/content/learn/book/getting-started/installation/_index.md +++ b/content/learn/book/getting-started/installation.md @@ -1,7 +1,6 @@ +++ title = "Installing Rust and Bevy" -weight = 2 -template = "docs-section.html" [extra] +weight = 2 status = 'hidden' +++ diff --git a/content/learn/book/getting-started/modular-plugins/_index.md b/content/learn/book/getting-started/modular-plugins.md similarity index 74% rename from content/learn/book/getting-started/modular-plugins/_index.md rename to content/learn/book/getting-started/modular-plugins.md index 8f27e9c175..5361b535ba 100644 --- a/content/learn/book/getting-started/modular-plugins/_index.md +++ b/content/learn/book/getting-started/modular-plugins.md @@ -1,7 +1,6 @@ +++ title = "Plugins as Modular Building Blocks" -weight = 4 -template = "docs-section.html" [extra] +weight = 4 status = 'hidden' +++ diff --git a/content/learn/book/getting-started/why-bevy/_index.md b/content/learn/book/getting-started/why-bevy.md similarity index 67% rename from content/learn/book/getting-started/why-bevy/_index.md rename to content/learn/book/getting-started/why-bevy.md index 0e07328d48..6253afce25 100644 --- a/content/learn/book/getting-started/why-bevy/_index.md +++ b/content/learn/book/getting-started/why-bevy.md @@ -1,7 +1,6 @@ +++ title = "Why Bevy?" -weight = 1 -template = "docs-section.html" [extra] +weight = 1 status = 'hidden' +++ diff --git a/content/learn/book/graphics/2d/_index.md b/content/learn/book/graphics/2d/_index.md index 771221f48a..e1a87d5465 100644 --- a/content/learn/book/graphics/2d/_index.md +++ b/content/learn/book/graphics/2d/_index.md @@ -1,11 +1,9 @@ +++ title = "2D" -weight = 5 -sort_by = "weight" template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 5 status = 'hidden' +++ diff --git a/content/learn/book/graphics/2d/sprite-sheets/_index.md b/content/learn/book/graphics/2d/sprite-sheets.md similarity index 69% rename from content/learn/book/graphics/2d/sprite-sheets/_index.md rename to content/learn/book/graphics/2d/sprite-sheets.md index acfff36b4c..6f1ad74c73 100644 --- a/content/learn/book/graphics/2d/sprite-sheets/_index.md +++ b/content/learn/book/graphics/2d/sprite-sheets.md @@ -1,11 +1,8 @@ +++ title = "Sprite Sheets" -weight = 2 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 2 status = 'hidden' +++ diff --git a/content/learn/book/graphics/2d/sprites/_index.md b/content/learn/book/graphics/2d/sprites.md similarity index 65% rename from content/learn/book/graphics/2d/sprites/_index.md rename to content/learn/book/graphics/2d/sprites.md index 5caa45223f..116a0e22e0 100644 --- a/content/learn/book/graphics/2d/sprites/_index.md +++ b/content/learn/book/graphics/2d/sprites.md @@ -1,11 +1,8 @@ +++ title = "Sprites" -weight = 1 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 1 status = 'hidden' +++ diff --git a/content/learn/book/graphics/3d/_index.md b/content/learn/book/graphics/3d/_index.md index ba40162827..be501d771b 100644 --- a/content/learn/book/graphics/3d/_index.md +++ b/content/learn/book/graphics/3d/_index.md @@ -1,11 +1,9 @@ +++ title = "3D" -weight = 6 -sort_by = "weight" template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 6 status = 'hidden' +++ diff --git a/content/learn/book/graphics/3d/meshes/_index.md b/content/learn/book/graphics/3d/meshes.md similarity index 69% rename from content/learn/book/graphics/3d/meshes/_index.md rename to content/learn/book/graphics/3d/meshes.md index 1b1308abf5..13c09912b9 100644 --- a/content/learn/book/graphics/3d/meshes/_index.md +++ b/content/learn/book/graphics/3d/meshes.md @@ -1,11 +1,8 @@ +++ title = "Meshes" -weight = 1 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 1 status = 'hidden' +++ diff --git a/content/learn/book/graphics/3d/pbr/_index.md b/content/learn/book/graphics/3d/pbr.md similarity index 71% rename from content/learn/book/graphics/3d/pbr/_index.md rename to content/learn/book/graphics/3d/pbr.md index e02c8930c9..1b77dfed00 100644 --- a/content/learn/book/graphics/3d/pbr/_index.md +++ b/content/learn/book/graphics/3d/pbr.md @@ -1,11 +1,8 @@ +++ title = "Physically-Based Rendering" -weight = 2 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 2 status = 'hidden' +++ diff --git a/content/learn/book/graphics/_index.md b/content/learn/book/graphics/_index.md index f814c31221..26feb53ad9 100644 --- a/content/learn/book/graphics/_index.md +++ b/content/learn/book/graphics/_index.md @@ -1,11 +1,9 @@ +++ title = "Graphics" -weight = 4 -sort_by = "weight" template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 4 status = 'hidden' +++ diff --git a/content/learn/book/graphics/cameras/_index.md b/content/learn/book/graphics/cameras.md similarity index 75% rename from content/learn/book/graphics/cameras/_index.md rename to content/learn/book/graphics/cameras.md index 52bcaf853d..a9eabfb434 100644 --- a/content/learn/book/graphics/cameras/_index.md +++ b/content/learn/book/graphics/cameras.md @@ -1,11 +1,8 @@ +++ title = "Cameras" -weight = 2 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 2 status = 'hidden' +++ diff --git a/content/learn/book/graphics/parent-child-hierarchy/_index.md b/content/learn/book/graphics/parent-child-hierarchy.md similarity index 75% rename from content/learn/book/graphics/parent-child-hierarchy/_index.md rename to content/learn/book/graphics/parent-child-hierarchy.md index 37d95d90db..5679fa403d 100644 --- a/content/learn/book/graphics/parent-child-hierarchy/_index.md +++ b/content/learn/book/graphics/parent-child-hierarchy.md @@ -1,11 +1,8 @@ +++ title = "Parent-Child Hierarchy" -weight = 3 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 3 status = 'hidden' +++ diff --git a/content/learn/book/graphics/rendering-internals/_index.md b/content/learn/book/graphics/rendering-internals/_index.md index c7de330bf5..d30e3d762b 100644 --- a/content/learn/book/graphics/rendering-internals/_index.md +++ b/content/learn/book/graphics/rendering-internals/_index.md @@ -1,11 +1,9 @@ +++ title = "Rendering Internals" -weight = 7 -sort_by = "weight" template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 7 status = 'hidden' +++ diff --git a/content/learn/book/graphics/rendering-internals/shader-basics/_index.md b/content/learn/book/graphics/rendering-internals/shader-basics.md similarity index 70% rename from content/learn/book/graphics/rendering-internals/shader-basics/_index.md rename to content/learn/book/graphics/rendering-internals/shader-basics.md index dda6b04a21..34d8dfcde1 100644 --- a/content/learn/book/graphics/rendering-internals/shader-basics/_index.md +++ b/content/learn/book/graphics/rendering-internals/shader-basics.md @@ -1,11 +1,8 @@ +++ title = "Shader Basics" -weight = 1 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 1 status = 'hidden' +++ diff --git a/content/learn/book/graphics/transforms/_index.md b/content/learn/book/graphics/transforms.md similarity index 74% rename from content/learn/book/graphics/transforms/_index.md rename to content/learn/book/graphics/transforms.md index 92b7e3aae2..2f2de61ed8 100644 --- a/content/learn/book/graphics/transforms/_index.md +++ b/content/learn/book/graphics/transforms.md @@ -1,11 +1,8 @@ +++ title = "The Transform Component Controls Position" -weight = 1 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 1 status = 'hidden' +++ diff --git a/content/learn/book/graphics/windows/_index.md b/content/learn/book/graphics/windows.md similarity index 79% rename from content/learn/book/graphics/windows/_index.md rename to content/learn/book/graphics/windows.md index 2057904ef5..1b33f27f2b 100644 --- a/content/learn/book/graphics/windows/_index.md +++ b/content/learn/book/graphics/windows.md @@ -1,11 +1,8 @@ +++ title = "Configuring Your Window(s)" -weight = 4 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 4 status = 'hidden' +++ diff --git a/content/learn/book/input/_index.md b/content/learn/book/input/_index.md index 01d7fb16b0..84dbc7bea1 100644 --- a/content/learn/book/input/_index.md +++ b/content/learn/book/input/_index.md @@ -1,11 +1,9 @@ +++ title = "Input" -weight = 6 -sort_by = "weight" template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 6 status = 'hidden' +++ diff --git a/content/learn/book/input/gamepad/_index.md b/content/learn/book/input/gamepad.md similarity index 70% rename from content/learn/book/input/gamepad/_index.md rename to content/learn/book/input/gamepad.md index e1c3598e52..0c07a547a2 100644 --- a/content/learn/book/input/gamepad/_index.md +++ b/content/learn/book/input/gamepad.md @@ -1,11 +1,8 @@ +++ title = "Gamepad Input" -weight = 5 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 5 status = 'hidden' +++ diff --git a/content/learn/book/input/basics/_index.md b/content/learn/book/input/input-basics.md similarity index 81% rename from content/learn/book/input/basics/_index.md rename to content/learn/book/input/input-basics.md index 8017d962bf..2a396cdd0c 100644 --- a/content/learn/book/input/basics/_index.md +++ b/content/learn/book/input/input-basics.md @@ -1,11 +1,8 @@ +++ title = "Input Basics" -weight = 1 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 1 status = 'hidden' +++ diff --git a/content/learn/book/input/keyboard/_index.md b/content/learn/book/input/keyboard.md similarity index 72% rename from content/learn/book/input/keyboard/_index.md rename to content/learn/book/input/keyboard.md index 300e082de4..4f41c374cc 100644 --- a/content/learn/book/input/keyboard/_index.md +++ b/content/learn/book/input/keyboard.md @@ -1,11 +1,8 @@ +++ title = "Keyboard Input" -weight = 2 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 2 status = 'hidden' +++ diff --git a/content/learn/book/input/mouse/_index.md b/content/learn/book/input/mouse.md similarity index 77% rename from content/learn/book/input/mouse/_index.md rename to content/learn/book/input/mouse.md index fd7a1f9332..54aad4ca7f 100644 --- a/content/learn/book/input/mouse/_index.md +++ b/content/learn/book/input/mouse.md @@ -1,11 +1,8 @@ +++ title = "Mouse Input" -weight = 3 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 3 status = 'hidden' +++ diff --git a/content/learn/book/input/touch/_index.md b/content/learn/book/input/touch.md similarity index 72% rename from content/learn/book/input/touch/_index.md rename to content/learn/book/input/touch.md index 125beced15..11be760b22 100644 --- a/content/learn/book/input/touch/_index.md +++ b/content/learn/book/input/touch.md @@ -1,11 +1,8 @@ +++ title = "Touch Input" -weight = 4 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 4 status = 'hidden' +++ diff --git a/content/learn/book/performance-optimizations/_index.md b/content/learn/book/performance-optimizations/_index.md index adb257fa17..8acfaa69e6 100644 --- a/content/learn/book/performance-optimizations/_index.md +++ b/content/learn/book/performance-optimizations/_index.md @@ -1,10 +1,9 @@ +++ title = "Performance Optimizations" -weight = 10 template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 10 status = 'hidden' +++ diff --git a/content/learn/book/performance-optimizations/component-storage/_index.md b/content/learn/book/performance-optimizations/component-storage.md similarity index 80% rename from content/learn/book/performance-optimizations/component-storage/_index.md rename to content/learn/book/performance-optimizations/component-storage.md index 0a6f68fdeb..0adb089fbe 100644 --- a/content/learn/book/performance-optimizations/component-storage/_index.md +++ b/content/learn/book/performance-optimizations/component-storage.md @@ -1,10 +1,8 @@ +++ title = "Component Storage Types" -weight = 4 -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 4 status = 'hidden' +++ diff --git a/content/learn/book/performance-optimizations/diagnostics-benchmarking/_index.md b/content/learn/book/performance-optimizations/diagnostics-benchmarking.md similarity index 80% rename from content/learn/book/performance-optimizations/diagnostics-benchmarking/_index.md rename to content/learn/book/performance-optimizations/diagnostics-benchmarking.md index 849c7fb3c7..33b21a4f11 100644 --- a/content/learn/book/performance-optimizations/diagnostics-benchmarking/_index.md +++ b/content/learn/book/performance-optimizations/diagnostics-benchmarking.md @@ -1,10 +1,8 @@ +++ title = "Diagnostics and Benchmarking" -weight = 1 -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 1 status = 'hidden' +++ diff --git a/content/learn/book/performance-optimizations/indexes/_index.md b/content/learn/book/performance-optimizations/indexes.md similarity index 87% rename from content/learn/book/performance-optimizations/indexes/_index.md rename to content/learn/book/performance-optimizations/indexes.md index befe6e5bbb..35670892a4 100644 --- a/content/learn/book/performance-optimizations/indexes/_index.md +++ b/content/learn/book/performance-optimizations/indexes.md @@ -1,10 +1,8 @@ +++ title = "Custom \"Indexing\" Patterns" -weight = 3 -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 3 status = 'hidden' +++ diff --git a/content/learn/book/performance-optimizations/parallel-iteration/_index.md b/content/learn/book/performance-optimizations/parallel-iteration.md similarity index 86% rename from content/learn/book/performance-optimizations/parallel-iteration/_index.md rename to content/learn/book/performance-optimizations/parallel-iteration.md index 3de634e6d6..f2a8cf404a 100644 --- a/content/learn/book/performance-optimizations/parallel-iteration/_index.md +++ b/content/learn/book/performance-optimizations/parallel-iteration.md @@ -1,10 +1,8 @@ +++ title = "Parallel Iteration" -weight = 2 -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 2 status = 'hidden' +++ diff --git a/content/learn/book/platforms/_index.md b/content/learn/book/platforms/_index.md index 6c8c75bfca..f20ca61818 100644 --- a/content/learn/book/platforms/_index.md +++ b/content/learn/book/platforms/_index.md @@ -1,10 +1,9 @@ +++ title = "Platforms" -weight = 11 template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 11 status = 'hidden' +++ diff --git a/content/learn/book/platforms/android/_index.md b/content/learn/book/platforms/android.md similarity index 74% rename from content/learn/book/platforms/android/_index.md rename to content/learn/book/platforms/android.md index 552a8f90ba..ea47cd8aae 100644 --- a/content/learn/book/platforms/android/_index.md +++ b/content/learn/book/platforms/android.md @@ -1,10 +1,8 @@ +++ title = "Android" -weight = 1 -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 1 status = 'hidden' +++ diff --git a/content/learn/book/platforms/ios/_index.md b/content/learn/book/platforms/ios.md similarity index 73% rename from content/learn/book/platforms/ios/_index.md rename to content/learn/book/platforms/ios.md index 0a908942e0..9d993dd3a1 100644 --- a/content/learn/book/platforms/ios/_index.md +++ b/content/learn/book/platforms/ios.md @@ -1,10 +1,8 @@ +++ title = "iOS" -weight = 2 -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 2 status = 'hidden' +++ diff --git a/content/learn/book/platforms/web/_index.md b/content/learn/book/platforms/web.md similarity index 81% rename from content/learn/book/platforms/web/_index.md rename to content/learn/book/platforms/web.md index 7a74fcf03f..1104f01361 100644 --- a/content/learn/book/platforms/web/_index.md +++ b/content/learn/book/platforms/web.md @@ -1,10 +1,8 @@ +++ title = "Web" -weight = 3 -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 3 status = 'hidden' +++ diff --git a/content/learn/book/plugin-development/_index.md b/content/learn/book/plugin-development/_index.md index dd3487924b..e3a832af0b 100644 --- a/content/learn/book/plugin-development/_index.md +++ b/content/learn/book/plugin-development/_index.md @@ -1,10 +1,10 @@ +++ title = "Building Bevy's Ecosystem" -weight = 5 sort_by = "weight" template = "docs-section.html" page_template = "docs-section.html" [extra] +weight = 5 status = 'hidden' +++ diff --git a/content/learn/book/ui/_index.md b/content/learn/book/ui/_index.md index 5216e3788b..efb8570d36 100644 --- a/content/learn/book/ui/_index.md +++ b/content/learn/book/ui/_index.md @@ -1,11 +1,9 @@ +++ title = "User Interfaces" -weight = 8 -sort_by = "weight" template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 8 status = 'hidden' +++ diff --git a/content/learn/book/ui/basics/_index.md b/content/learn/book/ui/ui-basics.md similarity index 88% rename from content/learn/book/ui/basics/_index.md rename to content/learn/book/ui/ui-basics.md index abdb24fdff..a7f07a01ea 100644 --- a/content/learn/book/ui/basics/_index.md +++ b/content/learn/book/ui/ui-basics.md @@ -1,11 +1,8 @@ +++ title = "User Interface Basics" -weight = 1 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = 1 status = 'hidden' +++ diff --git a/content/learn/migration-guides/0.10-0.11/_index.md b/content/learn/migration-guides/0.10-to-0.11.md similarity index 99% rename from content/learn/migration-guides/0.10-0.11/_index.md rename to content/learn/migration-guides/0.10-to-0.11.md index 396c2b090d..9fc2918bd4 100644 --- a/content/learn/migration-guides/0.10-0.11/_index.md +++ b/content/learn/migration-guides/0.10-to-0.11.md @@ -1,13 +1,10 @@ +++ title = "0.10 to 0.11" -weight = 6 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" -aliases = ["learn/migration-guides/0.10-0.11"] +aliases = ["/learn/migration-guides/0.10-0.11"] [extra] long_title = "Migration Guide: 0.10 to 0.11" +weight = 6 +++ Bevy relies heavily on improvements in the Rust language and compiler. diff --git a/content/learn/migration-guides/0.11-0.12/_index.md b/content/learn/migration-guides/0.11-to-0.12.md similarity index 99% rename from content/learn/migration-guides/0.11-0.12/_index.md rename to content/learn/migration-guides/0.11-to-0.12.md index 7c7e7cf1d2..2106b6c74b 100644 --- a/content/learn/migration-guides/0.11-0.12/_index.md +++ b/content/learn/migration-guides/0.11-to-0.12.md @@ -1,13 +1,10 @@ +++ title = "0.11 to 0.12" -weight = 7 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" -aliases = ["learn/migration-guides/0.11-0.12"] +aliases = ["/learn/migration-guides/0.11-0.12"] [extra] long_title = "Migration Guide: 0.11 to 0.12" +weight = 7 +++ Bevy relies heavily on improvements in the Rust language and compiler. diff --git a/content/learn/migration-guides/0.4-0.5/_index.md b/content/learn/migration-guides/0.4-to-0.5.md similarity index 99% rename from content/learn/migration-guides/0.4-0.5/_index.md rename to content/learn/migration-guides/0.4-to-0.5.md index e906ff529b..83dd137947 100644 --- a/content/learn/migration-guides/0.4-0.5/_index.md +++ b/content/learn/migration-guides/0.4-to-0.5.md @@ -1,11 +1,10 @@ +++ title = "0.4 to 0.5" -weight = 0 -template = "docs-section.html" insert_anchor_links = "right" -aliases = ["learn/book/migration-guides/0.4-0.5"] +aliases = ["learn/book/migration-guides/0.4-0.5", "/learn/migration-guides/0.4-0.5"] [extra] long_title = "Migration Guide: 0.4 to 0.5" +weight = 0 +++ diff --git a/content/learn/migration-guides/0.5-0.6/_index.md b/content/learn/migration-guides/0.5-to-0.6.md similarity index 99% rename from content/learn/migration-guides/0.5-0.6/_index.md rename to content/learn/migration-guides/0.5-to-0.6.md index 8408d4c8aa..5bdf3dd5db 100644 --- a/content/learn/migration-guides/0.5-0.6/_index.md +++ b/content/learn/migration-guides/0.5-to-0.6.md @@ -1,11 +1,10 @@ +++ title = "0.5 to 0.6" -weight = 1 -template = "docs-section.html" insert_anchor_links = "right" -aliases = ["learn/book/migration-guides/0.5-0.6"] +aliases = ["learn/book/migration-guides/0.5-0.6", "/learn/migration-guides/0.5-0.6"] [extra] long_title = "Migration Guide: 0.5 to 0.6" +weight = 1 +++ ### Rust 2021 now required diff --git a/content/learn/migration-guides/0.6-0.7/_index.md b/content/learn/migration-guides/0.6-to-0.7.md similarity index 99% rename from content/learn/migration-guides/0.6-0.7/_index.md rename to content/learn/migration-guides/0.6-to-0.7.md index df28cbfffd..7a721f694c 100644 --- a/content/learn/migration-guides/0.6-0.7/_index.md +++ b/content/learn/migration-guides/0.6-to-0.7.md @@ -1,11 +1,10 @@ +++ title = "0.6 to 0.7" -weight = 2 -template = "docs-section.html" insert_anchor_links = "right" -aliases = ["learn/book/migration-guides/0.6-0.7"] +aliases = ["learn/book/migration-guides/0.6-0.7", "/learn/migration-guides/0.6-0.7"] [extra] long_title = "Migration Guide: 0.6 to 0.7" +weight = 2 +++ diff --git a/content/learn/migration-guides/0.7-0.8/_index.md b/content/learn/migration-guides/0.7-to-0.8.md similarity index 99% rename from content/learn/migration-guides/0.7-0.8/_index.md rename to content/learn/migration-guides/0.7-to-0.8.md index 2d60ebdc45..9cd78ffc70 100644 --- a/content/learn/migration-guides/0.7-0.8/_index.md +++ b/content/learn/migration-guides/0.7-to-0.8.md @@ -1,11 +1,10 @@ +++ title = "0.7 to 0.8" -weight = 3 -template = "docs-section.html" insert_anchor_links = "right" -aliases = ["learn/book/migration-guides/0.7-0.8"] +aliases = ["learn/book/migration-guides/0.7-0.8", "/learn/migration-guides/0.7-0.8"] [extra] long_title = "Migration Guide: 0.7 to 0.8" +weight = 3 +++ Before migrating make sure to run `rustup update` diff --git a/content/learn/migration-guides/0.8-0.9/_index.md b/content/learn/migration-guides/0.8-to-0.9.md similarity index 99% rename from content/learn/migration-guides/0.8-0.9/_index.md rename to content/learn/migration-guides/0.8-to-0.9.md index 6b6bf8cfd4..9bfce6b0d6 100644 --- a/content/learn/migration-guides/0.8-0.9/_index.md +++ b/content/learn/migration-guides/0.8-to-0.9.md @@ -1,11 +1,10 @@ +++ title = "0.8 to 0.9" -weight = 4 -template = "docs-section.html" insert_anchor_links = "right" -aliases = ["learn/book/migration-guides/0.8-0.9"] +aliases = ["learn/book/migration-guides/0.8-0.9", "/learn/migration-guides/0.8-0.9"] [extra] long_title = "Migration Guide: 0.8 to 0.9" +weight = 4 +++ Before migrating make sure to run rustup update diff --git a/content/learn/migration-guides/0.9-0.10/_index.md b/content/learn/migration-guides/0.9-to-0.10.md similarity index 99% rename from content/learn/migration-guides/0.9-0.10/_index.md rename to content/learn/migration-guides/0.9-to-0.10.md index 1d28c4fbe5..c485b4ecc1 100644 --- a/content/learn/migration-guides/0.9-0.10/_index.md +++ b/content/learn/migration-guides/0.9-to-0.10.md @@ -1,11 +1,10 @@ +++ title = "0.9 to 0.10" -weight = 5 -template = "docs-section.html" insert_anchor_links = "right" -aliases = ["learn/book/migration-guides/0.9-0.10"] +aliases = ["learn/book/migration-guides/0.9-0.10", "/learn/migration-guides/0.9-0.10"] [extra] long_title = "Migration Guide: 0.9 to 0.10" +weight = 5 +++ Bevy relies heavily on improvements in the Rust language and compiler. diff --git a/content/learn/migration-guides/_index.md b/content/learn/migration-guides/_index.md index 1238021729..8b7d186109 100644 --- a/content/learn/migration-guides/_index.md +++ b/content/learn/migration-guides/_index.md @@ -1,8 +1,7 @@ +++ title = "Migration Guides" -sort_by = "weight" -page_template = "docs-section.html" +page_template = "docs-page.html" redirect_to = "learn/migration-guides/introduction" aliases = ["learn/book/migration-guides"] insert_anchor_links = "right" -+++ \ No newline at end of file ++++ diff --git a/content/learn/migration-guides/introduction/_index.md b/content/learn/migration-guides/introduction.md similarity index 92% rename from content/learn/migration-guides/introduction/_index.md rename to content/learn/migration-guides/introduction.md index 36a9bf2061..6e31571848 100644 --- a/content/learn/migration-guides/introduction/_index.md +++ b/content/learn/migration-guides/introduction.md @@ -1,9 +1,9 @@ +++ title = "Introduction" -weight = 8 -template = "docs-section.html" insert_anchor_links = "right" aliases = ["learn/book/migration-guides/introduction"] +[extra] +weight = 8 +++ Bevy is still in the "experimentation phase", which means each release has its fair share of breaking changes. We provide migration guides for major releases to help users migrate their apps to the latest and greatest Bevy release. diff --git a/content/learn/quick-start/3d-puzzle-game/_index.md b/content/learn/quick-start/3d-puzzle-game/_index.md index 4c133940c0..b24d84f170 100644 --- a/content/learn/quick-start/3d-puzzle-game/_index.md +++ b/content/learn/quick-start/3d-puzzle-game/_index.md @@ -1,7 +1,8 @@ +++ title = "3D Puzzle Game" -weight = 3 template = "docs-section.html" [extra] +weight = 3 public_draft = 877 +status = "hidden" +++ diff --git a/content/learn/quick-start/_index.md b/content/learn/quick-start/_index.md index 8e999dee66..930adf0004 100644 --- a/content/learn/quick-start/_index.md +++ b/content/learn/quick-start/_index.md @@ -1,7 +1,7 @@ +++ title = "Quick Start" template = "docs-section.html" -weight = 1 +page_template = "docs-page.html" redirect_to = "/learn/quick-start/introduction" aliases = ["/learn/book/quick-start"] +++ diff --git a/content/learn/quick-start/breakout/_index.md b/content/learn/quick-start/breakout/_index.md index abb5798b2f..c0c61e0177 100644 --- a/content/learn/quick-start/breakout/_index.md +++ b/content/learn/quick-start/breakout/_index.md @@ -1,7 +1,8 @@ +++ title = "Breakout" -weight = 1 template = "docs-section.html" [extra] +weight = 1 public_draft = 877 +status = "hidden" +++ diff --git a/content/learn/quick-start/contributing/_index.md b/content/learn/quick-start/contributing/_index.md index 6518c3d024..dad436d70a 100644 --- a/content/learn/quick-start/contributing/_index.md +++ b/content/learn/quick-start/contributing/_index.md @@ -1,13 +1,11 @@ +++ title = "Contributing" -weight = 4 -sort_by = "weight" template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" aliases = ["learn/book/contributing"] [extra] subtitle = "join the bevy" +weight = 4 +++ Bevy is built by volunteers. If you want to help us build the next great game engine, [please reach out](/community)! We need all the help we can get: diff --git a/content/learn/quick-start/contributing/code/_index.md b/content/learn/quick-start/contributing/code.md similarity index 93% rename from content/learn/quick-start/contributing/code/_index.md rename to content/learn/quick-start/contributing/code.md index 17474878c6..1bff1cb277 100644 --- a/content/learn/quick-start/contributing/code/_index.md +++ b/content/learn/quick-start/contributing/code.md @@ -1,13 +1,10 @@ +++ title = "Code" -weight = 1 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" aliases = ["learn/book/contributing/code"] [extra] long_title = "Contributing Code" +weight = 1 +++ Would you like to contribute code to Bevy? Here's how! diff --git a/content/learn/quick-start/contributing/docs/_index.md b/content/learn/quick-start/contributing/docs.md similarity index 95% rename from content/learn/quick-start/contributing/docs/_index.md rename to content/learn/quick-start/contributing/docs.md index 26aaf31324..f9d8232f8e 100644 --- a/content/learn/quick-start/contributing/docs/_index.md +++ b/content/learn/quick-start/contributing/docs.md @@ -1,13 +1,10 @@ +++ title = "Docs" -weight = 2 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" aliases = ["learn/book/contributing/docs"] [extra] long_title = "Contributing Docs" +weight = 2 +++ ## The Bevy Book diff --git a/content/learn/quick-start/falling-sand/_index.md b/content/learn/quick-start/falling-sand/_index.md index 23dc688dc4..5e5104548f 100644 --- a/content/learn/quick-start/falling-sand/_index.md +++ b/content/learn/quick-start/falling-sand/_index.md @@ -1,7 +1,8 @@ +++ title = "Falling Sand" -weight = 2 template = "docs-section.html" [extra] +weight = 2 public_draft = 877 +status = "hidden" +++ diff --git a/content/learn/quick-start/getting-started/_index.md b/content/learn/quick-start/getting-started/_index.md index 8271c6ab12..6f76c2ecc7 100644 --- a/content/learn/quick-start/getting-started/_index.md +++ b/content/learn/quick-start/getting-started/_index.md @@ -1,11 +1,10 @@ +++ title = "Getting Started" -weight = 2 -sort_by = "weight" template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" aliases = ["learn/book/getting-started"] +[extra] +weight = 2 +++ This section will help you get started on your Bevy journey as quickly as possible. It will walk you through setting up your development environment and writing a simple Bevy app. diff --git a/content/learn/quick-start/getting-started/apps/_index.md b/content/learn/quick-start/getting-started/apps.md similarity index 96% rename from content/learn/quick-start/getting-started/apps/_index.md rename to content/learn/quick-start/getting-started/apps.md index 64f9db3e3a..c748f67fdd 100644 --- a/content/learn/quick-start/getting-started/apps/_index.md +++ b/content/learn/quick-start/getting-started/apps.md @@ -1,11 +1,9 @@ +++ title = "Apps" -weight = 2 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" aliases = ["learn/book/getting-started/apps"] +[extra] +weight = 2 +++ Bevy programs are referred to as [`App`]s. The simplest Bevy app looks like this: diff --git a/content/learn/quick-start/getting-started/ecs/_index.md b/content/learn/quick-start/getting-started/ecs.md similarity index 98% rename from content/learn/quick-start/getting-started/ecs/_index.md rename to content/learn/quick-start/getting-started/ecs.md index 0d785aff43..2575f6e360 100644 --- a/content/learn/quick-start/getting-started/ecs/_index.md +++ b/content/learn/quick-start/getting-started/ecs.md @@ -1,11 +1,9 @@ +++ title = "ECS" -weight = 3 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" aliases = ["learn/book/getting-started/ecs"] +[extra] +weight = 3 +++ All app logic in Bevy uses the Entity Component System paradigm, which is often shortened to ECS. ECS is a software pattern that involves breaking your program up into **Entities**, **Components**, and **Systems**. **Entities** are unique "things" that are assigned groups of **Components**, which are then processed using **Systems**. diff --git a/content/learn/quick-start/getting-started/plugins/_index.md b/content/learn/quick-start/getting-started/plugins.md similarity index 98% rename from content/learn/quick-start/getting-started/plugins/_index.md rename to content/learn/quick-start/getting-started/plugins.md index 8482f3c755..dd4ce229b0 100644 --- a/content/learn/quick-start/getting-started/plugins/_index.md +++ b/content/learn/quick-start/getting-started/plugins.md @@ -1,11 +1,9 @@ +++ title = "Plugins" -weight = 4 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" aliases = ["learn/book/getting-started/plugins"] +[extra] +weight = 4 +++ One of Bevy's core principles is modularity. All Bevy engine features are implemented as plugins---collections of code that modify [`App`]s. This includes internal features like the renderer, but games themselves are also implemented as plugins! This empowers developers to pick and choose which features they want. Don't need a UI? Don't register the [`UiPlugin`]. Want to build a headless server? Don't register the [`RenderPlugin`]. diff --git a/content/learn/quick-start/getting-started/resources/_index.md b/content/learn/quick-start/getting-started/resources.md similarity index 97% rename from content/learn/quick-start/getting-started/resources/_index.md rename to content/learn/quick-start/getting-started/resources.md index b59e85cc52..85e68e1be0 100644 --- a/content/learn/quick-start/getting-started/resources/_index.md +++ b/content/learn/quick-start/getting-started/resources.md @@ -1,11 +1,9 @@ +++ title = "Resources" -weight = 5 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" aliases = ["learn/book/getting-started/resources"] +[extra] +weight = 5 +++ **[`Entities`]** and **[`Component`]s** are great for representing complex, query-able groups of data. But most Apps will also require "globally unique" data of some kind. In Bevy ECS, we represent globally unique data using **[`Resource`]s**. diff --git a/content/learn/quick-start/getting-started/setup/_index.md b/content/learn/quick-start/getting-started/setup.md similarity index 99% rename from content/learn/quick-start/getting-started/setup/_index.md rename to content/learn/quick-start/getting-started/setup.md index cb193c299c..1af8fbe0b1 100644 --- a/content/learn/quick-start/getting-started/setup/_index.md +++ b/content/learn/quick-start/getting-started/setup.md @@ -1,11 +1,9 @@ +++ title = "Setup" -weight = 1 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" aliases = ["learn/book/getting-started/setup"] +[extra] +weight = 1 +++ I know you are itching to start making games, but we need to do a _small_ amount of setup first. diff --git a/content/learn/quick-start/introduction/_index.md b/content/learn/quick-start/introduction.md similarity index 97% rename from content/learn/quick-start/introduction/_index.md rename to content/learn/quick-start/introduction.md index f2427230ac..f7f107c734 100644 --- a/content/learn/quick-start/introduction/_index.md +++ b/content/learn/quick-start/introduction.md @@ -1,11 +1,9 @@ +++ title = "Introduction" -weight = 1 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" aliases = ["learn/book/introduction"] +[extra] +weight = 1 +++ If you came here because you wanted to learn how to make 2D / 3D games, visualizations, user interfaces, or other graphical applications with Bevy... you came to the right place! If not, stick around anyway. I promise it will be fun. diff --git a/content/learn/quick-start/next-steps/_index.md b/content/learn/quick-start/next-steps.md similarity index 93% rename from content/learn/quick-start/next-steps/_index.md rename to content/learn/quick-start/next-steps.md index 8097f5d071..66d82128ad 100644 --- a/content/learn/quick-start/next-steps/_index.md +++ b/content/learn/quick-start/next-steps.md @@ -1,11 +1,9 @@ +++ title = "Next Steps" -weight = 12 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" aliases = ["learn/book/next-steps"] +[extra] +weight = 3 +++ You have reached the end of The Quick Start Guide! If you're hungry for more learning materials, we recommend checking out: diff --git a/content/learn/quick-start/plugin-development/_index.md b/content/learn/quick-start/plugin-development.md similarity index 99% rename from content/learn/quick-start/plugin-development/_index.md rename to content/learn/quick-start/plugin-development.md index 0d4bab0979..3775c17a91 100644 --- a/content/learn/quick-start/plugin-development/_index.md +++ b/content/learn/quick-start/plugin-development.md @@ -1,10 +1,8 @@ +++ title = "Building Bevy's Ecosystem" -weight = 5 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" aliases = ["learn/book/plugin-development"] +[extra] +weight = 5 +++ Bevy has a plug-and-play architecture, where you can easily add plugins for new features or use your own plugins instead of the built-in ones. You can also create third-party plugins that others may use in their applications. diff --git a/content/learn/quick-start/troubleshooting/_index.md b/content/learn/quick-start/troubleshooting.md similarity index 95% rename from content/learn/quick-start/troubleshooting/_index.md rename to content/learn/quick-start/troubleshooting.md index a0cff92fcf..1c5f486944 100644 --- a/content/learn/quick-start/troubleshooting/_index.md +++ b/content/learn/quick-start/troubleshooting.md @@ -1,11 +1,9 @@ +++ title = "Troubleshooting" -weight = 6 -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" aliases = ["learn/book/troubleshooting"] +[extra] +weight = 6 +++ Is something in Bevy not working as expected? Maybe one of these will resolve your problem: diff --git a/generate-release/src/migration_guide.rs b/generate-release/src/migration_guide.rs index c8a674991c..7b46858557 100644 --- a/generate-release/src/migration_guide.rs +++ b/generate-release/src/migration_guide.rs @@ -20,12 +20,9 @@ pub fn generate_migration_guide( &mut output, r#"+++ title = "{title}" -weight = {weight} -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] +weight = {weight} long_title = "Migration Guide: {title}" +++ diff --git a/templates/docs-base.html b/templates/docs-base.html new file mode 100644 index 0000000000..ccb04d18b0 --- /dev/null +++ b/templates/docs-base.html @@ -0,0 +1,161 @@ +{% extends "layouts/page-with-menu.html" %} +{% import "macros/docs.html" as docs_macros %} + +{% block head_extensions %} + {% set_global ancestor_is_public_draft = false %} + {% if section %} + {% for ancestor in section.ancestors %} + {% set ancestor_section = get_section(path=ancestor) %} + {% if not ancestor_is_public_draft and ancestor_section.extra and ancestor_section.extra.public_draft %} + {% set_global ancestor_is_public_draft = true %} + {% endif %} + {% endfor %} + {% if ancestor_is_public_draft or section and section.extra and section.extra.public_draft %} + + {% endif %} + {% elif page %} + {% for ancestor in page.ancestors %} + {% set ancestor_section = get_section(path=ancestor) %} + {% if not ancestor_is_public_draft and ancestor_section.extra and ancestor_section.extra.public_draft %} + {% set_global ancestor_is_public_draft = true %} + {% endif %} + {% endfor %} + {% if ancestor_is_public_draft or page and page.extra and page.extra.public_draft %} + + {% endif %} + {% endif %} + +{% endblock %} + +{% block mobile_page_menu %} + {% if section and section.components %} + {% set root_section_path = section.components | slice(end=2) | concat(with="_index.md") | join(sep="/") %} + {% elif page and page.components %} + {% set root_section_path = page.components | slice(end=2) | concat(with="_index.md") | join(sep="/") %} + {% endif %} + {{ docs_macros::docs_menu(prefix="mobile-menu", root=get_section(path=root_section_path)) }} +{% endblock %} + +{% block page_menu %} + {% if section and section.components %} + {% set root_section_path = section.components | slice(end=2) | concat(with="_index.md") | join(sep="/") %} + {% elif page and page.components %} + {% set root_section_path = page.components | slice(end=2) | concat(with="_index.md") | join(sep="/") %} + {% endif %} + {{ docs_macros::docs_menu(prefix="page-menu", root=get_section(path=root_section_path)) }} +{% endblock %} + +{% block page_content %} +