Skip to content

Commit 55eddad

Browse files
committed
Use proper Pygments lexers
1 parent b88905b commit 55eddad

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Installation
4848
The following command installs Sphinx from the `Python Package Index`_. You will
4949
need a working installation of Python and pip.
5050

51-
.. code-block:: sh
51+
.. code-block:: shell
5252
5353
pip install -U sphinx
5454

doc/faq.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ The following list gives some hints for the creation of epub files:
236236
for Kindle. You can get ``yourdoc.mobi`` under ``_build/epub`` after the
237237
following command:
238238

239-
.. code-block:: bash
239+
.. code-block:: console
240240
241241
$ make epub
242242
$ kindlegen _build/epub/yourdoc.epub

doc/usage/advanced/intl.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -176,17 +176,17 @@ section describe an easy way to translate with *sphinx-intl*.
176176
177177
For Windows :command:`cmd.exe`, run:
178178

179-
.. code-block:: console
179+
.. code-block:: doscon
180180
181181
> set SPHINXOPTS=-D language=de
182182
> .\make.bat html
183183
184184
For PowerShell, run:
185185

186-
.. code-block:: console
186+
.. code-block:: ps1con
187187
188-
> Set-Item env:SPHINXOPTS "-D language=de"
189-
> .\make.bat html
188+
PS> Set-Item env:SPHINXOPTS "-D language=de"
189+
PS> .\make.bat html
190190
191191
Congratulations! You got the translated documentation in the ``_build/html``
192192
directory.

0 commit comments

Comments
 (0)