diff --git a/docs/ads/systems_integration/computer_placement.md b/docs/systems/automotive/overview.md similarity index 100% rename from docs/ads/systems_integration/computer_placement.md rename to docs/systems/automotive/overview.md diff --git a/docs/ads/actuation_control/overview.md b/docs/systems/electronics/overview.md similarity index 100% rename from docs/ads/actuation_control/overview.md rename to docs/systems/electronics/overview.md diff --git a/docs/ads/systems_integration/lidar_placement.md b/docs/systems/integration/computer_placement.md similarity index 100% rename from docs/ads/systems_integration/lidar_placement.md rename to docs/systems/integration/computer_placement.md diff --git a/docs/ads/systems_integration/zed2i_placement.md b/docs/systems/integration/lidar_placement.md similarity index 100% rename from docs/ads/systems_integration/zed2i_placement.md rename to docs/systems/integration/lidar_placement.md diff --git a/docs/ads/systems_integration/overview.md b/docs/systems/integration/overview.md similarity index 100% rename from docs/ads/systems_integration/overview.md rename to docs/systems/integration/overview.md diff --git a/docs/systems/integration/zed2i_placement.md b/docs/systems/integration/zed2i_placement.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/ads/aiads_interface/overview.md b/docs/systems/interface/overview.md similarity index 100% rename from docs/ads/aiads_interface/overview.md rename to docs/systems/interface/overview.md diff --git a/docs/ads/aiads_interface/raspberrypi.md b/docs/systems/interface/raspberrypi.md similarity index 100% rename from docs/ads/aiads_interface/raspberrypi.md rename to docs/systems/interface/raspberrypi.md diff --git a/docs/systems/mechatronics/overview.md b/docs/systems/mechatronics/overview.md new file mode 100644 index 0000000..e69de29 diff --git a/mkdocs.yml b/mkdocs.yml index 54fa858..4e0c21b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -74,12 +74,21 @@ plugins: timezone: Europe/Dublin locale: en - mermaid2 + - redirects: + redirect_maps: + ads/systems_integration/overview.md: systems/integration/overview.md + ads/systems_integration/computer_placement.md: systems/integration/computer_placement.md + ads/systems_integration/zed2i_placement.md: systems/integration/zed2i_placement.md + ads/systems_integration/lidar_placement.md: systems/integration/lidar_placement.md + ads/aiads_interface/overview.md: systems/interface/overview.md + ads/aiads_interface/raspberrypi.md: systems/interface/raspberrypi.md + ads/actuation_control/overview.md: systems/electronics/overview.md nav: # This is the structure of the sidebar - Home: index.md - Hall of Fame: hall_of_fame.md - - Departments: + - Software: - Perception: - Overview: departments/perception/overview.md - Theory: departments/perception/theory.md @@ -125,17 +134,21 @@ nav: # This is the structure of the sidebar - Lunchy: departments/hardware/mechanical/mount/lunchy.md - Modem: departments/hardware/mechanical/mount/modem.md - Rigby: departments/hardware/mechanical/rigby.md - - ADS: - - Systems Integration: - - Overview: ads/systems_integration/overview.md - - Computer Placement: ads/systems_integration/computer_placement.md - - Zed2i Placement: ads/systems_integration/zed2i_placement.md - - LiDar Placement: ads/systems_integration/lidar_placement.md - - AI/ADS Interface: - - Overview: ads/aiads_interface/overview.md - - Raspberry Pi Setup: ads/aiads_interface/raspberrypi.md - - Actuation Control: - - Overview: ads/actuation_control/overview.md + - Systems: + - Automotive: + - Overview: systems/automotive/overview.md + - Mechatronics: + - Overview: systems/mechatronics/overview.md + - Electronics: + - Overview: systems/electronics/overview.md + - Integration: + - Overview: systems/integration/overview.md + - Computer Placement: systems/integration/computer_placement.md + - Zed2i Placement: systems/integration/zed2i_placement.md + - LiDar Placement: systems/integration/lidar_placement.md + - Interface: + - Overview: systems/interface/overview.md + - Raspberry Pi Setup: systems/interface/raspberrypi.md - Resources: - General Competition Info: resources/competition.md - General Git Info: resources/git.md diff --git a/requirements.txt b/requirements.txt index 76b655d..672acc5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,3 +17,6 @@ mkdocs-glightbox # Mermaid diagrams plugin mkdocs-mermaid2-plugin +# Preserve existing ADS page URLs after the Systems reorganisation. +mkdocs-redirects==1.2.2 +