Skip to content
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

Index.html template. Only insert snippet if found #5789

Merged
merged 1 commit into from Jan 3, 2016

Conversation

jenshnielsen
Copy link
Member

If you build a local copy of the documentation for preview such as
http://jenshnielsen.github.io/matplotlib/ the main index.html page rendering is broken because
versions.html is not found. This results in a github 404 page being inserted into the page which breaks the formatting of the webpage.

This PR changes the javascript function to insert an error message rather than the 404 page if the Snippet is not found.

tacaswell added a commit that referenced this pull request Jan 3, 2016
Index.html template. Only insert snippet if found
@tacaswell tacaswell merged commit f6fca8a into matplotlib:master Jan 3, 2016
@jenshnielsen jenshnielsen deleted the indexfallback branch January 3, 2016 15:03
@QuLogic QuLogic added this to the proposed next point release (2.1) milestone Jan 4, 2016
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.

None yet

3 participants