From 4594c95bb991ca6de97ac50a0d92ef95cb70ca6e Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 30 Sep 2020 23:11:01 +0200 Subject: Empty .. code-block:: was not allowed. Needed console as well. --- docs/examples/binary.rst | 2 +- docs/examples/python.rst | 2 +- docs/installing/binary.rst | 10 +++++----- docs/installing/python.rst | 8 ++++---- 4 files changed, 11 insertions(+), 11 deletions(-) (limited to 'docs') diff --git a/docs/examples/binary.rst b/docs/examples/binary.rst index 7b25e201..6940d591 100644 --- a/docs/examples/binary.rst +++ b/docs/examples/binary.rst @@ -15,7 +15,7 @@ As an example we'll use the `guided `_ contains a binary `PKGBUIL Once you've obtained the `PKGBUILD`, building it is pretty straight forward. -.. code-block:: +.. code-block:: console makepkg -s Which should produce a `archinstall-X.x.z-1.pkg.tar.zst` that can be installed using: -.. code-block:: +.. code-block:: console sudo pacman -U archinstall-X.x.z-1.pkg.tar.zst @@ -59,7 +59,7 @@ Manual compilation You can compile the source manually without using a custom mirror or the `PKGBUILD` that is shipped. Simply clone or download the source, and while standing in the cloned folder `./archinstall`, execute: -.. code-block:: +.. code-block:: console nuitka3 --standalone --show-progress archinstall diff --git a/docs/installing/python.rst b/docs/installing/python.rst index e09ed918..ae80e76e 100644 --- a/docs/installing/python.rst +++ b/docs/installing/python.rst @@ -15,13 +15,13 @@ Using PyPi The basic concept of PyPi applies using `pip`. Either as a global library: -.. code-block:: +.. code-block:: console sudo pip install archinstall Or as a user module: -.. code-block:: +.. code-block:: console pip --user install archinstall @@ -35,7 +35,7 @@ Manual installation You can either download the github repo as a zip archive. Or you can clone it, we'll clone it here but both methods work the same. -.. code-block:: +.. code-block:: console git clone https://github.com/Torxed/archinstall @@ -47,6 +47,6 @@ Either you can move the folder into your project and simply do Or you can use `setuptools `_ to install it into the module path. -.. code-block:: +.. code-block:: console sudo python setup.py install \ No newline at end of file -- cgit v1.2.3-70-g09d2