From 79a4e8b43a4df03ed8db453df6d185afb7265762 Mon Sep 17 00:00:00 2001 From: pushfoo <36696816+pushfoo@users.noreply.github.com> Date: Fri, 19 Jul 2024 08:32:31 -0400 Subject: [PATCH 1/6] Fix example nav sidebar stickiness * Remove :orphan: from examples * Add hidden toctree with nasty alphabet globbing trick * Deepen sidebar nav to 4 --- doc/conf.py | 2 +- doc/example_code/array_backed_grid.rst | 2 -- .../array_backed_grid_buffered.rst | 2 -- .../array_backed_grid_sprites_1.rst | 2 -- .../array_backed_grid_sprites_2.rst | 2 -- doc/example_code/astar_pathfinding.rst | 2 -- doc/example_code/asteroid_smasher.rst | 2 -- doc/example_code/background_parallax.rst | 2 -- doc/example_code/bouncing_rectangle.rst | 2 -- doc/example_code/camera_platform.rst | 2 -- doc/example_code/controller.rst | 2 -- doc/example_code/conway_alpha.rst | 2 -- doc/example_code/drawing_primitives.rst | 2 -- doc/example_code/drawing_text.rst | 2 -- doc/example_code/drawing_text_objects.rst | 2 -- .../drawing_text_objects_batch.rst | 2 -- doc/example_code/dual_stick_shooter.rst | 2 -- doc/example_code/easing_example_1.rst | 2 -- doc/example_code/easing_example_2.rst | 2 -- doc/example_code/follow_path.rst | 2 -- doc/example_code/full_screen_example.rst | 2 -- doc/example_code/game_of_life_fbo.rst | 2 -- doc/example_code/gradients.rst | 2 -- doc/example_code/gui_flat_button.rst | 2 -- doc/example_code/gui_flat_button_styled.rst | 2 -- doc/example_code/gui_ok_messagebox.rst | 2 -- doc/example_code/gui_scrollable_text.rst | 2 -- doc/example_code/gui_slider.rst | 2 -- doc/example_code/gui_widgets.rst | 2 -- doc/example_code/happy_face.rst | 2 -- doc/example_code/index.rst | 29 +++++++++++++++++++ doc/example_code/light_demo.rst | 2 -- doc/example_code/line_of_sight.rst | 2 -- doc/example_code/lines_buffered.rst | 2 -- doc/example_code/maze_depth_first.rst | 2 -- doc/example_code/maze_recursive.rst | 2 -- doc/example_code/minimap.rst | 2 -- doc/example_code/music_control_demo.rst | 2 -- doc/example_code/normal_mapping.rst | 2 -- doc/example_code/particle_fireworks.rst | 2 -- doc/example_code/particle_systems.rst | 2 -- doc/example_code/performance_statistics.rst | 2 -- doc/example_code/perspective.rst | 2 -- doc/example_code/procedural_caves_bsp.rst | 2 -- .../procedural_caves_cellular.rst | 2 -- doc/example_code/pymunk_box_stacks.rst | 2 -- doc/example_code/pymunk_demo_top_down.rst | 2 -- doc/example_code/pymunk_joint_builder.rst | 2 -- doc/example_code/pymunk_pegboard.rst | 2 -- doc/example_code/radar_sweep.rst | 2 -- doc/example_code/resizable_window.rst | 2 -- doc/example_code/sections_demo_1.rst | 2 -- doc/example_code/sections_demo_2.rst | 2 -- doc/example_code/sections_demo_3.rst | 2 -- doc/example_code/shape_list_demo.rst | 2 -- doc/example_code/shape_list_demo_skylines.rst | 2 -- doc/example_code/shapes.rst | 2 -- doc/example_code/slime_invaders.rst | 2 -- doc/example_code/snow.rst | 2 -- doc/example_code/sound_demo.rst | 2 -- doc/example_code/sound_speed_demo.rst | 2 -- doc/example_code/sprite_bouncing_coins.rst | 2 -- doc/example_code/sprite_bullets.rst | 2 -- doc/example_code/sprite_bullets_aimed.rst | 2 -- .../sprite_bullets_enemy_aims.rst | 2 -- doc/example_code/sprite_bullets_periodic.rst | 2 -- doc/example_code/sprite_bullets_random.rst | 2 -- doc/example_code/sprite_change_coins.rst | 2 -- doc/example_code/sprite_collect_coins.rst | 2 -- .../sprite_collect_coins_background.rst | 2 -- .../sprite_collect_coins_diff_levels.rst | 2 -- .../sprite_collect_coins_move_bouncing.rst | 2 -- .../sprite_collect_coins_move_circle.rst | 2 -- .../sprite_collect_coins_move_down.rst | 2 -- doc/example_code/sprite_collect_rotating.rst | 2 -- .../sprite_enemies_in_platformer.rst | 2 -- .../sprite_explosion_bitmapped.rst | 2 -- .../sprite_explosion_particles.rst | 2 -- .../sprite_face_left_or_right.rst | 2 -- doc/example_code/sprite_follow_simple.rst | 2 -- doc/example_code/sprite_follow_simple_2.rst | 2 -- doc/example_code/sprite_health.rst | 2 -- doc/example_code/sprite_move_angle.rst | 2 -- doc/example_code/sprite_move_animation.rst | 2 -- doc/example_code/sprite_move_controller.rst | 2 -- doc/example_code/sprite_move_keyboard.rst | 2 -- .../sprite_move_keyboard_accel.rst | 2 -- .../sprite_move_keyboard_better.rst | 2 -- doc/example_code/sprite_move_scrolling.rst | 2 -- .../sprite_move_scrolling_box.rst | 2 -- .../sprite_move_scrolling_shake.rst | 2 -- doc/example_code/sprite_move_walls.rst | 2 -- doc/example_code/sprite_moving_platforms.rst | 2 -- doc/example_code/sprite_no_coins_on_walls.rst | 2 -- doc/example_code/sprite_properties.rst | 2 -- doc/example_code/sprite_rooms.rst | 2 -- .../sprite_rotate_around_point.rst | 2 -- .../sprite_rotate_around_tank.rst | 2 -- doc/example_code/sprite_tiled_map.rst | 2 -- .../sprite_tiled_map_with_levels.rst | 2 -- ...itelist_interaction_visualize_dist_los.rst | 2 -- doc/example_code/starting_template.rst | 2 -- doc/example_code/stress_test_collision.rst | 2 -- doc/example_code/stress_test_draw_moving.rst | 2 -- doc/example_code/template_platformer.rst | 2 -- doc/example_code/tetris.rst | 2 -- doc/example_code/text_loc_example.rst | 2 -- doc/example_code/timer.rst | 2 -- doc/example_code/transform_feedback.rst | 2 -- doc/example_code/transitions.rst | 2 -- doc/example_code/turn_and_move.rst | 2 -- .../view_instructions_and_game_over.rst | 2 -- doc/example_code/view_pause_screen.rst | 2 -- doc/example_code/view_screens_minimal.rst | 2 -- 114 files changed, 30 insertions(+), 225 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 021f7111d3..8fe86860d3 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -121,7 +121,7 @@ 'display_version': True, 'logo_only': False, 'sticky_navigation': True, - 'navigation_depth': 3, + 'navigation_depth': 4, 'collapse_navigation': False, } diff --git a/doc/example_code/array_backed_grid.rst b/doc/example_code/array_backed_grid.rst index fa7e25c267..dc4b4e89cd 100644 --- a/doc/example_code/array_backed_grid.rst +++ b/doc/example_code/array_backed_grid.rst @@ -1,5 +1,3 @@ -:orphan: - .. _array_backed_grid: Array-Backed Grid diff --git a/doc/example_code/array_backed_grid_buffered.rst b/doc/example_code/array_backed_grid_buffered.rst index a3c2611211..75b48561ac 100644 --- a/doc/example_code/array_backed_grid_buffered.rst +++ b/doc/example_code/array_backed_grid_buffered.rst @@ -1,5 +1,3 @@ -:orphan: - .. _array_backed_grid_buffered: Array-Backed Grid Buffered diff --git a/doc/example_code/array_backed_grid_sprites_1.rst b/doc/example_code/array_backed_grid_sprites_1.rst index a9db6b6cd7..0b54636e3c 100644 --- a/doc/example_code/array_backed_grid_sprites_1.rst +++ b/doc/example_code/array_backed_grid_sprites_1.rst @@ -1,5 +1,3 @@ -:orphan: - .. _array_backed_grid_sprites_1: Grid Using Sprites v1 diff --git a/doc/example_code/array_backed_grid_sprites_2.rst b/doc/example_code/array_backed_grid_sprites_2.rst index 0177f49c66..bb9669a184 100644 --- a/doc/example_code/array_backed_grid_sprites_2.rst +++ b/doc/example_code/array_backed_grid_sprites_2.rst @@ -1,5 +1,3 @@ -:orphan: - .. _array_backed_grid_sprites_2: Grid Using Sprites v2 diff --git a/doc/example_code/astar_pathfinding.rst b/doc/example_code/astar_pathfinding.rst index 1de8516b76..dd50b500bd 100644 --- a/doc/example_code/astar_pathfinding.rst +++ b/doc/example_code/astar_pathfinding.rst @@ -1,5 +1,3 @@ -:orphan: - .. _astar_pathfinding: A-Star Path Finding diff --git a/doc/example_code/asteroid_smasher.rst b/doc/example_code/asteroid_smasher.rst index b13bdf1fff..fd92f84f5d 100644 --- a/doc/example_code/asteroid_smasher.rst +++ b/doc/example_code/asteroid_smasher.rst @@ -1,5 +1,3 @@ -:orphan: - .. _asteroid_smasher: Asteroid Smasher diff --git a/doc/example_code/background_parallax.rst b/doc/example_code/background_parallax.rst index daa39ad7ee..bd4f9c6614 100644 --- a/doc/example_code/background_parallax.rst +++ b/doc/example_code/background_parallax.rst @@ -1,5 +1,3 @@ -:orphan: - .. _background_parallax: Parallax diff --git a/doc/example_code/bouncing_rectangle.rst b/doc/example_code/bouncing_rectangle.rst index f999200dd7..0414248b19 100644 --- a/doc/example_code/bouncing_rectangle.rst +++ b/doc/example_code/bouncing_rectangle.rst @@ -1,5 +1,3 @@ -:orphan: - .. _bouncing_rectangle: Bouncing Rectangle diff --git a/doc/example_code/camera_platform.rst b/doc/example_code/camera_platform.rst index 1104fa8435..73f1c03dac 100644 --- a/doc/example_code/camera_platform.rst +++ b/doc/example_code/camera_platform.rst @@ -1,5 +1,3 @@ -:orphan: - .. _camera_platform: Camera Use in a Platformer diff --git a/doc/example_code/controller.rst b/doc/example_code/controller.rst index ea281eb60e..4f8af2cbc3 100644 --- a/doc/example_code/controller.rst +++ b/doc/example_code/controller.rst @@ -1,5 +1,3 @@ -:orphan: - .. _controller: How To Get Connected Controllers diff --git a/doc/example_code/conway_alpha.rst b/doc/example_code/conway_alpha.rst index c117b903c1..0e800a7bd1 100644 --- a/doc/example_code/conway_alpha.rst +++ b/doc/example_code/conway_alpha.rst @@ -1,5 +1,3 @@ -:orphan: - .. _conway_alpha: Conway's Game of Life diff --git a/doc/example_code/drawing_primitives.rst b/doc/example_code/drawing_primitives.rst index c58df2aeb5..c459f1c466 100644 --- a/doc/example_code/drawing_primitives.rst +++ b/doc/example_code/drawing_primitives.rst @@ -1,5 +1,3 @@ -:orphan: - .. _drawing_primitives: Drawing Primitives diff --git a/doc/example_code/drawing_text.rst b/doc/example_code/drawing_text.rst index 39546d0cbc..be5569d1bd 100644 --- a/doc/example_code/drawing_text.rst +++ b/doc/example_code/drawing_text.rst @@ -1,5 +1,3 @@ -:orphan: - .. _drawing_text: Slow but Easy Text Drawing diff --git a/doc/example_code/drawing_text_objects.rst b/doc/example_code/drawing_text_objects.rst index b46a51bc47..78612c95ed 100644 --- a/doc/example_code/drawing_text_objects.rst +++ b/doc/example_code/drawing_text_objects.rst @@ -1,5 +1,3 @@ -:orphan: - .. _drawing_text_objects: Better Text Drawing with Text Objects diff --git a/doc/example_code/drawing_text_objects_batch.rst b/doc/example_code/drawing_text_objects_batch.rst index 378d16694d..d3cad70b0c 100644 --- a/doc/example_code/drawing_text_objects_batch.rst +++ b/doc/example_code/drawing_text_objects_batch.rst @@ -1,5 +1,3 @@ -:orphan: - .. _drawing_text_objects_batch: The Fastest Text Drawing: pyglet Batches diff --git a/doc/example_code/dual_stick_shooter.rst b/doc/example_code/dual_stick_shooter.rst index 095362799f..713f1d563c 100644 --- a/doc/example_code/dual_stick_shooter.rst +++ b/doc/example_code/dual_stick_shooter.rst @@ -1,5 +1,3 @@ -:orphan: - .. _dual_stick_shooter: Dual Stick Shooter diff --git a/doc/example_code/easing_example_1.rst b/doc/example_code/easing_example_1.rst index aa74129a42..cb552a5d16 100644 --- a/doc/example_code/easing_example_1.rst +++ b/doc/example_code/easing_example_1.rst @@ -1,5 +1,3 @@ -:orphan: - .. _easing_example_1: Easing Example 1 diff --git a/doc/example_code/easing_example_2.rst b/doc/example_code/easing_example_2.rst index 76e2f582c7..099d50befd 100644 --- a/doc/example_code/easing_example_2.rst +++ b/doc/example_code/easing_example_2.rst @@ -1,5 +1,3 @@ -:orphan: - .. _easing_example_2: Easing Example 2 diff --git a/doc/example_code/follow_path.rst b/doc/example_code/follow_path.rst index 8d93b99c7c..b40cbe4bb7 100644 --- a/doc/example_code/follow_path.rst +++ b/doc/example_code/follow_path.rst @@ -1,5 +1,3 @@ -:orphan: - .. _follow_path: Sprites That Follow a Path diff --git a/doc/example_code/full_screen_example.rst b/doc/example_code/full_screen_example.rst index 3c41f6bedf..affb042173 100644 --- a/doc/example_code/full_screen_example.rst +++ b/doc/example_code/full_screen_example.rst @@ -1,5 +1,3 @@ -:orphan: - .. _full_screen_example: Full Screen Example diff --git a/doc/example_code/game_of_life_fbo.rst b/doc/example_code/game_of_life_fbo.rst index ce41ea834b..f0627a49ce 100644 --- a/doc/example_code/game_of_life_fbo.rst +++ b/doc/example_code/game_of_life_fbo.rst @@ -1,5 +1,3 @@ -:orphan: - .. _game_of_life_fbo: Game of Life with Frame Buffers diff --git a/doc/example_code/gradients.rst b/doc/example_code/gradients.rst index de18ff41f3..9e6c032ec5 100644 --- a/doc/example_code/gradients.rst +++ b/doc/example_code/gradients.rst @@ -1,5 +1,3 @@ -:orphan: - .. _gradients: Gradients Example diff --git a/doc/example_code/gui_flat_button.rst b/doc/example_code/gui_flat_button.rst index b3e6300318..a259f2e74c 100644 --- a/doc/example_code/gui_flat_button.rst +++ b/doc/example_code/gui_flat_button.rst @@ -1,5 +1,3 @@ -:orphan: - .. _gui_flat_button: Flat Text Buttons diff --git a/doc/example_code/gui_flat_button_styled.rst b/doc/example_code/gui_flat_button_styled.rst index c75cf4d185..fcb7b4c3e5 100644 --- a/doc/example_code/gui_flat_button_styled.rst +++ b/doc/example_code/gui_flat_button_styled.rst @@ -1,5 +1,3 @@ -:orphan: - .. _gui_flat_button_styled: Flat Text Button Styled diff --git a/doc/example_code/gui_ok_messagebox.rst b/doc/example_code/gui_ok_messagebox.rst index 54a45d7984..2377b44cd6 100644 --- a/doc/example_code/gui_ok_messagebox.rst +++ b/doc/example_code/gui_ok_messagebox.rst @@ -1,5 +1,3 @@ -:orphan: - .. _gui_ok_messagebox: OK Message Box diff --git a/doc/example_code/gui_scrollable_text.rst b/doc/example_code/gui_scrollable_text.rst index 10289a678e..ec6909afc6 100644 --- a/doc/example_code/gui_scrollable_text.rst +++ b/doc/example_code/gui_scrollable_text.rst @@ -1,5 +1,3 @@ -:orphan: - .. _gui_scrollable_text: GUI Scrollable Text diff --git a/doc/example_code/gui_slider.rst b/doc/example_code/gui_slider.rst index 5a6458552e..343d62190d 100644 --- a/doc/example_code/gui_slider.rst +++ b/doc/example_code/gui_slider.rst @@ -1,5 +1,3 @@ -:orphan: - .. _gui_slider: GUI Slider diff --git a/doc/example_code/gui_widgets.rst b/doc/example_code/gui_widgets.rst index beceb9fa11..41fb4e41f1 100644 --- a/doc/example_code/gui_widgets.rst +++ b/doc/example_code/gui_widgets.rst @@ -1,5 +1,3 @@ -:orphan: - .. _gui_widgets: GUI Widgets diff --git a/doc/example_code/happy_face.rst b/doc/example_code/happy_face.rst index f2ff5bc2bc..c84f905d78 100644 --- a/doc/example_code/happy_face.rst +++ b/doc/example_code/happy_face.rst @@ -1,5 +1,3 @@ -:orphan: - .. _happy_face: Happy Face diff --git a/doc/example_code/index.rst b/doc/example_code/index.rst index 23956a670d..79b68e09cb 100644 --- a/doc/example_code/index.rst +++ b/doc/example_code/index.rst @@ -3,6 +3,35 @@ Examples ======== +.. Solve https://github.com/pythonarcade/arcade/issues/2274 +.. through the simplest brute-force approach which works since there's +.. there's no good way built-in to exclude the index.rst from itself + +.. toctree:: + :glob: + :hidden: + + a* + b* + c* + d* + e* + f* + g* + h* + + l* + m* + n* + + p* + + r* + s* + t* + + v* + Starting Templates ------------------ diff --git a/doc/example_code/light_demo.rst b/doc/example_code/light_demo.rst index a6a0bb768b..f0ea8fde3f 100644 --- a/doc/example_code/light_demo.rst +++ b/doc/example_code/light_demo.rst @@ -1,5 +1,3 @@ -:orphan: - .. _light_demo: Lighting Demo diff --git a/doc/example_code/line_of_sight.rst b/doc/example_code/line_of_sight.rst index 7505be2463..996aed1964 100644 --- a/doc/example_code/line_of_sight.rst +++ b/doc/example_code/line_of_sight.rst @@ -1,5 +1,3 @@ -:orphan: - .. _line_of_sight: Line of Sight diff --git a/doc/example_code/lines_buffered.rst b/doc/example_code/lines_buffered.rst index 1aaf78cffb..b4953e52c6 100644 --- a/doc/example_code/lines_buffered.rst +++ b/doc/example_code/lines_buffered.rst @@ -1,5 +1,3 @@ -:orphan: - .. _lines_buffered: Using a Vertex Buffer Object With Lines diff --git a/doc/example_code/maze_depth_first.rst b/doc/example_code/maze_depth_first.rst index 0b9ed3a1f9..d647164bf8 100644 --- a/doc/example_code/maze_depth_first.rst +++ b/doc/example_code/maze_depth_first.rst @@ -1,5 +1,3 @@ -:orphan: - .. _maze_depth_first: Creating a Depth First Maze diff --git a/doc/example_code/maze_recursive.rst b/doc/example_code/maze_recursive.rst index 900ca36de7..1714bc16e3 100644 --- a/doc/example_code/maze_recursive.rst +++ b/doc/example_code/maze_recursive.rst @@ -1,5 +1,3 @@ -:orphan: - .. _maze_recursive: Creating a Recursive Maze diff --git a/doc/example_code/minimap.rst b/doc/example_code/minimap.rst index 1071a85531..bff0eb2fe3 100644 --- a/doc/example_code/minimap.rst +++ b/doc/example_code/minimap.rst @@ -1,5 +1,3 @@ -:orphan: - .. _minimap: Mini-Map diff --git a/doc/example_code/music_control_demo.rst b/doc/example_code/music_control_demo.rst index f1273931f3..07a893a6a7 100644 --- a/doc/example_code/music_control_demo.rst +++ b/doc/example_code/music_control_demo.rst @@ -1,5 +1,3 @@ -:orphan: - .. _music_control_demo: Music Control Demo diff --git a/doc/example_code/normal_mapping.rst b/doc/example_code/normal_mapping.rst index a4ab121a3a..6fe06bddc3 100644 --- a/doc/example_code/normal_mapping.rst +++ b/doc/example_code/normal_mapping.rst @@ -1,5 +1,3 @@ -:orphan: - .. _normal_mapping: Normal Mapping diff --git a/doc/example_code/particle_fireworks.rst b/doc/example_code/particle_fireworks.rst index 1b640b4780..57504f5430 100644 --- a/doc/example_code/particle_fireworks.rst +++ b/doc/example_code/particle_fireworks.rst @@ -1,5 +1,3 @@ -:orphan: - .. _particle_fireworks: Particle System - Fireworks diff --git a/doc/example_code/particle_systems.rst b/doc/example_code/particle_systems.rst index 4ff3e61b13..19a6cced49 100644 --- a/doc/example_code/particle_systems.rst +++ b/doc/example_code/particle_systems.rst @@ -1,5 +1,3 @@ -:orphan: - .. _particle_systems: Particle Systems diff --git a/doc/example_code/performance_statistics.rst b/doc/example_code/performance_statistics.rst index 7cbd3d6013..57c4db3206 100644 --- a/doc/example_code/performance_statistics.rst +++ b/doc/example_code/performance_statistics.rst @@ -1,5 +1,3 @@ -:orphan: - .. _performance_statistics_example: Performance Statistics diff --git a/doc/example_code/perspective.rst b/doc/example_code/perspective.rst index f4968b18f4..bb3c60ce42 100644 --- a/doc/example_code/perspective.rst +++ b/doc/example_code/perspective.rst @@ -1,5 +1,3 @@ -:orphan: - .. _perspective: Perspective diff --git a/doc/example_code/procedural_caves_bsp.rst b/doc/example_code/procedural_caves_bsp.rst index 8416fc1a55..d4cfbd8dd7 100644 --- a/doc/example_code/procedural_caves_bsp.rst +++ b/doc/example_code/procedural_caves_bsp.rst @@ -1,5 +1,3 @@ -:orphan: - .. _procedural_caves_bsp: Procedural Caves - Binary Space Partitioning diff --git a/doc/example_code/procedural_caves_cellular.rst b/doc/example_code/procedural_caves_cellular.rst index d9666b4337..c44c98e0cd 100644 --- a/doc/example_code/procedural_caves_cellular.rst +++ b/doc/example_code/procedural_caves_cellular.rst @@ -1,5 +1,3 @@ -:orphan: - .. _procedural_caves_cellular: Procedural Caves - Cellular Automata diff --git a/doc/example_code/pymunk_box_stacks.rst b/doc/example_code/pymunk_box_stacks.rst index 8609fa9091..eebceca5ba 100644 --- a/doc/example_code/pymunk_box_stacks.rst +++ b/doc/example_code/pymunk_box_stacks.rst @@ -1,5 +1,3 @@ -:orphan: - .. _pymunk_box_stacks: Pymunk Physics Engine - Stacks of Boxes diff --git a/doc/example_code/pymunk_demo_top_down.rst b/doc/example_code/pymunk_demo_top_down.rst index 438ee40c60..1bc537cf10 100644 --- a/doc/example_code/pymunk_demo_top_down.rst +++ b/doc/example_code/pymunk_demo_top_down.rst @@ -1,5 +1,3 @@ -:orphan: - .. _pymunk_demo_top_down: Pymunk Demo - Top Down diff --git a/doc/example_code/pymunk_joint_builder.rst b/doc/example_code/pymunk_joint_builder.rst index 50c09cf944..db8f594b06 100644 --- a/doc/example_code/pymunk_joint_builder.rst +++ b/doc/example_code/pymunk_joint_builder.rst @@ -1,5 +1,3 @@ -:orphan: - .. _pymunk_joint_builder: Pymunk Physics Engine - Joint Builder diff --git a/doc/example_code/pymunk_pegboard.rst b/doc/example_code/pymunk_pegboard.rst index 11b376c993..66de13a40c 100644 --- a/doc/example_code/pymunk_pegboard.rst +++ b/doc/example_code/pymunk_pegboard.rst @@ -1,5 +1,3 @@ -:orphan: - .. _pymunk_pegboard: Pymunk Physics Engine - Pegboard diff --git a/doc/example_code/radar_sweep.rst b/doc/example_code/radar_sweep.rst index 5c9e9f1726..6587736ec7 100644 --- a/doc/example_code/radar_sweep.rst +++ b/doc/example_code/radar_sweep.rst @@ -1,5 +1,3 @@ -:orphan: - .. _radar_sweep: Radar Sweep diff --git a/doc/example_code/resizable_window.rst b/doc/example_code/resizable_window.rst index 6b09aa1ace..67c8a48bf8 100644 --- a/doc/example_code/resizable_window.rst +++ b/doc/example_code/resizable_window.rst @@ -1,5 +1,3 @@ -:orphan: - .. _resizable_window: Resizable Window diff --git a/doc/example_code/sections_demo_1.rst b/doc/example_code/sections_demo_1.rst index 115db6dc5c..8ef29e8faa 100644 --- a/doc/example_code/sections_demo_1.rst +++ b/doc/example_code/sections_demo_1.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sections_demo_1: Sections Demo 1 diff --git a/doc/example_code/sections_demo_2.rst b/doc/example_code/sections_demo_2.rst index aca6e8b5c6..b164999007 100644 --- a/doc/example_code/sections_demo_2.rst +++ b/doc/example_code/sections_demo_2.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sections_demo_2: Sections Demo 2 diff --git a/doc/example_code/sections_demo_3.rst b/doc/example_code/sections_demo_3.rst index caec18b114..b663be38cd 100644 --- a/doc/example_code/sections_demo_3.rst +++ b/doc/example_code/sections_demo_3.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sections_demo_3: Sections Demo 3 diff --git a/doc/example_code/shape_list_demo.rst b/doc/example_code/shape_list_demo.rst index ace5b8bb92..bf25f56742 100644 --- a/doc/example_code/shape_list_demo.rst +++ b/doc/example_code/shape_list_demo.rst @@ -1,5 +1,3 @@ -:orphan: - .. _shape_list_demo: ShapeElementList Explanation diff --git a/doc/example_code/shape_list_demo_skylines.rst b/doc/example_code/shape_list_demo_skylines.rst index 990e4eec7a..d648fdbd2d 100644 --- a/doc/example_code/shape_list_demo_skylines.rst +++ b/doc/example_code/shape_list_demo_skylines.rst @@ -1,5 +1,3 @@ -:orphan: - .. _shape_list_demo_skylines: Shape List - Skylines diff --git a/doc/example_code/shapes.rst b/doc/example_code/shapes.rst index e77cd04022..e0c9451274 100644 --- a/doc/example_code/shapes.rst +++ b/doc/example_code/shapes.rst @@ -1,5 +1,3 @@ -:orphan: - .. _shapes-slow: Bouncing Shapes diff --git a/doc/example_code/slime_invaders.rst b/doc/example_code/slime_invaders.rst index 48d52da0a4..a72825b58c 100644 --- a/doc/example_code/slime_invaders.rst +++ b/doc/example_code/slime_invaders.rst @@ -1,5 +1,3 @@ -:orphan: - .. _slime_invaders: Slime Invaders diff --git a/doc/example_code/snow.rst b/doc/example_code/snow.rst index e1c651f7e4..c9d5c8c441 100644 --- a/doc/example_code/snow.rst +++ b/doc/example_code/snow.rst @@ -1,5 +1,3 @@ -:orphan: - .. _snow: Falling Snow diff --git a/doc/example_code/sound_demo.rst b/doc/example_code/sound_demo.rst index fd2e34bd8f..7eb6aa5e4b 100644 --- a/doc/example_code/sound_demo.rst +++ b/doc/example_code/sound_demo.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sound_demo: Sound Demo diff --git a/doc/example_code/sound_speed_demo.rst b/doc/example_code/sound_speed_demo.rst index 54733dbc18..32af1b2e9a 100644 --- a/doc/example_code/sound_speed_demo.rst +++ b/doc/example_code/sound_speed_demo.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sound_speed_demo: Sound Speed Demo diff --git a/doc/example_code/sprite_bouncing_coins.rst b/doc/example_code/sprite_bouncing_coins.rst index 4f0ca047ae..70078d81fe 100644 --- a/doc/example_code/sprite_bouncing_coins.rst +++ b/doc/example_code/sprite_bouncing_coins.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_bouncing_coins: Sprite Bouncing Coins diff --git a/doc/example_code/sprite_bullets.rst b/doc/example_code/sprite_bullets.rst index a774ccf31b..aa8e8cc21e 100644 --- a/doc/example_code/sprite_bullets.rst +++ b/doc/example_code/sprite_bullets.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_bullets: Shoot Bullets Upwards diff --git a/doc/example_code/sprite_bullets_aimed.rst b/doc/example_code/sprite_bullets_aimed.rst index 3c0aae7776..0dfeb342ad 100644 --- a/doc/example_code/sprite_bullets_aimed.rst +++ b/doc/example_code/sprite_bullets_aimed.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_bullets_aimed: Aim and Shoot Bullets diff --git a/doc/example_code/sprite_bullets_enemy_aims.rst b/doc/example_code/sprite_bullets_enemy_aims.rst index 9d0808e7c7..56564695c9 100644 --- a/doc/example_code/sprite_bullets_enemy_aims.rst +++ b/doc/example_code/sprite_bullets_enemy_aims.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_bullets_enemy_aims: Have Enemies Aim at Player diff --git a/doc/example_code/sprite_bullets_periodic.rst b/doc/example_code/sprite_bullets_periodic.rst index 47f161d75a..1c50b6d736 100644 --- a/doc/example_code/sprite_bullets_periodic.rst +++ b/doc/example_code/sprite_bullets_periodic.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_bullets_periodic: Have Enemies Periodically Shoot diff --git a/doc/example_code/sprite_bullets_random.rst b/doc/example_code/sprite_bullets_random.rst index f0ea67cf4e..e72fdcb359 100644 --- a/doc/example_code/sprite_bullets_random.rst +++ b/doc/example_code/sprite_bullets_random.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_bullets_random: Have Enemies Randomly Shoot diff --git a/doc/example_code/sprite_change_coins.rst b/doc/example_code/sprite_change_coins.rst index 2beee21360..967e5a0a60 100644 --- a/doc/example_code/sprite_change_coins.rst +++ b/doc/example_code/sprite_change_coins.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_change_coins: Change coins diff --git a/doc/example_code/sprite_collect_coins.rst b/doc/example_code/sprite_collect_coins.rst index 8798af5637..e448fc881f 100644 --- a/doc/example_code/sprite_collect_coins.rst +++ b/doc/example_code/sprite_collect_coins.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_collect_coins: Move By Mouse diff --git a/doc/example_code/sprite_collect_coins_background.rst b/doc/example_code/sprite_collect_coins_background.rst index 6d43892952..eb66d69e0b 100644 --- a/doc/example_code/sprite_collect_coins_background.rst +++ b/doc/example_code/sprite_collect_coins_background.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_collect_coins_background: Using a Background Image diff --git a/doc/example_code/sprite_collect_coins_diff_levels.rst b/doc/example_code/sprite_collect_coins_diff_levels.rst index 6443561656..aa838d255a 100644 --- a/doc/example_code/sprite_collect_coins_diff_levels.rst +++ b/doc/example_code/sprite_collect_coins_diff_levels.rst @@ -1,5 +1,3 @@ -:orphan: - .. _example-sprite-collect-coins-diff-levels: Different Levels of Clearing Coins diff --git a/doc/example_code/sprite_collect_coins_move_bouncing.rst b/doc/example_code/sprite_collect_coins_move_bouncing.rst index 9d77aa32cd..2da9320acb 100644 --- a/doc/example_code/sprite_collect_coins_move_bouncing.rst +++ b/doc/example_code/sprite_collect_coins_move_bouncing.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_collect_coins_move_bouncing: Collect Coins that are Bouncing diff --git a/doc/example_code/sprite_collect_coins_move_circle.rst b/doc/example_code/sprite_collect_coins_move_circle.rst index 602f0cdc11..7fc73923fa 100644 --- a/doc/example_code/sprite_collect_coins_move_circle.rst +++ b/doc/example_code/sprite_collect_coins_move_circle.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_collect_coins_move_circle: Collect Coins that are Moving in a Circle diff --git a/doc/example_code/sprite_collect_coins_move_down.rst b/doc/example_code/sprite_collect_coins_move_down.rst index c95ca0a57c..e4d294ee96 100644 --- a/doc/example_code/sprite_collect_coins_move_down.rst +++ b/doc/example_code/sprite_collect_coins_move_down.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_collect_coins_move_down: Collect Coins Moving Down diff --git a/doc/example_code/sprite_collect_rotating.rst b/doc/example_code/sprite_collect_rotating.rst index a44d1b0195..437a01c412 100644 --- a/doc/example_code/sprite_collect_rotating.rst +++ b/doc/example_code/sprite_collect_rotating.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_collect_rotating: Animated Sprites diff --git a/doc/example_code/sprite_enemies_in_platformer.rst b/doc/example_code/sprite_enemies_in_platformer.rst index 589c5bb36b..65869d3b01 100644 --- a/doc/example_code/sprite_enemies_in_platformer.rst +++ b/doc/example_code/sprite_enemies_in_platformer.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_enemies_in_platformer: Platformer With Enemies diff --git a/doc/example_code/sprite_explosion_bitmapped.rst b/doc/example_code/sprite_explosion_bitmapped.rst index da63c2b398..3ada5caca1 100644 --- a/doc/example_code/sprite_explosion_bitmapped.rst +++ b/doc/example_code/sprite_explosion_bitmapped.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_explosion_bitmapped: Sprite Explosions Bitmapped diff --git a/doc/example_code/sprite_explosion_particles.rst b/doc/example_code/sprite_explosion_particles.rst index 84bd3b25dd..8b04b62eff 100644 --- a/doc/example_code/sprite_explosion_particles.rst +++ b/doc/example_code/sprite_explosion_particles.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_explosion_particles: Sprite Explosions Particles diff --git a/doc/example_code/sprite_face_left_or_right.rst b/doc/example_code/sprite_face_left_or_right.rst index 8b15463860..4a218c08ce 100644 --- a/doc/example_code/sprite_face_left_or_right.rst +++ b/doc/example_code/sprite_face_left_or_right.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_face_left_or_right: Sprite: Face Left or Right diff --git a/doc/example_code/sprite_follow_simple.rst b/doc/example_code/sprite_follow_simple.rst index 230822219d..8aaeb252a0 100644 --- a/doc/example_code/sprite_follow_simple.rst +++ b/doc/example_code/sprite_follow_simple.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_follow_simple: Sprites That Follow The Player diff --git a/doc/example_code/sprite_follow_simple_2.rst b/doc/example_code/sprite_follow_simple_2.rst index a780bf5173..47d9315a89 100644 --- a/doc/example_code/sprite_follow_simple_2.rst +++ b/doc/example_code/sprite_follow_simple_2.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_follow_simple_2: Sprites That Follow The Player 2 diff --git a/doc/example_code/sprite_health.rst b/doc/example_code/sprite_health.rst index 545e4cd5f8..b486ad7f63 100644 --- a/doc/example_code/sprite_health.rst +++ b/doc/example_code/sprite_health.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_health: Hit Points and Health Bars diff --git a/doc/example_code/sprite_move_angle.rst b/doc/example_code/sprite_move_angle.rst index 4f1ba6ffc7..20ef1ec44e 100644 --- a/doc/example_code/sprite_move_angle.rst +++ b/doc/example_code/sprite_move_angle.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_move_angle: Move By Turning diff --git a/doc/example_code/sprite_move_animation.rst b/doc/example_code/sprite_move_animation.rst index aff7165ddb..6745e20bb8 100644 --- a/doc/example_code/sprite_move_animation.rst +++ b/doc/example_code/sprite_move_animation.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_move_animation: Move with a Sprite Animation diff --git a/doc/example_code/sprite_move_controller.rst b/doc/example_code/sprite_move_controller.rst index 210c62430b..1f1d3326c1 100644 --- a/doc/example_code/sprite_move_controller.rst +++ b/doc/example_code/sprite_move_controller.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_move_controller: Game Controller diff --git a/doc/example_code/sprite_move_keyboard.rst b/doc/example_code/sprite_move_keyboard.rst index 91772d97f2..f061c1d036 100644 --- a/doc/example_code/sprite_move_keyboard.rst +++ b/doc/example_code/sprite_move_keyboard.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_move_keyboard: Move By Keyboard diff --git a/doc/example_code/sprite_move_keyboard_accel.rst b/doc/example_code/sprite_move_keyboard_accel.rst index 64969a1d73..8c34bb4624 100644 --- a/doc/example_code/sprite_move_keyboard_accel.rst +++ b/doc/example_code/sprite_move_keyboard_accel.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_move_keyboard_accel: Acceleration and Friction diff --git a/doc/example_code/sprite_move_keyboard_better.rst b/doc/example_code/sprite_move_keyboard_better.rst index 302460d6eb..f69c11ac04 100644 --- a/doc/example_code/sprite_move_keyboard_better.rst +++ b/doc/example_code/sprite_move_keyboard_better.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_move_keyboard_better: Better Move By Keyboard diff --git a/doc/example_code/sprite_move_scrolling.rst b/doc/example_code/sprite_move_scrolling.rst index 5034015d42..a6f4790f74 100644 --- a/doc/example_code/sprite_move_scrolling.rst +++ b/doc/example_code/sprite_move_scrolling.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_move_scrolling: Move with a Scrolling Screen - Centered diff --git a/doc/example_code/sprite_move_scrolling_box.rst b/doc/example_code/sprite_move_scrolling_box.rst index 23e9ced251..72772a43ef 100644 --- a/doc/example_code/sprite_move_scrolling_box.rst +++ b/doc/example_code/sprite_move_scrolling_box.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_move_scrolling_box: Move with a Scrolling Screen - Margins diff --git a/doc/example_code/sprite_move_scrolling_shake.rst b/doc/example_code/sprite_move_scrolling_shake.rst index b4d5d1e80f..e09a26a930 100644 --- a/doc/example_code/sprite_move_scrolling_shake.rst +++ b/doc/example_code/sprite_move_scrolling_shake.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_move_scrolling_shake: Camera Shake diff --git a/doc/example_code/sprite_move_walls.rst b/doc/example_code/sprite_move_walls.rst index cdad627ffe..4eaafbb0ee 100644 --- a/doc/example_code/sprite_move_walls.rst +++ b/doc/example_code/sprite_move_walls.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_move_walls: Move with Walls diff --git a/doc/example_code/sprite_moving_platforms.rst b/doc/example_code/sprite_moving_platforms.rst index b1debfd648..88a651cc2c 100644 --- a/doc/example_code/sprite_moving_platforms.rst +++ b/doc/example_code/sprite_moving_platforms.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_moving_platforms: Moving Platforms diff --git a/doc/example_code/sprite_no_coins_on_walls.rst b/doc/example_code/sprite_no_coins_on_walls.rst index 30340d8d4f..50b9cf828d 100644 --- a/doc/example_code/sprite_no_coins_on_walls.rst +++ b/doc/example_code/sprite_no_coins_on_walls.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_no_coins_on_walls: Randomly Place Coins, But Away From Walls And Other Coins diff --git a/doc/example_code/sprite_properties.rst b/doc/example_code/sprite_properties.rst index b535be37d9..df848a3dfd 100644 --- a/doc/example_code/sprite_properties.rst +++ b/doc/example_code/sprite_properties.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_properties: Sprite Properties diff --git a/doc/example_code/sprite_rooms.rst b/doc/example_code/sprite_rooms.rst index 33d21df04e..c283bbd5e4 100644 --- a/doc/example_code/sprite_rooms.rst +++ b/doc/example_code/sprite_rooms.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_rooms: Moving Between Different Rooms diff --git a/doc/example_code/sprite_rotate_around_point.rst b/doc/example_code/sprite_rotate_around_point.rst index 3fe51f5d7b..8bdedffd4b 100644 --- a/doc/example_code/sprite_rotate_around_point.rst +++ b/doc/example_code/sprite_rotate_around_point.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_rotate_around_point: Sprite Rotation Around a Point diff --git a/doc/example_code/sprite_rotate_around_tank.rst b/doc/example_code/sprite_rotate_around_tank.rst index b50616ccf8..6236527ecd 100644 --- a/doc/example_code/sprite_rotate_around_tank.rst +++ b/doc/example_code/sprite_rotate_around_tank.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_rotate_around_tank: Move By Keyboard, Fire Towards Mouse diff --git a/doc/example_code/sprite_tiled_map.rst b/doc/example_code/sprite_tiled_map.rst index 5a641a9443..3175ef4b65 100644 --- a/doc/example_code/sprite_tiled_map.rst +++ b/doc/example_code/sprite_tiled_map.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_tiled_map: Work with loading in a Tiled map file diff --git a/doc/example_code/sprite_tiled_map_with_levels.rst b/doc/example_code/sprite_tiled_map_with_levels.rst index 7d9e1dc34f..18651d322c 100644 --- a/doc/example_code/sprite_tiled_map_with_levels.rst +++ b/doc/example_code/sprite_tiled_map_with_levels.rst @@ -1,5 +1,3 @@ -:orphan: - .. _sprite_tiled_map_with_levels: Work with levels and a tiled map diff --git a/doc/example_code/spritelist_interaction_visualize_dist_los.rst b/doc/example_code/spritelist_interaction_visualize_dist_los.rst index e7787e3e30..57c9074544 100644 --- a/doc/example_code/spritelist_interaction_visualize_dist_los.rst +++ b/doc/example_code/spritelist_interaction_visualize_dist_los.rst @@ -1,5 +1,3 @@ -:orphan: - .. _spritelist_interaction_visualize_dist_los: GPU Based Line of Sight diff --git a/doc/example_code/starting_template.rst b/doc/example_code/starting_template.rst index a6ac750cdd..82133cd3c2 100644 --- a/doc/example_code/starting_template.rst +++ b/doc/example_code/starting_template.rst @@ -1,5 +1,3 @@ -:orphan: - .. _starting_template: Starting Template Using Window Class diff --git a/doc/example_code/stress_test_collision.rst b/doc/example_code/stress_test_collision.rst index 57e4b656da..812ca10de9 100644 --- a/doc/example_code/stress_test_collision.rst +++ b/doc/example_code/stress_test_collision.rst @@ -1,5 +1,3 @@ -:orphan: - .. _stress_test_collision: Collision Stress Test diff --git a/doc/example_code/stress_test_draw_moving.rst b/doc/example_code/stress_test_draw_moving.rst index c861a6387e..f842f3d585 100644 --- a/doc/example_code/stress_test_draw_moving.rst +++ b/doc/example_code/stress_test_draw_moving.rst @@ -1,5 +1,3 @@ -:orphan: - .. _stress_test_draw_moving: Draw Moving Sprites Stress Test diff --git a/doc/example_code/template_platformer.rst b/doc/example_code/template_platformer.rst index 18ca077e38..e4176d265f 100644 --- a/doc/example_code/template_platformer.rst +++ b/doc/example_code/template_platformer.rst @@ -1,5 +1,3 @@ -:orphan: - .. _template_platformer: Platformer Template diff --git a/doc/example_code/tetris.rst b/doc/example_code/tetris.rst index 68d278a1c3..3b99360840 100644 --- a/doc/example_code/tetris.rst +++ b/doc/example_code/tetris.rst @@ -1,5 +1,3 @@ -:orphan: - .. _tetris: Tetris diff --git a/doc/example_code/text_loc_example.rst b/doc/example_code/text_loc_example.rst index 1fb825840b..cd7d551fe6 100644 --- a/doc/example_code/text_loc_example.rst +++ b/doc/example_code/text_loc_example.rst @@ -1,5 +1,3 @@ -:orphan: - .. _text_loc_example: Text Localization diff --git a/doc/example_code/timer.rst b/doc/example_code/timer.rst index c1280c6c0b..8ce7df6582 100644 --- a/doc/example_code/timer.rst +++ b/doc/example_code/timer.rst @@ -1,5 +1,3 @@ -:orphan: - .. _timer: On-Screen Timer diff --git a/doc/example_code/transform_feedback.rst b/doc/example_code/transform_feedback.rst index ad98342adf..12db3695dd 100644 --- a/doc/example_code/transform_feedback.rst +++ b/doc/example_code/transform_feedback.rst @@ -1,5 +1,3 @@ -:orphan: - .. _transform_feedback: Transform Feedback diff --git a/doc/example_code/transitions.rst b/doc/example_code/transitions.rst index 6da02baf39..9d0903f791 100644 --- a/doc/example_code/transitions.rst +++ b/doc/example_code/transitions.rst @@ -1,5 +1,3 @@ -:orphan: - .. _transitions: Fade In/Out of Views diff --git a/doc/example_code/turn_and_move.rst b/doc/example_code/turn_and_move.rst index dd3afed8f8..4869c7d290 100644 --- a/doc/example_code/turn_and_move.rst +++ b/doc/example_code/turn_and_move.rst @@ -1,5 +1,3 @@ -:orphan: - .. _turn_and_move: Move to Mouse Click diff --git a/doc/example_code/view_instructions_and_game_over.rst b/doc/example_code/view_instructions_and_game_over.rst index 687d1dc087..6f69785004 100644 --- a/doc/example_code/view_instructions_and_game_over.rst +++ b/doc/example_code/view_instructions_and_game_over.rst @@ -1,5 +1,3 @@ -:orphan: - .. _view_instructions_and_game_over: Using Views for Instruction and Game Over Screens diff --git a/doc/example_code/view_pause_screen.rst b/doc/example_code/view_pause_screen.rst index 5ec838e461..bbedb095bf 100644 --- a/doc/example_code/view_pause_screen.rst +++ b/doc/example_code/view_pause_screen.rst @@ -1,5 +1,3 @@ -:orphan: - .. _view_pause_screen: Using Views for a Pause Screen diff --git a/doc/example_code/view_screens_minimal.rst b/doc/example_code/view_screens_minimal.rst index 835560f0d0..31ccd46845 100644 --- a/doc/example_code/view_screens_minimal.rst +++ b/doc/example_code/view_screens_minimal.rst @@ -1,5 +1,3 @@ -:orphan: - .. _view_screens_minimal: Minimal Views Example From ab636408ecb13ad543c1e938cd338218d5bdf0c5 Mon Sep 17 00:00:00 2001 From: pushfoo <36696816+pushfoo@users.noreply.github.com> Date: Fri, 19 Jul 2024 08:56:39 -0400 Subject: [PATCH 2/6] Fix awful full alphabet by using full range of supported globbing --- doc/example_code/index.rst | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/doc/example_code/index.rst b/doc/example_code/index.rst index 79b68e09cb..dc0cb0502e 100644 --- a/doc/example_code/index.rst +++ b/doc/example_code/index.rst @@ -3,34 +3,17 @@ Examples ======== -.. Solve https://github.com/pythonarcade/arcade/issues/2274 -.. through the simplest brute-force approach which works since there's -.. there's no good way built-in to exclude the index.rst from itself +.. Partly solve https://github.com/pythonarcade/arcade/issues/2274 +.. through shell globbing support in Sphinx toctrees. We use two +.. ranges to exclude the index.rst from itself. See the following +.. to learn more: https://mywiki.wooledge.org/glob .. toctree:: :glob: :hidden: - a* - b* - c* - d* - e* - f* - g* - h* - - l* - m* - n* - - p* - - r* - s* - t* - - v* + [a-h]* + [j-z]* Starting Templates From 0497e615450246e62c076da01d25af691ca2dc24 Mon Sep 17 00:00:00 2001 From: pushfoo <36696816+pushfoo@users.noreply.github.com> Date: Fri, 19 Jul 2024 08:58:41 -0400 Subject: [PATCH 3/6] Shorten comment --- doc/example_code/index.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/example_code/index.rst b/doc/example_code/index.rst index dc0cb0502e..2364b6e265 100644 --- a/doc/example_code/index.rst +++ b/doc/example_code/index.rst @@ -4,9 +4,7 @@ Examples ======== .. Partly solve https://github.com/pythonarcade/arcade/issues/2274 -.. through shell globbing support in Sphinx toctrees. We use two -.. ranges to exclude the index.rst from itself. See the following -.. to learn more: https://mywiki.wooledge.org/glob +.. via globbing support in Sphinx toctrees to exclude this file .. toctree:: :glob: From 72b33dcf1d2ee67eb18a7ba4ce29fab8afe9179c Mon Sep 17 00:00:00 2001 From: pushfoo <36696816+pushfoo@users.noreply.github.com> Date: Fri, 19 Jul 2024 11:36:36 -0400 Subject: [PATCH 4/6] Use max-depth tweak on example code hidden toctree --- doc/example_code/index.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/example_code/index.rst b/doc/example_code/index.rst index 2364b6e265..a57dd48ea4 100644 --- a/doc/example_code/index.rst +++ b/doc/example_code/index.rst @@ -9,6 +9,7 @@ Examples .. toctree:: :glob: :hidden: + :max-depth: 1 [a-h]* [j-z]* From 969dfb758f477d86ecca0bfa1fc8bc46089f2f75 Mon Sep 17 00:00:00 2001 From: pushfoo <36696816+pushfoo@users.noreply.github.com> Date: Fri, 19 Jul 2024 12:37:28 -0400 Subject: [PATCH 5/6] Tweak some example headings for better sort --- doc/example_code/index.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/example_code/index.rst b/doc/example_code/index.rst index a57dd48ea4..2afb084248 100644 --- a/doc/example_code/index.rst +++ b/doc/example_code/index.rst @@ -30,11 +30,11 @@ Starting Templates :ref:`template_platformer` -Primitives ----------- +Drawing Shapes +-------------- -Drawing Primitives -^^^^^^^^^^^^^^^^^^ +Basic Shape Drawing +^^^^^^^^^^^^^^^^^^^ .. figure:: images/thumbs/happy_face.png :figwidth: 170px @@ -66,8 +66,8 @@ Drawing Primitives :ref:`drawing_text_objects_batch` -Animating Drawing Primitives -^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Animating Basic Shape Drawing +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. figure:: images/thumbs/bouncing_rectangle.png :figwidth: 170px @@ -95,8 +95,8 @@ Animating Drawing Primitives .. _shape-element-lists: -Faster Drawing with ShapeElementLists -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Faster Shapes with ShapeElementLists +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. figure:: images/thumbs/shape_list_demo.png :figwidth: 170px From 61035e78097fe815115f462928ca9a911a73141a Mon Sep 17 00:00:00 2001 From: pushfoo <36696816+pushfoo@users.noreply.github.com> Date: Sat, 20 Jul 2024 11:37:59 -0400 Subject: [PATCH 6/6] Fix maxdepth --- doc/example_code/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/example_code/index.rst b/doc/example_code/index.rst index 2afb084248..bc737bd2d3 100644 --- a/doc/example_code/index.rst +++ b/doc/example_code/index.rst @@ -9,7 +9,7 @@ Examples .. toctree:: :glob: :hidden: - :max-depth: 1 + :maxdepth: 1 [a-h]* [j-z]*