File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ Installation
4848The following command installs Sphinx from the `Python Package Index `_. You will
4949need a working installation of Python and pip.
5050
51- .. code-block :: sh
51+ .. code-block :: shell
5252
5353 pip install -U sphinx
5454
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ``
192192directory.
You can’t perform that action at this time.
0 commit comments