Skip to content

Commit fde43ed

Browse files
authored
[docs] clarify the proper 'make-mode' usage in the docs (#11992)
1 parent d6f38ad commit fde43ed

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/man/sphinx-build.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ Options
3939
Extensions can add their own builders.
4040

4141
.. important::
42-
Sphinx only recognizes the ``-M`` option if it is used first.
42+
Sphinx only recognizes the ``-M`` option if it is used first, along with
43+
the source and output directories, before any other options are passed.
44+
For example::
45+
46+
sphinx-build -M html ./source ./build -W --keep-going
4347

4448
The *make-mode* provides the same build functionality as
4549
a default :ref:`Makefile or Make.bat <makefile_options>`,

0 commit comments

Comments
 (0)