Skip to content

Commit

Permalink
Document 'make htmllive' (#1219)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Nov 15, 2023
1 parent 679d64b commit 339cb89
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
12 changes: 9 additions & 3 deletions documentation/devguide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,15 @@ in the checkout directory. On Windows use:
> .\make html
You will find the generated files in ``_build/html`` or, if you use
``make htmlview``, the docs will be opened in a browser once the build
completes. Note that ``make check`` runs automatically when you submit
You will find the generated files in ``_build/html``.

.. tip:: * Replace ``html`` with ``htmlview`` to open the docs in a web browser
once the build completes.
* Replace ``html`` with ``htmllive`` to rebuild the docs,
start a local server, and automatically reload the page in your
browser when you make changes to reST files (Unix only).

Note that ``make check`` runs automatically when you submit
a :ref:`pull request <pullrequest>`. You may wish to run ``make check``
and ``make linkcheck`` to make sure that it runs without errors.

Expand Down
7 changes: 5 additions & 2 deletions documentation/start-documenting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,11 @@ To build the docs as HTML, run::

make html

.. tip:: Substitute ``htmlview`` for ``html`` to open the docs in a web browser
once the build completes.
.. tip:: * Replace ``html`` with ``htmlview`` to open the docs in a web browser
once the build completes.
* Replace ``html`` with ``htmllive`` to rebuild the docs,
start a local server, and automatically reload the page in your
browser when you make changes to reST files (Unix only).

To check the docs for common errors with `Sphinx Lint`_
(which is run on all :ref:`pull requests <pullrequest>`), use::
Expand Down

0 comments on commit 339cb89

Please sign in to comment.