Docs: Link the Docs + Small Fixes
Change-Id: I129f7ac3173a1cdf5b99801702b73dda1f05c115
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
diff --git a/docs/conf.py b/docs/conf.py
index da80cd3..c7cec9d 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -50,8 +50,17 @@
'sphinxcontrib.plantuml', #Add support for PlantUML drawings
'sphinxcontrib.rsvgconverter', #Add support for SVG to PDF
'sphinx_tabs.tabs', #Enable tab extension in Sphinx
+ 'sphinx.ext.intersphinx', #Enable Intersphinx
]
+intersphinx_mapping = {
+ "TF-M-Tests": ("https://trustedfirmware-m.readthedocs.io/projects/tf-m-tests/en/latest/", None),
+ "TF-M-Tools": ("https://trustedfirmware-m.readthedocs.io/projects/tf-m-tools/en/latest/", None),
+ "TF-M": ("https://trustedfirmware-m.readthedocs.io/en/latest/", None),
+}
+
+intersphinx_disabled_reftypes = ["*"]
+
# Make auto section labels generated be prefixed with file name.
autosectionlabel_prefix_document=True
# Add auto section label for level 2 headers only.
diff --git a/docs/index.rst b/docs/index.rst
index 89e5a81..3e74f3a 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -82,7 +82,7 @@
.. toctree::
:caption: Overview
- :maxdepth: 1
+ :titlesonly:
:hidden:
Partitions <partitions/index>
@@ -94,6 +94,8 @@
:hidden:
Trusted Firmware-M <https://trustedfirmware-m.readthedocs.io/en/latest/>
+ TF-M Tests <https://trustedfirmware-m.readthedocs.io/projects/tf-m-tests/en/latest/>
+ TF-M Tools <https://trustedfirmware-m.readthedocs.io/projects/tf-m-tools/en/latest/>
--------------