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

Generated index page with context #935

Open
tnozicka opened this issue Oct 25, 2023 · 0 comments
Open

Generated index page with context #935

tnozicka opened this issue Oct 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@tnozicka
Copy link
Member

When I click on a hierarchical menu item, that contains subpages

image

I'd like to generate an index page that is guaranteed to contain a link to every subpage. This can be done today with

==========================================================
Support
==========================================================

.. toctree::
   :titlesonly:
   :maxdepth: 1

   overview
   known-issues
   troubleshooting/index
   must-gather

but the page isn't very pretty

Screenshot from 2023-10-25 09-58-42

I'd like to enrich it with a paragraph for each item, possibly loaded from the first paragraph under the title in the particular file, or something like that. So it ends up looking like this

Screenshot from 2023-10-25 10-02-28

Is there a way to achieve this with our theme? I can live with adding the items manually but something needs to make sure every page is mentioned, like in the case of the toctree so the list doesn't get outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants