ansys / ansys-sphinx-theme

PyData-based Sphinx theme from the PyAnsys community
https://sphinxdocs.ansys.com
MIT License
22 stars 5 forks source link

How to create submenu from index file #324

Open svandenb-dev opened 10 months ago

svandenb-dev commented 10 months ago

Description of the modifications

I am pointing rst file with different folders and would like to get a submenu or tree for each folder. Like this for instance

image

the doc looks like this: image

But the generate doc shows all pages on single block

image

how could we have trees hierarchy for each folder instead ?

repo : https://github.com/ansys-internal/pyansys-edb

thanks

Useful links and references

No response

MaxJPRey commented 10 months ago

@SMoraisAnsys you might want to have a look at mesh section of the AEDT API for instance:

image

Here is the code associated to it in the rst file: https://github.com/ansys/pyaedt/blob/main/doc/source/API/Mesh.rst

MaxJPRey commented 10 months ago

We might want to use the Sphinx autoapi feature. That should solve your problem.