-
Notifications
You must be signed in to change notification settings - Fork 322
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
Add breadcrumb navigation #680
Comments
I'm starting out with sphinx and custom theming, so I don't feel comfortable filing a PR yet, but this can be achieved with custom templates using something like below. {% set parent_module = obj.id.split('.')[:-1] | join('.') | escape %}
.. breadcrumb:
{% if parent_module %}
Back to :mod:`{{ parent_module }}`
{% endif %}
.. title:
{{ obj.short_name }}
{{ "=" * obj.short_name | length }}
|
I'm also new to Sphinx and to theming -- where would the above go to make it work...? Pm |
Hiya these would go in the Jinja templates. Which templates that are used depend on your extensions. i use This has nothing to do with Cheers |
Discussed in #139
The text was updated successfully, but these errors were encountered: