- compatibility with lrcalc 2.1 (trac #31355) - fix doctests for ipython-8.1 (trac #33170) - fix doctests for scipy-1.8 (trac #33336) - fix doctests for sympy-1.10 (trac #33398) - fix doctests when sphinx is installed (trac #33585) - use new package threejs-sage for 3d plots
26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
From a04a0a0b14f67f4804e7113c3db41bbcf8a58296 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
|
|
Date: Mon, 28 Mar 2022 20:39:59 -0300
|
|
Subject: Trac #33585: fix doctest when dochtml is missing...
|
|
|
|
...but sphinx is available in PYTHONPATH.
|
|
---
|
|
src/sage/misc/sagedoc.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/sage/misc/sagedoc.py b/src/sage/misc/sagedoc.py
|
|
index 4b3853f..08c4225 100644
|
|
--- a/src/sage/misc/sagedoc.py
|
|
+++ b/src/sage/misc/sagedoc.py
|
|
@@ -1401,7 +1401,7 @@ class _sage_doc:
|
|
"...**File:**...**Type:**...**Definition:** identity_matrix..."
|
|
sage: identity_matrix.__doc__ in browse_sage_doc(identity_matrix, 'rst')
|
|
True
|
|
- sage: browse_sage_doc(identity_matrix, 'html', False) # optional - sphinx
|
|
+ sage: browse_sage_doc(identity_matrix, 'html', False) # optional - sphinx sagemath_doc_html
|
|
'...div...File:...Type:...Definition:...identity_matrix...'
|
|
|
|
In the 'text' version, double colons have been replaced with
|
|
--
|
|
cgit v1.0-1-gd88e
|
|
|