|
| 1 | +//! This crate is used to validate the rust code of the `bevy` website. |
| 2 | +//! |
| 3 | +//! It is currently used to validate the rust code of the offical `bevy` book. |
| 4 | +//! The modules represents the folder structure of the website. |
| 5 | +
|
| 6 | +mod learn { |
| 7 | + #[doc = include_str!("../../content/learn/book/_index.md")] |
| 8 | + mod book { |
| 9 | + #[doc = include_str!("../../content/learn/book/assets/_index.md")] |
| 10 | + mod assets { |
| 11 | + #[doc = include_str!("../../content/learn/book/assets/custom-assets/_index.md")] |
| 12 | + mod custom_assets {} |
| 13 | + #[doc = include_str!("../../content/learn/book/assets/hot-reloading/_index.md")] |
| 14 | + mod hot_reloading {} |
| 15 | + #[doc = include_str!("../../content/learn/book/assets/loading-assets/_index.md")] |
| 16 | + mod loading_assets {} |
| 17 | + #[doc = include_str!("../../content/learn/book/assets/scenes/_index.md")] |
| 18 | + mod scenes {} |
| 19 | + #[doc = include_str!("../../content/learn/book/assets/working-with-handles/_index.md")] |
| 20 | + mod working_with_handles {} |
| 21 | + } |
| 22 | + |
| 23 | + #[doc = include_str!("../../content/learn/book/audio/_index.md")] |
| 24 | + mod audio { |
| 25 | + #[doc = include_str!("../../content/learn/book/audio/audio-basics/_index.md")] |
| 26 | + mod audio_basics {} |
| 27 | + } |
| 28 | + |
| 29 | + #[doc = include_str!("../../content/learn/book/development-practices/_index.md")] |
| 30 | + mod development_practices { |
| 31 | + #[doc = include_str!("../../content/learn/book/development-practices/boilerplate-reduction/_index.md")] |
| 32 | + mod boilerplate_reduction {} |
| 33 | + #[doc = include_str!("../../content/learn/book/development-practices/error-handling/_index.md")] |
| 34 | + mod error_handling {} |
| 35 | + #[doc = include_str!("../../content/learn/book/development-practices/fast-compiles/_index.md")] |
| 36 | + mod fast_compiles {} |
| 37 | + #[doc = include_str!("../../content/learn/book/development-practices/organizing-your-code/_index.md")] |
| 38 | + mod organizing_your_code {} |
| 39 | + #[doc = include_str!("../../content/learn/book/development-practices/testing/_index.md")] |
| 40 | + mod testing {} |
| 41 | + } |
| 42 | + |
| 43 | + #[doc = include_str!("../../content/learn/book/ecs/_index.md")] |
| 44 | + mod ecs { |
| 45 | + #[doc = include_str!("../../content/learn/book/ecs/commands/_index.md")] |
| 46 | + mod commands {} |
| 47 | + #[doc = include_str!("../../content/learn/book/ecs/entities-components/_index.md")] |
| 48 | + mod entities_components {} |
| 49 | + #[doc = include_str!("../../content/learn/book/ecs/exclusive-world-access/_index.md")] |
| 50 | + mod exclusive_world_access {} |
| 51 | + #[doc = include_str!("../../content/learn/book/ecs/filtering-queries/_index.md")] |
| 52 | + mod filtering_queries {} |
| 53 | + #[doc = include_str!("../../content/learn/book/ecs/generic-systems/_index.md")] |
| 54 | + mod generic_systems {} |
| 55 | + #[doc = include_str!("../../content/learn/book/ecs/reliable-change-detection/_index.md")] |
| 56 | + mod reliable_change_detection {} |
| 57 | + #[doc = include_str!("../../content/learn/book/ecs/resources/_index.md")] |
| 58 | + mod resources {} |
| 59 | + #[doc = include_str!("../../content/learn/book/ecs/systems-queries/_index.md")] |
| 60 | + mod system_queries {} |
| 61 | + } |
| 62 | + |
| 63 | + #[doc = include_str!("../../content/learn/book/game-logic/_index.md")] |
| 64 | + mod game_logic { |
| 65 | + #[doc = include_str!("../../content/learn/book/game-logic/async-tasks/_index.md")] |
| 66 | + mod async_tasks {} |
| 67 | + #[doc = include_str!("../../content/learn/book/game-logic/custom-execution/_index.md")] |
| 68 | + mod custom_execution {} |
| 69 | + #[doc = include_str!("../../content/learn/book/game-logic/events/_index.md")] |
| 70 | + mod events {} |
| 71 | + #[doc = include_str!("../../content/learn/book/game-logic/run-criteria/_index.md")] |
| 72 | + mod run_criteria {} |
| 73 | + #[doc = include_str!("../../content/learn/book/game-logic/states/_index.md")] |
| 74 | + mod states {} |
| 75 | + #[doc = include_str!("../../content/learn/book/game-logic/system-ordering/_index.md")] |
| 76 | + mod system_ordering {} |
| 77 | + #[doc = include_str!("../../content/learn/book/game-logic/time/_index.md")] |
| 78 | + mod time {} |
| 79 | + } |
| 80 | + |
| 81 | + #[doc = include_str!("../../content/learn/book/graphics/_index.md")] |
| 82 | + mod graphics { |
| 83 | + #[doc = include_str!("../../content/learn/book/graphics/2d/_index.md")] |
| 84 | + mod two_dimensional { |
| 85 | + #[doc = include_str!("../../content/learn/book/graphics/2d/sprite-sheets/_index.md")] |
| 86 | + mod sprite_sheets {} |
| 87 | + #[doc = include_str!("../../content/learn/book/graphics/2d/sprites/_index.md")] |
| 88 | + mod sprites {} |
| 89 | + } |
| 90 | + #[doc = include_str!("../../content/learn/book/graphics/3d/_index.md")] |
| 91 | + mod three_dimensional { |
| 92 | + #[doc = include_str!("../../content/learn/book/graphics/3d/meshes/_index.md")] |
| 93 | + mod meshes {} |
| 94 | + #[doc = include_str!("../../content/learn/book/graphics/3d/pbr/_index.md")] |
| 95 | + mod pbr {} |
| 96 | + } |
| 97 | + #[doc = include_str!("../../content/learn/book/graphics/cameras/_index.md")] |
| 98 | + mod cameras {} |
| 99 | + #[doc = include_str!("../../content/learn/book/graphics/parent-child-hierarchy/_index.md")] |
| 100 | + mod parent_child_hierarchy {} |
| 101 | + #[doc = include_str!("../../content/learn/book/graphics/rendering-internals/_index.md")] |
| 102 | + mod rendering_internals { |
| 103 | + #[doc = include_str!("../../content/learn/book/graphics/rendering-internals/shader-basics/_index.md")] |
| 104 | + mod shader_basics {} |
| 105 | + } |
| 106 | + #[doc = include_str!("../../content/learn/book/graphics/transforms/_index.md")] |
| 107 | + mod transforms {} |
| 108 | + #[doc = include_str!("../../content/learn/book/graphics/windowing/_index.md")] |
| 109 | + mod windowing {} |
| 110 | + } |
| 111 | + |
| 112 | + #[doc = include_str!("../../content/learn/book/input/_index.md")] |
| 113 | + mod input { |
| 114 | + #[doc = include_str!("../../content/learn/book/input/gamepad/_index.md")] |
| 115 | + mod gamepad {} |
| 116 | + #[doc = include_str!("../../content/learn/book/input/input-basics/_index.md")] |
| 117 | + mod input_basics {} |
| 118 | + #[doc = include_str!("../../content/learn/book/input/keyboard/_index.md")] |
| 119 | + mod keyboard {} |
| 120 | + #[doc = include_str!("../../content/learn/book/input/mouse/_index.md")] |
| 121 | + mod mouse {} |
| 122 | + #[doc = include_str!("../../content/learn/book/input/touch/_index.md")] |
| 123 | + mod touch {} |
| 124 | + } |
| 125 | + |
| 126 | + // Not testing migration guides, because of breaking api changes. |
| 127 | + mod migration_guides {} |
| 128 | + |
| 129 | + #[doc = include_str!("../../content/learn/book/next-steps/_index.md")] |
| 130 | + mod next_steps {} |
| 131 | + |
| 132 | + #[doc = include_str!("../../content/learn/book/performance-optimizations/_index.md")] |
| 133 | + mod performance_optimizations { |
| 134 | + #[doc = include_str!("../../content/learn/book/performance-optimizations/component-storage/_index.md")] |
| 135 | + mod component_storage {} |
| 136 | + #[doc = include_str!("../../content/learn/book/performance-optimizations/diagnostics-benchmarking/_index.md")] |
| 137 | + mod diagnostics_benchmarking {} |
| 138 | + #[doc = include_str!("../../content/learn/book/performance-optimizations/indexes/_index.md")] |
| 139 | + mod indexes {} |
| 140 | + #[doc = include_str!("../../content/learn/book/performance-optimizations/parallel-iteration/_index.md")] |
| 141 | + mod parallel_iteration {} |
| 142 | + } |
| 143 | + |
| 144 | + #[doc = include_str!("../../content/learn/book/platforms/_index.md")] |
| 145 | + mod platforms { |
| 146 | + #[doc = include_str!("../../content/learn/book/platforms/android/_index.md")] |
| 147 | + mod android {} |
| 148 | + #[doc = include_str!("../../content/learn/book/platforms/ios/_index.md")] |
| 149 | + mod ios {} |
| 150 | + #[doc = include_str!("../../content/learn/book/platforms/web/_index.md")] |
| 151 | + mod web {} |
| 152 | + } |
| 153 | + |
| 154 | + #[doc = include_str!("../../content/learn/book/ui/_index.md")] |
| 155 | + mod ui { |
| 156 | + #[doc = include_str!("../../content/learn/book/ui/ui-basics/_index.md")] |
| 157 | + mod ui_basics {} |
| 158 | + } |
| 159 | + |
| 160 | + #[doc = include_str!("../../content/learn/book/welcome/_index.md")] |
| 161 | + mod welcome { |
| 162 | + #[doc = include_str!("../../content/learn/book/welcome/apps/_index.md")] |
| 163 | + mod apps {} |
| 164 | + #[doc = include_str!("../../content/learn/book/welcome/plugins/_index.md")] |
| 165 | + mod plugins {} |
| 166 | + #[doc = include_str!("../../content/learn/book/welcome/setup/_index.md")] |
| 167 | + mod setup {} |
| 168 | + } |
| 169 | + } |
| 170 | +} |
0 commit comments