Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: mark toctree :hidden:, remove search/modindex #7

Merged
merged 1 commit into from
May 13, 2024

Conversation

cgay
Copy link
Member

@cgay cgay commented May 9, 2024

Package doc toctrees need to be marked :hidden: or their ToC will be included in the main opendylan.org ToC. That's not a problem, per se, but it also means (apparently) that the title of the document is included in the opendylan.org ToC, which I don't want; I want each package's ToC entry to be only the name of the package, for consistency.

Note that if the :hidden: toctree is the top-level toctree, the :hidden: annotation is ignored (at least by the Furo theme). So the toctree is still displayed in the left nav when the package's doc is deployed by itself, outside of opendylan.org.

Also removing the modindex, which is Python specific, and search which is not needed with the Furo theme.

Package doc toctrees need to be marked `:hidden:` or their ToC will be included
in the main opendylan.org ToC. That's not a problem, per se, but it also
means (apparently) that the title of the document is included in the
opendylan.org ToC, which I don't want; I want each package's ToC entry to be
only the name of the package, for consistency.

Also removing the `modindex`, which is Python specific, and `search` which is
not needed with the Furo theme.
@cgay cgay requested a review from fraya May 9, 2024 20:54
@cgay cgay merged commit 4e8f52c into dylan-lang:master May 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants