Skip to content

Commit

Permalink
limit table of contents in guides to depth of 2 (#11166)
Browse files Browse the repository at this point in the history
* limit table of contents in guides to depth of 2

* typo #11166

* add link to PR #11166
  • Loading branch information
pdurbin authored Feb 11, 2025
1 parent 106fb6f commit f4380ea
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions doc/release-notes/guides-toc-depth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Guides Table of Contents Depth

On the home page for each guide (User Guide, etc.) there was an overwhelming amount of information in the form of a deeply nested tabled of contents. The depth of the table of contents has been reduced to two levels, making the home page for each guide more readable. See #11166.
1 change: 1 addition & 0 deletions doc/sphinx-guides/source/admin/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This guide documents the functionality only available to superusers (such as "da
**Contents:**

.. toctree::
:maxdepth: 2

dashboard
external-tools
Expand Down
3 changes: 2 additions & 1 deletion doc/sphinx-guides/source/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ API Guide
**Contents:**

.. toctree::
:maxdepth: 2

intro
getting-started
Expand All @@ -24,4 +25,4 @@ API Guide
linkeddatanotification
apps
faq
changelog
changelog
1 change: 1 addition & 0 deletions doc/sphinx-guides/source/container/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Container Guide
**Contents:**

.. toctree::
:maxdepth: 2

intro
running/index
Expand Down
2 changes: 1 addition & 1 deletion doc/sphinx-guides/source/contributor/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Thank you for your interest in contributing to Dataverse! We are open to contri

```{contents} Contents:
:local:
:depth: 3
:depth: 2
```

## Ideas and Feature Requests
Expand Down
1 change: 1 addition & 0 deletions doc/sphinx-guides/source/developers/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Developer Guide
**Contents:**

.. toctree::
:maxdepth: 2

intro
dev-environment
Expand Down
1 change: 1 addition & 0 deletions doc/sphinx-guides/source/installation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Installation Guide
**Contents:**

.. toctree::
:maxdepth: 2

intro
prep
Expand Down
2 changes: 2 additions & 0 deletions doc/sphinx-guides/source/qa/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# QA Guide

```{toctree}
:caption: "Contents:"
:maxdepth: 2
overview.md
testing-approach.md
testing-infrastructure.md
Expand Down
1 change: 1 addition & 0 deletions doc/sphinx-guides/source/style/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This style guide is meant to help developers implement clear and appropriate UI
**Contents:**

.. toctree::
:maxdepth: 2

foundations
patterns
Expand Down
1 change: 1 addition & 0 deletions doc/sphinx-guides/source/user/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ User Guide
**Contents:**

.. toctree::
:maxdepth: 2

account
find-use-data
Expand Down

0 comments on commit f4380ea

Please sign in to comment.