Skip to content

Remove overriding of Sphinx templates #1946

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

Merged
merged 1 commit into from
Feb 28, 2016
Merged

Remove overriding of Sphinx templates #1946

merged 1 commit into from
Feb 28, 2016

Conversation

ericholscher
Copy link
Member

We are now doing this more reliably with Sphinx-level insertion.
Depends on readthedocs/readthedocs-sphinx-ext#13

This moves this logic from the layout.html to overriding it in Sphinx.
This will append it to the body of the Sphinx context,
which is what is added to pages when doing the template rendering.

This moves execution of our javascript to the bottom of the block,
which means we'll also need to remove the insertion of our JS until below this also.

Refs #152

@agjohnson
Copy link
Contributor

This wasn't triaged, is it WIP or complete? Do we need the JS piece here?

@ericholscher ericholscher added the PR: work in progress Pull request is not ready for full review label Jan 20, 2016
@agjohnson agjohnson added the Status: blocked Issue is blocked on another issue label Feb 19, 2016
@agjohnson agjohnson added this to the rtd-build milestone Feb 19, 2016
@ericholscher ericholscher added PR: ready for review and removed PR: work in progress Pull request is not ready for full review Status: blocked Issue is blocked on another issue labels Feb 27, 2016
agjohnson added a commit that referenced this pull request Feb 28, 2016
Remove overriding of Sphinx templates
@agjohnson agjohnson merged commit 5cdd4f4 into master Feb 28, 2016
@agjohnson agjohnson deleted the remove-layout-html branch February 28, 2016 00:58
stsewd added a commit to stsewd/readthedocs.org that referenced this pull request Dec 26, 2018
This is already handled by the rtd-sphinx-extension.

We don't override the template from rtd (readthedocs#1946)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants