diff --git a/README.rst b/README.rst index 156ce722c..2ff1a4fda 100644 --- a/README.rst +++ b/README.rst @@ -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 diff --git a/doc/faq.rst b/doc/faq.rst index 764532612..3eb46c58c 100644 --- a/doc/faq.rst +++ b/doc/faq.rst @@ -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 diff --git a/doc/usage/advanced/intl.rst b/doc/usage/advanced/intl.rst index 8f16259e6..590ef0356 100644 --- a/doc/usage/advanced/intl.rst +++ b/doc/usage/advanced/intl.rst @@ -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.