tardyp / sphinx-jinja

MIT License
29 stars 22 forks source link

Issue when adding custom filters #34

Open iSOLveIT opened 2 years ago

iSOLveIT commented 2 years ago

I am having a problem with implementing custom jinja filters for my sphinx documentation. This is what the code I added in my conf.py according to the sphinx-jinja documentation:

The filter is not applied when I build the documentation and I get this error instead: Reason: TemplateAssertionError("No filter named 'bold'.") I hope you can help me figure out what I am doing wrong. Thanks

tardyp commented 2 years ago

@aiudirog added this feature. There is a test for it in this commit

https://github.com/tardyp/sphinx-jinja/commit/5a794e07693c280cb3d7df34097164b95a143185

maybe this can help you to understand how it is supposed to be used.

iSOLveIT commented 2 years ago

Ok will check it out. Thanks