astropy/astropy — pull request #347 by mdboom (2012-08-16 22:35:01+00:00)
Title: Add "Edit on Github" links to the documentation.

This is a first pass at adding "Edit on Github" links to the documentation mentioned in #329.

This works in a similar way to the feature in Plone it that it links to the source file in the github tree which then gives the user the opportunity to press the "Edit" button and then submit a pull request.

This is completely new code, however -- the Plone feature doesn't allow for editing docstrings, only the flat RST files.

It seems to be quite functional, but it's ugly as all get out :) Perhaps someone with more HTML/CSS fu can help with that aspect.