myyasuda / sphinx_materialdesign_theme

Material Design Html Theme for Sphinx.
https://myyasuda.github.io/sphinx_materialdesign_theme/
MIT License
69 stars 38 forks source link

TemplateAssertionError: no filter named 'globaltoc' #1

Closed enbock closed 6 years ago

enbock commented 6 years ago

Since v0.1.8 I get follow error.

I belive, I need to install somehtings, but I don't know what.

Can anyone help?

$ sphinx-build -a . _build/html

Running Sphinx v1.7.1
loading translations [de]... done
making output directory...
loading pickled environment... not yet created
building [mo]: all of 0 po files
building [html]: all source files
updating environment: 100 added, 0 changed, 0 removed
reading sources... [100%]
looking for now-outdated files...none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [  1%] doc/index
Exception occurred:
  File "/usr/lib/python2.7/site-packages/sphinx_materialdesign_theme/drawer.html", line 24, in template
    {{ toctree | globaltoc }}
TemplateAssertionError: no filter named 'globaltoc'
The full traceback has been saved in /tmp/sphinx-err-SPtZaO.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
myyasuda commented 6 years ago

I uploaded the modified version (0.1.10) to PyPI.
So, please try rebuilding your document with new version.

enbock commented 6 years ago

Thank you very much. That issue is fixed now ;)