Hello, I'm starting a sphinx project and i would like to customized the nature builtin theme. The "make html" build phase failed with an error : TemplateAssertionError: no filter named 'toint'
I've copied the whole nature theme source directory in my project as this : ├── build / │ ├── doctrees / │ │ ├── ... │ ├── html / │ │ ├─── ... ├── make.bat ├── Makefile └── source ├── make.bat ├── Makefile └── source / ├── conf.py ├── index.rst ├── _static / ├── _templates / └── theme / ├── nature / ├── static │ └── nature.css_t └── theme.conf In source/conf.py i have the following configuration : html_theme = 'nature' html_theme_options = {} html_theme_path = ['theme'] Any help ? Here is the full stack trace : # Sphinx version: 1.0.7 # Python version: 2.6.5 # Docutils version: 0.7 release # Jinja2 version: 2.5.5 Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/Sphinx-1.0.7-py2.6.egg/ sphinx/cmdline.py", line 188, in main app.build(force_all, filenames) File "/usr/local/lib/python2.6/dist-packages/Sphinx-1.0.7-py2.6.egg/ sphinx/application.py", line 207, in build self.builder.build_update() File "/usr/local/lib/python2.6/dist-packages/Sphinx-1.0.7-py2.6.egg/ sphinx/builders/__init__.py", line 198, in build_update 'out of date' % len(to_build)) File "/usr/local/lib/python2.6/dist-packages/Sphinx-1.0.7-py2.6.egg/ sphinx/builders/__init__.py", line 257, in build self.finish() File "/usr/local/lib/python2.6/dist-packages/Sphinx-1.0.7-py2.6.egg/ sphinx/builders/html.py", line 451, in finish self.copy_static_files() File "/usr/local/lib/python2.6/dist-packages/Sphinx-1.0.7-py2.6.egg/ sphinx/builders/html.py", line 545, in copy_static_files self, self.globalcontext) File "/usr/local/lib/python2.6/dist-packages/Sphinx-1.0.7-py2.6.egg/ sphinx/util/__init__.py", line 157, in copy_static_entry exclude_matchers=exclude_matchers) File "/usr/local/lib/python2.6/dist-packages/Sphinx-1.0.7-py2.6.egg/ sphinx/util/__init__.py", line 145, in copy_static_entry fdst.write(builder.templates.render_string(fsrc.read(), context)) File "/usr/local/lib/python2.6/dist-packages/Sphinx-1.0.7-py2.6.egg/ sphinx/jinja2glue.py", line 121, in render_string return self.environment.from_string(source).render(context) File "/usr/local/lib/python2.6/dist-packages/Jinja2-2.5.5-py2.6.egg/ jinja2/environment.py", line 766, in from_string return cls.from_code(self, self.compile(source), globals, None) File "/usr/local/lib/python2.6/dist-packages/Jinja2-2.5.5-py2.6.egg/ jinja2/environment.py", line 492, in compile self.handle_exception(exc_info, source_hint=source) File "<unknown>", line 52, in template TemplateAssertionError: no filter named 'toint' -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.