Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Changed tests.builddocs to handle ReST double-backquotes (albeit naiv…


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7b6c472167cb8e0f66286c75e76f4f326e5caa56 1 parent b3e8b20
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  tests/
1  tests/
@@ -34,6 +34,7 @@ def make_docs_from_model_tests(output_dir):
# Clean up the title and blurb.
title, blurb = mod.__doc__.strip().split('\n', 1)
blurb = '<p>%s</p>' % blurb.strip().replace('\n\n', '</p><p>')
+ blurb = re.sub(r'``(.*?)``', '<tt class="docutils literal"><span class="pre">\\1</span></tt>', blurb)
api_usage = mod.API_TESTS
# Get the source code of the model, without the docstring or the

0 comments on commit 7b6c472

Please sign in to comment.
Something went wrong with that request. Please try again.