mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Use proper Pygments lexers
This commit is contained in:
parent
b88905b6f7
commit
55eddad705
@ -48,7 +48,7 @@ Installation
|
||||
The following command installs Sphinx from the `Python Package Index`_. You will
|
||||
need a working installation of Python and pip.
|
||||
|
||||
.. code-block:: sh
|
||||
.. code-block:: shell
|
||||
|
||||
pip install -U sphinx
|
||||
|
||||
|
@ -236,7 +236,7 @@ The following list gives some hints for the creation of epub files:
|
||||
for Kindle. You can get ``yourdoc.mobi`` under ``_build/epub`` after the
|
||||
following command:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
$ make epub
|
||||
$ kindlegen _build/epub/yourdoc.epub
|
||||
|
@ -176,17 +176,17 @@ section describe an easy way to translate with *sphinx-intl*.
|
||||
|
||||
For Windows :command:`cmd.exe`, run:
|
||||
|
||||
.. code-block:: console
|
||||
.. code-block:: doscon
|
||||
|
||||
> set SPHINXOPTS=-D language=de
|
||||
> .\make.bat html
|
||||
|
||||
For PowerShell, run:
|
||||
|
||||
.. code-block:: console
|
||||
.. code-block:: ps1con
|
||||
|
||||
> Set-Item env:SPHINXOPTS "-D language=de"
|
||||
> .\make.bat html
|
||||
PS> Set-Item env:SPHINXOPTS "-D language=de"
|
||||
PS> .\make.bat html
|
||||
|
||||
Congratulations! You got the translated documentation in the ``_build/html``
|
||||
directory.
|
||||
|
Loading…
Reference in New Issue
Block a user