diff --git a/lld/docs/sphinx_intro.rst b/lld/docs/sphinx_intro.rst index 9a8b289b6690..d729c2debc98 100644 --- a/lld/docs/sphinx_intro.rst +++ b/lld/docs/sphinx_intro.rst @@ -63,9 +63,13 @@ In order to build the documentation, all you should need to do is change to the $ cd path/to/project/docs $ make html -which will invoke ``sphinx-build`` with the appropriate options for the project, -and generate the HTML documentation in a ``_build`` subdirectory. You can browse -it starting from the index page by visiting ``_build/html/index.html``. +Note that on Windows there is a ``make.bat`` command in the docs directory which +supplies the same interface as the ``Makefile``. + +That command will invoke ``sphinx-build`` with the appropriate options for the +project, and generate the HTML documentation in a ``_build`` subdirectory. You +can browse it starting from the index page by visiting +``_build/html/index.html``. Sphinx supports a wide variety of generation formats (including LaTeX, man pages, and plain text). The ``Makefile`` includes a number of convenience @@ -74,10 +78,10 @@ targets for invoking ``sphinx-build`` appropriately, the common ones are: make html Generate the HTML output. - latexpdf + make latexpdf Generate LaTeX documentation and convert to a PDF. - man + make man Generate man pages.