diff --git a/doc/index.rst b/doc/index.rst index 070cf35..a47814a 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -26,7 +26,7 @@ Installation ============ You can install ``pinnwand`` from PyPI_ by running pip_ as follows: - .. code: +.. code-block:: pip install pinnwand diff --git a/doc/installation.rst b/doc/installation.rst index 9d4a2af..6fb6476 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -9,14 +9,14 @@ that your other projects or even your operating system depend on. For a Debian based distribution installation would look like this: - .. code: +.. code-block:: python3 -m venv virtual-environment virtual-environment/bin/pip install pinnwand After this you can run ``pinnwand`` in the following way: - .. code: +.. code-block:: virtual-environment/bin/pinnwand http @@ -32,7 +32,7 @@ As a container Containers are published on the GitHub Container Registry, you can run `pinnwand` from a container: - .. code: +.. code-block:: docker run -p 8000:8000 ghcr.io/supakeen/pinnwand:latest