Permalink
Browse files

Merge pull request #1067 from mdboom/doc_multi_version

Support multi-version documentation on the website
  • Loading branch information...
2 parents c9c108e + fe2e95d commit 1057eede4e1b52b9280bff3ad4b9cc21d6edb082 @mdboom mdboom committed Aug 17, 2012
View
@@ -20,7 +20,7 @@
_fmtplot = """\
# This function was autogenerated by boilerplate.py. Do not edit as
# changes will be lost
-@autogen_docstring(Axes.%(func)s)
+@_autogen_docstring(Axes.%(func)s)
def %(func)s(%(argspec)s):
%(ax)s = gca()
# allow callers to override the hold state by passing hold=True|False
@@ -246,3 +246,12 @@ def %(name)s():
for name in cmaps:
print _fmtcmap%locals()
+print "# This function was autogenerated by boilerplate.py"
+print "def _colormaps():"
+print " return ["
+for name in cmaps:
+ print " %r," % name
+print " ]"
+
+print
+print "_setup_pyplot_info_docstrings()"
Oops, something went wrong.

0 comments on commit 1057eed

Please sign in to comment.