Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Doc multi version master#1100

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mdboom merged 16 commits intomatplotlib:masterfrommdboom:doc_multi_version_master
Aug 19, 2012

Conversation

mdboom
Copy link
Member

This is#1067 rebased against master. There shouldn't be too much to vet here, except for@pelson's benefit to see how the changes toboilerplate.py were handled.

There was no need to generate a colormap list in this case, since master already has a correct and autogenerated list of colormaps thanks to the work by@endolith.

It was not possible to generate theplotting docstring inboilerplate.py, sinceboilerplate.py doesn't know about any of the hard-coded functions inpyplot.py (gca,gcf etc.) -- ideally at some point all that stuff should probably be cleaned up, but this is working for now.

 stix_fonts_demo.py fails with bad refcount
This allows for multiple versions of the matplotlib documentation tobe made available.  The scheme is that the rootdocumentation (i.e.http://matplotlib.sf.net/) will always be thelatest stable version.  Other versions of the documentation will beavailable in subdirectories off of the root (the latest stable versionis merely a symlink or redirect back to the root).  This is the sameconvention used by "docs.python.org", as an aside.The index.html page uses some JavaScript to load a little snippet ofHTML from "/versions.html" that lists the available versions."versions.html" is not part of this repository, but is part of thematplotlib.github.com repository and is updated by hand whenever newversions are added or removed from the archive.  This approach allowsall versions of the documentation to point to all other versions ofthe documentation.  This JavaScript XMLHttpRequest magic doesn'thappen when the user is viewing static files on their local machine,and this is a happy coincidence.The perhaps controversial outcome of this change is that the summarylist of plotting commands is removed from the front page.  For one, wewant to steer people toward the version of the documentation thatcorresponds to the version they are running.  Also, this was amanually created list, and has become quite out of date over time.Better, IMHO, to link to the pyplot documentation.This freed up room to move much of the content that existed in thesidebar to the main body, where I feel it's much less buried.  I planto add a lot more external resources and links, so having the room todo this would be very helpful.Adds a "Fork me on Github" banner.
Support multi-version documentation on the website
…_masterConflicts:boilerplate.pylib/matplotlib/image.pylib/matplotlib/pyplot.py
@mdboom
Copy link
MemberAuthor

Note also: There are a ton of warnings and errors in the master doc build right now. I will create another pull request for that.

mdboom added a commit that referenced this pull requestAug 19, 2012
@mdboommdboom merged commitb3f6783 intomatplotlib:masterAug 19, 2012
@mdboommdboom deleted the doc_multi_version_master branchMarch 3, 2015 18:43
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@mdboom@pelson

[8]ページ先頭

©2009-2025 Movatter.jp