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

The toctree is not formed #33

Open
dimaliv opened this issue Nov 8, 2019 · 2 comments
Open

The toctree is not formed #33

dimaliv opened this issue Nov 8, 2019 · 2 comments

Comments

@dimaliv
Copy link

dimaliv commented Nov 8, 2019

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".

@gigi206
Copy link

gigi206 commented Nov 23, 2019

Same issue here :(

The toc does not appear.

@gigi206
Copy link

gigi206 commented Nov 23, 2019

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

master_doc = "contents"

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

No branches or pull requests

2 participants