https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
13 lines
714 B
Diff
13 lines
714 B
Diff
diff --git a/src/sage/misc/sagedoc.py b/src/sage/misc/sagedoc.py
|
|
index 08c4225b87..3a9bbe4ed0 100644
|
|
--- a/src/sage/misc/sagedoc.py
|
|
+++ b/src/sage/misc/sagedoc.py
|
|
@@ -1402,6 +1402,8 @@ class _sage_doc:
|
|
sage: identity_matrix.__doc__ in browse_sage_doc(identity_matrix, 'rst')
|
|
True
|
|
sage: browse_sage_doc(identity_matrix, 'html', False) # optional - sphinx sagemath_doc_html
|
|
+ ...
|
|
+ FutureWarning: The configuration setting "embed_images" will be removed in Docutils 1.2. Use "image_loading: link".
|
|
'...div...File:...Type:...Definition:...identity_matrix...'
|
|
|
|
In the 'text' version, double colons have been replaced with
|