Skip to content

Commit 2879f6d

Browse files
committed
trac 33104: after #29310, change refererences to "make doc-clean"
to instead or in addition say "make doc-uninstall".
1 parent c5af195 commit 2879f6d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/doc/en/installation/source.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ how it is built:
10201020
plots, adding about 4M to the :file:`local/share/doc/sage/` directory.
10211021
In the future, this may grow, of course. Note: after using this, if you
10221022
want to build the documentation and include the pictures, you should
1023-
run ``make doc-clean``, because the presence, or lack, of pictures
1023+
run ``make doc-uninstall``, because the presence, or lack, of pictures
10241024
is cached in the documentation output.
10251025
You can benefit from this no-plot feature with other make targets by doing
10261026
``export SAGE_DOCBUILD_OPTS+=' --no-plot'``
@@ -1036,8 +1036,8 @@ how it is built:
10361036
software, you can use ``make testall``, ``make ptestall``,
10371037
``make testalllong``, or ``make ptestalllong``.
10381038

1039-
- ``make doc-clean`` removes several directories which are produced
1040-
when building the documentation.
1039+
- ``make doc-uninstall`` and ``make doc-clean`` each remove several
1040+
directories which are produced when building the documentation.
10411041

10421042
- ``make distclean`` restores the Sage directory to its state before doing any
10431043
building: it is almost equivalent to deleting Sage's entire home directory and

src/sage_docbuild/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1732,7 +1732,7 @@ def excepthook(*exc_info):
17321732
logger.error('''
17331733
Note: incremental documentation builds sometimes cause spurious
17341734
error messages. To be certain that these are real errors, run
1735-
"make doc-clean" first and try again.''')
1735+
"make doc-clean doc-uninstall" first and try again.''')
17361736

17371737
sys.excepthook = excepthook
17381738

0 commit comments

Comments
 (0)