sphinx_press_theme icon indicating copy to clipboard operation
sphinx_press_theme copied to clipboard

Nested toctree seems not worked

Open gigi206 opened this issue 4 years ago • 5 comments

It seems that nested tooctree doesn't work.

I put in conf.py file

master_doc = "contents"

And in the content.rst file:

.. toctree::

    installation/index
    modules/index
    tools/index
    faq
    glossary

In the module/index.rst file I have also a toctree but when I'm on modules/index.html page I don't see in the tocside what is included from the modules/index.html.

Note that it works with readthedocs theme.

gigi206 avatar Nov 23 '19 16:11 gigi206

I try to understand, nested toc is not supported yet ? https://github.com/schettino72/sphinx_press_theme/blob/81444cf2a520cae10dbe9aee56f6b193c3ede1e1/sphinx_press_theme/init.py#L97

gigi206 avatar Nov 23 '19 22:11 gigi206

Is there a simple way to modify this? We would also like for this to work

MatinF avatar Apr 09 '20 19:04 MatinF

It is a very good theme but unfinished :(

gigi206 avatar Apr 09 '20 19:04 gigi206

Hm so you did not try to modify this via e.g. a custom html file or similar? It's the last thing I'm missing for this theme to work for our needs :-/

MatinF avatar Apr 09 '20 19:04 MatinF

No because I think you need to do some python work to treat with the sphinx lib.

gigi206 avatar Apr 09 '20 19:04 gigi206