Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Fix doctest failures with Sphinx 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jdemeyer committed Apr 24, 2016
1 parent 7c2d9d5 commit f1ae5e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/doc/common/conf.py
Expand Up @@ -615,7 +615,7 @@ def call_intersphinx(app, env, node, contnode):
sage: for line in open(thematic_index).readlines():
....: if "padics" in line:
....: sys.stdout.write(line)
<li><a class="reference external" href="../reference/padics/sage/rings/padics/tutorial.html#sage-rings-padics-tutorial" title="(in Sage Reference Manual: p-Adics ...)"><em>Introduction to the -adics</em></a></li>
<li><a class="reference external" href="../reference/padics/sage/rings/padics/tutorial.html#sage-rings-padics-tutorial" title="(in Sage Reference Manual: p-Adics ...)"><span>Introduction to the -adics</span></a></li>
"""
debug_inf(app, "???? Trying intersphinx for %s"%node['reftarget'])
builder = app.builder
Expand Down
2 changes: 1 addition & 1 deletion src/sage/misc/sagedoc.py
Expand Up @@ -23,7 +23,7 @@
sage: for line in open(docfilename):
....: if "#sage.symbolic.expression.Expression.N" in line:
....: print line
<tt class="descname">N</tt><big>(</big><em>prec=None</em>, <em>digits=None</em>, <em>algorithm=None</em><big>)</big>...
<code class="descname">N</code><span class="sig-paren">(</span><em>prec=None</em>, <em>digits=None</em>, <em>algorithm=None</em><span class="sig-paren">)</span>...
Check that sphinx is not imported at Sage start-up::
Expand Down

0 comments on commit f1ae5e6

Please sign in to comment.