Use proper Pygments lexers

This commit is contained in:
Adam Turner 2024-07-24 15:16:19 +01:00
parent b88905b6f7
commit 55eddad705
3 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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.