X Tutup
Skip to content

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

Merged
tacaswell merged 1 commit intomatplotlib:masterfrom
jenshnielsen:indexfallback
Jan 3, 2016
Merged

Index.html template. Only insert snippet if found#5789
tacaswell merged 1 commit intomatplotlib:masterfrom
jenshnielsen:indexfallback

Conversation

@jenshnielsen
Copy link
Copy Markdown
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.

3 participants

X Tutup