Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Commit

Permalink
make it ready for sphinx 1.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpase authored Jun 10, 2018
1 parent 9a99b4e commit 9058a9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sagenb/misc/sphinxify.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ def sphinxify(docstring, format='html'):
sage: sphinxify('A test')
'...<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>'
'<div class="docstring">\n \n <p><strong>Testing</strong>\n<span class="math notranslate nohighlight">monospace</span></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>'
'<div class="docstring">\n \n <p><span class="math notranslate nohighlight">x=y</span></p>\n\n\n</div>'
sage: sphinxify('`x=y`', format='text')
'x=y\n'
sage: sphinxify(':math:`x=y`', format='text')
Expand Down

0 comments on commit 9058a9a

Please sign in to comment.