fix #4734: Describe how to specify make.bat parameter on Windows

This commit is contained in:
shimizukawa
2018-03-16 16:19:39 +09:00
parent bccdc7f02d
commit e3470bbde3

View File

@@ -113,12 +113,27 @@ This section describe an easy way to translate with sphinx-intl.
#. make translated document.
You need a :confval:`language` parameter in ``conf.py`` or you may also
specify the parameter on the command line:
specify the parameter on the command line (for BSD/GNU make):
.. code-block:: console
$ make -e SPHINXOPTS="-D language='de'" html
command line (for Windows cmd.exe):
.. code-block:: console
> set SPHINXOPTS=-D language='de'
> .\make.bat html
command line (for PowerShell):
.. code-block:: console
> Set-Item env:SPHINXOPTS "-D language='de'"
> .\make.bat html
Congratulations! You got the translated documentation in the ``_build/html``
directory.
@@ -263,7 +278,7 @@ easy to fetch and push translations.
...
Done.
Invoke make html:
Invoke make html (for BSD/GNU make):
.. code-block:: console