Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Oct 12, 2024
1 parent ae96d27 commit 5e6da0a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions doc/internals/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -270,14 +270,14 @@ you to preview in :file:`build/sphinx/html`.

You can also build a **live version of the documentation** that you can preview
in the browser. It will detect changes and reload the page any time you make
edits. To do so, use `sphinx-autobuild
<https://github.com/sphinx-doc/sphinx-autobuild>`_ to run the following
command:
edits.
To do so, use `sphinx-autobuild`_ to run the following command:

.. code-block:: shell
sphinx-autobuild ./doc ./build/sphinx/
.. _sphinx-autobuild: https://github.com/sphinx-doc/sphinx-autobuild

Translations
~~~~~~~~~~~~
Expand Down
11 changes: 6 additions & 5 deletions doc/usage/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,15 @@ Sphinx will build HTML files.
for all options that :program:`sphinx-build` supports.

You can also build a **live version of the documentation** that you can preview
in the browser. It will detect changes and reload the page any time you make
edits. To do so, use `sphinx-autobuild
<https://github.com/sphinx-doc/sphinx-autobuild>`_ to run the following
command:
in the browser.
It will detect changes and reload the page any time you make edits.
To do so, use `sphinx-autobuild`_ to run the following command:

.. code-block:: console
$ sphinx-autobuild sourcedir outputdir
$ sphinx-autobuild source-dir output-dir
.. _sphinx-autobuild: https://github.com/sphinx-doc/sphinx-autobuild

However, :program:`sphinx-quickstart` script creates a :file:`Makefile` and a
:file:`make.bat` which make life even easier for you. These can be executed by
Expand Down

0 comments on commit 5e6da0a

Please sign in to comment.