Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

#10118: upgrade Sphinx to upstream version 1.0.4

Update doctests to conform to Sphinx 1.0.4.
  • Loading branch information...
commit 8a578e84e006cd814b7b93a022b6e7c536827427 1 parent d89a56e
Minh Van Nguyen authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 sagenb/misc/sphinxify.py
6 sagenb/misc/sphinxify.py
View
@@ -67,11 +67,11 @@ def sphinxify(docstring, format='html'):
sage: from sagenb.misc.sphinxify import sphinxify
sage: sphinxify('A test')
- '<div class="docstring">\n \n <p>A test</p>\n\n\n</div>'
+ '\n<div class="docstring">\n \n <p>A test</p>\n\n\n</div>'
sage: sphinxify('**Testing**\n`monospace`')
- '<div class="docstring"...<strong>Testing</strong>\n<span class="math"...</p>\n\n\n</div>'
+ '\n<div class="docstring"...<strong>Testing</strong>\n<span class="math"...</p>\n\n\n</div>'
sage: sphinxify('`x=y`')
- '<div class="docstring">\n \n <p><span class="math">x=y</span></p>\n\n\n</div>'
+ '\n<div class="docstring">\n \n <p><span class="math">x=y</span></p>\n\n\n</div>'
sage: sphinxify('`x=y`', format='text')
'x=y\n'
sage: sphinxify(':math:`x=y`', format='text')
Please sign in to comment.
Something went wrong with that request. Please try again.