-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Only change current if a matching link is found #472
Conversation
Lgtm but I want to leave it up to @agjohnson because I do not do much Javascript. |
@Blendify @agjohnson I'm fine going ahead and forking, however I'm a little confused about the "grunt" aspect of this. When I tried this patch without whatever extra stuff @petermd did it did not work for me. Can you advise so I can do the right thing in the fork? Thank you. |
The correct thing to do is run |
Thanks. @petermd any chance you can do the extra PR? |
* commit '6c2302472fb2c61eec9b4be3a2515117fffbfac3': (253 commits) Add pygments_style to theme.conf Document new theme option Add option to layout.html Update theme.conf Apply clearfix on breadcrumbs Follow-up grunt for readthedocs#472 (readthedocs#476) Only change current if a matching link is found (readthedocs#472) Add a couple of badge icons to readme (readthedocs#471) Add Sphinx Framework for PyPi (readthedocs#470) Fix error in setup entry points (readthedocs#466) Added `.admonition` to the CSS (readthedocs#462) Use explicit UTF8 encoding (readthedocs#452) Add missing pygments css link Convert underscores to dashes. Reflect language in lang attribute. Replace master with v0.2.5 in README.rst Add missing dependency in dev setup: sphinxcontrib-httpdomain (readthedocs#431) Finalized readthedocs#418 (readthedocs#433) Added a link to the Sphinx documentation about setuptools entry points Added setuptools entry point for Sphinx ...
Fix for #397 to only reset
current
style and re-apply if a new candidate link has been found.Envoy docs have links with unresolved anchors, this fix avoids collapsing the L3/L4 headers if not matching link for the anchor is found.