diff --git a/doc/_scripts/gen_kconfig_rest.py b/doc/_scripts/gen_kconfig_rest.py index 0aa7772e29..e5a8bb5596 100755 --- a/doc/_scripts/gen_kconfig_rest.py +++ b/doc/_scripts/gen_kconfig_rest.py @@ -446,8 +446,11 @@ def index_header(title, link, desc_path): f"'{desc_path}': {e}") return f"""\ +:orphan: + .. _{link}: + {title} {len(title)*'='} diff --git a/doc/index.rst b/doc/index.rst index 1e1f2dadfd..bebc25b571 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -31,11 +31,6 @@ Zephyr Project Documentation imports or reuses packages, scripts, and other files that use other licensing, as described in :ref:`Zephyr_Licensing`. -.. _Apache 2.0 license: - https://github.com/zephyrproject-rtos/zephyr/blob/main/LICENSE - -.. _GitHub repo: https://github.com/zephyrproject-rtos/zephyr - .. raw:: html @@ -130,6 +125,11 @@ Zephyr Project Documentation .. only:: html + * :ref:`configuration_options` * :ref:`glossary` - * :ref:`genindex` + +.. _Apache 2.0 license: + https://github.com/zephyrproject-rtos/zephyr/blob/main/LICENSE + +.. _GitHub repo: https://github.com/zephyrproject-rtos/zephyr diff --git a/doc/reference/index.rst b/doc/reference/index.rst index 941e1ddf92..0325cfa017 100644 --- a/doc/reference/index.rst +++ b/doc/reference/index.rst @@ -10,7 +10,6 @@ API Reference audio/index.rst misc/notify.rst bluetooth/index.rst - kconfig/index.rst crypto/index.rst devicetree/index.rst drivers/index.rst