#10118: upgrade sphinx to version 1.0.4
---------------------------+------------------------------------------------
   Reporter:  mvngu        |       Owner:  tbd       
       Type:  enhancement  |      Status:  new       
   Priority:  major        |   Milestone:  sage-4.6.1
  Component:  packages     |    Keywords:            
     Author:               |    Upstream:  N/A       
   Reviewer:               |      Merged:            
Work_issues:               |  
---------------------------+------------------------------------------------

Comment(by fbissey):

 Sphinx-1.0.4 works well in sage-4.5.3 and 4.6alpha3 the only problem is it
 break
 the following test:
 {{{
 sage -t -force_lib "/usr/lib/python2.6/site-
 packages/sagenb/misc/sphinxify.py"
 File "/usr/lib/python2.6/site-packages/sagenb/misc/sphinxify.py", line 69:
     sage: sphinxify('A test')
 Expected:
     '<div class="docstring">\n    \n  <p>A test</p>\n\n\n</div>'
 Got:
     '\n<div class="docstring">\n    \n  <p>A test</p>\n\n\n</div>'
 **********************************************************************
 File "/usr/lib/python2.6/site-packages/sagenb/misc/sphinxify.py", line 71:
     sage: sphinxify('**Testing**\n`monospace`')
 Expected:
     '<div class="docstring"...<strong>Testing</strong>\n<span
 class="math"...</p>\n\n\n</div>'
 Got:
     '\n<div class="docstring">\n    \n  <p><strong>Testing</strong>\n<span
 class="math">monospace</span></p>\n\n\n</div>'
 **********************************************************************
 File "/usr/lib/python2.6/site-packages/sagenb/misc/sphinxify.py", line 73:
     sage: sphinxify('`x=y`')
 Expected:
     '<div class="docstring">\n    \n  <p><span
 class="math">x=y</span></p>\n\n\n</div>'
 Got:
     '\n<div class="docstring">\n    \n  <p><span
 class="math">x=y</span></p>\n\n\n</div>'File "/usr/lib/python2.6/site-
 packages/sagenb/misc/sphinxify.py", line 69:
     sage: sphinxify('A test')
 Expected:
     '<div class="docstring">\n    \n  <p>A test</p>\n\n\n</div>'
 Got:
     '\n<div class="docstring">\n    \n  <p>A test</p>\n\n\n</div>'
 **********************************************************************
 File "/usr/lib/python2.6/site-packages/sagenb/misc/sphinxify.py", line 71:
     sage: sphinxify('**Testing**\n`monospace`')
 Expected:
     '<div class="docstring"...<strong>Testing</strong>\n<span
 class="math"...</p>\n\n\n</div>'
 Got:
     '\n<div class="docstring">\n    \n  <p><strong>Testing</strong>\n<span
 class="math">monospace</span></p>\n\n\n</div>'
 **********************************************************************
 File "/usr/lib/python2.6/site-packages/sagenb/misc/sphinxify.py", line 73:
     sage: sphinxify('`x=y`')
 Expected:
     '<div class="docstring">\n    \n  <p><span
 class="math">x=y</span></p>\n\n\n</div>'
 Got:
     '\n<div class="docstring">\n    \n  <p><span
 class="math">x=y</span></p>\n\n\n</div>'
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10118#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to