diff options
author | Juan Luis Cano RodrÃguez <hello@juanlu.space> | 2021-05-31 18:03:04 +0200 |
---|---|---|
committer | Juan Luis Cano RodrÃguez <hello@juanlu.space> | 2021-05-31 18:03:04 +0200 |
commit | 565713d2284b638d922255924faab49b619da6ef (patch) | |
tree | 45983b66daa4a5c0d42c78a6065842b9c4e1fd94 /doc/tutorial | |
parent | ce727e3cfeced9e073e30e2722bba4721a08ad7d (diff) | |
download | sphinx-git-565713d2284b638d922255924faab49b619da6ef.tar.gz |
Change Pygments lexer to account for prompt
Diffstat (limited to 'doc/tutorial')
-rw-r--r-- | doc/tutorial/index.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/tutorial/index.rst b/doc/tutorial/index.rst index 68cb8b4cb..c42189fb9 100644 --- a/doc/tutorial/index.rst +++ b/doc/tutorial/index.rst @@ -55,7 +55,7 @@ For that, open a command line terminal, ``cd`` into the directory you just created, and run the following commands: -.. code-block:: bash +.. code-block:: console $ python -m venv .venv $ source .venv/bin/activate @@ -72,7 +72,7 @@ If you executed these instructions correctly, you should have the Sphinx command line tools available. You can do a basic verification running this command: -.. code-block:: bash +.. code-block:: console (.venv) $ sphinx-build --version sphinx-build 4.0.2 @@ -85,7 +85,7 @@ Creating the documentation layout Then from the command line, run the following command: -.. code-block:: bash +.. code-block:: console (.venv) $ sphinx-quickstart docs @@ -150,7 +150,7 @@ you already have everything needed to render the documentation as HTML for the first time. To do that, run this command: -.. code-block:: bash +.. code-block:: console (.venv) $ sphinx-build -b html docs/source/ docs/build/html @@ -198,7 +198,7 @@ Now to render it with the new content, you can use the ``sphinx-build`` command as before, or leverage the convenience script as follows: -.. code-block:: bash +.. code-block:: console (.venv) $ cd docs (.venv) $ make html |