-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
autosummary: Allow customizing template environment #4030
Labels
Milestone
Comments
+1: Reasonable. |
@flying-sheep Do you still need such a feature? If true, I'll add |
Yes, It would be cleaner to do it that way for sure! |
Okay, I'll post a PR later. |
tk0miya
added a commit
to tk0miya/sphinx
that referenced
this issue
Apr 24, 2020
tk0miya
added a commit
that referenced
this issue
Apr 26, 2020
Close #4030: autosummary: Add autosummary_context
Great, thank you! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
the autosummary extension uses this code to create a jinja template environment.
there is no room for customization via conf.py, and users will have to modify e.g.
jinja2.defaults.DEFAULT_FILTERS
if they want to add filters for autosummary pages.it would be useful to have customization options like
html_context
, e.g. for usage like this: readthedocs/readthedocs-sphinx-ext#28The text was updated successfully, but these errors were encountered: