diff --git a/README.rst b/README.rst index cf31d2b7cbc..af33946ee4a 100644 --- a/README.rst +++ b/README.rst @@ -121,13 +121,13 @@ support systems: .. _Slack Invite: https://tinyurl.com/yarkuemx .. _Slack: https://zephyrproject.slack.com -.. _supported boards: http://docs.zephyrproject.org/latest/boards/boards.html +.. _supported boards: http://docs.zephyrproject.org/latest/boards .. _Zephyr Documentation: http://docs.zephyrproject.org -.. _Zephyr Introduction: http://docs.zephyrproject.org/latest/introduction/introducing_zephyr.html -.. _Getting Started Guide: http://docs.zephyrproject.org/latest/getting_started/getting_started.html -.. _Contribution Guide: http://docs.zephyrproject.org/latest/contribute/index.html +.. _Zephyr Introduction: http://docs.zephyrproject.org/latest/introduction +.. _Getting Started Guide: http://docs.zephyrproject.org/latest/getting_started +.. _Contribution Guide: http://docs.zephyrproject.org/latest/contribute .. _Zephyr GitHub wiki: https://github.com/zephyrproject-rtos/zephyr/wiki .. _Zephyr Development mailing list: https://lists.zephyrproject.org/g/devel .. _Zephyr mailing list subgroups: https://lists.zephyrproject.org/g/main/subgroups -.. _Sample and Demo Code Examples: http://docs.zephyrproject.org/latest/samples/samples.html -.. _Security Overview: http://docs.zephyrproject.org/latest/security/security-overview.html +.. _Sample and Demo Code Examples: http://docs.zephyrproject.org/latest/samples +.. _Security Overview: http://docs.zephyrproject.org/latest/security diff --git a/boards/boards.rst b/boards/index.rst similarity index 100% rename from boards/boards.rst rename to boards/index.rst diff --git a/cmake/host-tools.cmake b/cmake/host-tools.cmake index a24675bb81e..880c1bfb90e 100644 --- a/cmake/host-tools.cmake +++ b/cmake/host-tools.cmake @@ -33,7 +33,7 @@ if(${CMAKE_MATCH_1} VERSION_LESS ${MIN_DTC_VERSION}) assert(0 "The detected dtc version is unsupported. \n\ The version was found to be ${CMAKE_MATCH_1} \n\ But the minimum supported version is ${MIN_DTC_VERSION} \n\ - See https://docs.zephyrproject.org/latest/getting_started/getting_started.html \n\ + See https://docs.zephyrproject.org/latest/getting_started/ \n\ for how to use the SDK's dtc alongside a custom toolchain." ) endif() diff --git a/doc/application/application.rst b/doc/application/index.rst similarity index 100% rename from doc/application/application.rst rename to doc/application/index.rst diff --git a/doc/conf.py b/doc/conf.py index 48561a68da9..8ac708911b9 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -288,7 +288,21 @@ htmlhelp_basename = 'zephyrdoc' # # list of tuples (old_url, new_url) for pages to redirect # (URLs should be relative to document root, only) -html_redirect_pages = [('contribute/contribute_guidelines', 'contribute/index'),] +html_redirect_pages = [ + ('contribute/contribute_guidelines', 'contribute/index'), + ('application/application', 'application/index.rst'), + ('security/security', 'security/index'), + ('boards/boards', 'boards/index'), + ('samples/samples', 'samples/index'), + ('releases/release-notes', 'releases/index'), + ('getting_started/getting_starting', 'getting_started/index'), + ('introduction/introducing_zephyr', 'introduction/index'), + ('api/index', 'reference/index'), + ('api/api', 'reference/index'), + ('subsystems/subsystems', 'reference/index'), + ('kernel/kernel', 'reference/kernel/index'), + + ] # -- Options for LaTeX output --------------------------------------------- diff --git a/doc/getting_started/getting_started.rst b/doc/getting_started/index.rst similarity index 100% rename from doc/getting_started/getting_started.rst rename to doc/getting_started/index.rst diff --git a/doc/index.rst b/doc/index.rst index d3e7d44d030..a4485c7cec0 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -34,14 +34,14 @@ licensing, as described in :ref:`Zephyr_Licensing`.