sphinx_press_theme icon indicating copy to clipboard operation
sphinx_press_theme copied to clipboard

The toctree is not formed

Open dimaliv opened this issue 4 years ago • 2 comments

The toctree is not formed if you attache the theme from local files. "conf.py":

html_theme = 'sphinx_press_theme'
html_theme_path = ['_themes', ]
html_sidebars = {'**': ['util/searchbox.html', 'util/sidetoc.html']}

"toctree_data" variable is empty in "util/sidetoc.html".

dimaliv avatar Nov 08 '19 09:11 dimaliv

Same issue here :(

The toc does not appear.

gigi206 avatar Nov 23 '19 15:11 gigi206

In fact, it works, I found how it works, you must add where to find the toc in conf.py file:

master_doc = "contents"

gigi206 avatar Nov 23 '19 15:11 gigi206