Skip to contentSkip to conversation

docs/sphinx: Fix FUSA indexing

PATCH In review Andrew Cooper 3 participants 3 messages Nov 22, 2024 – Nov 23, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/sphinx: Fix FUSA indexing

Sphinx complains:

docs/fusa/index.rst:6: WARNING: toctree contains reference to nonexisting document 'fusa/reqs' docs/fusa/reqs/index.rst:6: WARNING: toctree contains reference to nonexisting document 'fusa/reqs/market-reqs' docs/fusa/reqs/index.rst:6: WARNING: toctree contains reference to nonexisting document 'fusa/reqs/product-reqs' docs/fusa/reqs/index.rst:6: WARNING: toctree contains reference to nonexisting document 'fusa/reqs/design-reqs/arm64'

docs/fusa/index.rst: WARNING: document isn't included in any toctree docs/fusa/reqs/design-reqs/arm64/generic-timer.rst: WARNING: document isn't included in any toctree docs/fusa/reqs/design-reqs/arm64/sbsa-uart.rst: WARNING: document isn't included in any toctree docs/fusa/reqs/index.rst: WARNING: document isn't included in any toctree docs/fusa/reqs/market-reqs/reqs.rst: WARNING: document isn't included in any toctree docs/fusa/reqs/product-reqs/arm64/reqs.rst: WARNING: document isn't included in any toctree

Fix the toctrees.

---
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>

I'm also going to prioritise getting a docs test in Gitlab CI.

---
 docs/fusa/index.rst      | 2 +-
 docs/fusa/reqs/index.rst | 7 ++++---
 docs/index.rst           | 1 +
 3 files changed, 6 insertions(+), 4 deletions(-)
docs/fusa/index.rst +1 -1
index 13bf4e8e23f1..5f1e8acfc429 100644
@@ -6,4 +6,4 @@ Functional Safety documentation
 .. toctree::
    :maxdepth: 2
 
-   reqs
+   reqs/index
docs/fusa/reqs/index.rst +4 -3
index 183f183b1f8c..8a4dae6fb249 100644
@@ -7,6 +7,7 @@ Requirements documentation
    :maxdepth: 2
 
    intro
-   market-reqs
-   product-reqs
-   design-reqs/arm64
+   market-reqs/reqs
+   product-reqs/arm64/reqs
+   design-reqs/arm64/generic-timer
+   design-reqs/arm64/sbsa-uart
docs/index.rst +1 -0
index ab051a0f3833..1d44796d7296 100644
@@ -65,6 +65,7 @@ Documents in need of some rearranging.
    designs/launch/hyperlaunch-devicetree
    misc/xen-makefiles/makefiles
    misra/index
+   fusa/index
 
 
 Miscellanea

base-commit: c0bf8816c9e2a4701c925d8b23abfda5990a0087
prerequisite-patch-id: c6d7da051cd408c9f38d32ecdd24807bfbe619d1

Signature · 1 line
2.39.5
#1 lore raw

+Ayan

Quoted 72 lines · Andrew Cooper

Sphinx complains:

docs/fusa/index.rst:6: WARNING: toctree contains reference to nonexisting document 'fusa/reqs' docs/fusa/reqs/index.rst:6: WARNING: toctree contains reference to nonexisting document 'fusa/reqs/market-reqs' docs/fusa/reqs/index.rst:6: WARNING: toctree contains reference to nonexisting document 'fusa/reqs/product-reqs' docs/fusa/reqs/index.rst:6: WARNING: toctree contains reference to nonexisting document 'fusa/reqs/design-reqs/arm64'

docs/fusa/index.rst: WARNING: document isn't included in any toctree docs/fusa/reqs/design-reqs/arm64/generic-timer.rst: WARNING: document isn't included in any toctree docs/fusa/reqs/design-reqs/arm64/sbsa-uart.rst: WARNING: document isn't included in any toctree docs/fusa/reqs/index.rst: WARNING: document isn't included in any toctree docs/fusa/reqs/market-reqs/reqs.rst: WARNING: document isn't included in any toctree docs/fusa/reqs/product-reqs/arm64/reqs.rst: WARNING: document isn't included in any toctree

Fix the toctrees.

---
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>

I'm also going to prioritise getting a docs test in Gitlab CI.

---
 docs/fusa/index.rst      | 2 +-
 docs/fusa/reqs/index.rst | 7 ++++---
 docs/index.rst           | 1 +
 3 files changed, 6 insertions(+), 4 deletions(-)
docs/fusa/index.rst +1 -1
index 13bf4e8e23f1..5f1e8acfc429 100644
@@ -6,4 +6,4 @@ Functional Safety documentation
 .. toctree::
    :maxdepth: 2
 
-   reqs
+   reqs/index
docs/fusa/reqs/index.rst +4 -3
index 183f183b1f8c..8a4dae6fb249 100644
@@ -7,6 +7,7 @@ Requirements documentation
    :maxdepth: 2
 
    intro
-   market-reqs
-   product-reqs
-   design-reqs/arm64
+   market-reqs/reqs
+   product-reqs/arm64/reqs
+   design-reqs/arm64/generic-timer
+   design-reqs/arm64/sbsa-uart
docs/index.rst +1 -0
index ab051a0f3833..1d44796d7296 100644
@@ -65,6 +65,7 @@ Documents in need of some rearranging.
    designs/launch/hyperlaunch-devicetree
    misc/xen-makefiles/makefiles
    misra/index
+   fusa/index
 
 
 Miscellanea

base-commit: c0bf8816c9e2a4701c925d8b23abfda5990a0087
prerequisite-patch-id: c6d7da051cd408c9f38d32ecdd24807bfbe619d1

Signature · 1 line
2.39.5
Reviewed-by on v1 1/1
#2 lore raw
In reply to Andrew Cooper
Quoted 17 lines · Andrew Cooper

CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email.

Sphinx complains:

docs/fusa/index.rst:6: WARNING: toctree contains reference to nonexisting document 'fusa/reqs' docs/fusa/reqs/index.rst:6: WARNING: toctree contains reference to nonexisting document 'fusa/reqs/market-reqs' docs/fusa/reqs/index.rst:6: WARNING: toctree contains reference to nonexisting document 'fusa/reqs/product-reqs' docs/fusa/reqs/index.rst:6: WARNING: toctree contains reference to nonexisting document 'fusa/reqs/design-reqs/arm64'

docs/fusa/index.rst: WARNING: document isn't included in any toctree docs/fusa/reqs/design-reqs/arm64/generic-timer.rst: WARNING: document isn't included in any toctree docs/fusa/reqs/design-reqs/arm64/sbsa-uart.rst: WARNING: document isn't included in any toctree docs/fusa/reqs/index.rst: WARNING: document isn't included in any toctree docs/fusa/reqs/market-reqs/reqs.rst: WARNING: document isn't included in any toctree docs/fusa/reqs/product-reqs/arm64/reqs.rst: WARNING: document isn't included in any toctree

Quoted 3 lines

Fix the toctrees.