Browse Source

[DOC] Change bash code color in doc

pull/5/head
troyyyyy 1 year ago
parent
commit
75cc2cea62
2 changed files with 8 additions and 8 deletions
  1. +4
    -4
      docs/Overview/Installation.rst
  2. +4
    -4
      docs/README.rst

+ 4
- 4
docs/Overview/Installation.rst View File

@@ -6,14 +6,14 @@ Install from PyPI


The easiest way to install ABL-Package is using ``pip``: The easiest way to install ABL-Package is using ``pip``:


.. code:: console
.. code:: bash


# (TODO) # (TODO)
pip install abl pip install abl


For testing purposes, you can install it using: For testing purposes, you can install it using:


.. code:: console
.. code:: bash


pip install -i https://test.pypi.org/simple/ --extra-index-url https://mirrors.nju.edu.cn/pypi/web/simple/ abl pip install -i https://test.pypi.org/simple/ --extra-index-url https://mirrors.nju.edu.cn/pypi/web/simple/ abl


@@ -23,7 +23,7 @@ Install from Source
Alternatively, to install from source code, Alternatively, to install from source code,
sequentially run following commands in your terminal/command line. sequentially run following commands in your terminal/command line.


.. code:: console
.. code:: bash


git clone https://github.com/AbductiveLearning/ABL-Package.git git clone https://github.com/AbductiveLearning/ABL-Package.git
cd ABL-Package cd ABL-Package
@@ -36,7 +36,7 @@ If the use of a :ref:`Prolog-based knowledge base <prolog>` is necessary, the in


For Linux users: For Linux users:


.. code:: console
.. code:: bash


sudo apt-get install swi-prolog sudo apt-get install swi-prolog



+ 4
- 4
docs/README.rst View File

@@ -26,14 +26,14 @@ Install from PyPI


The easiest way to install ABL-Package is using ``pip``: The easiest way to install ABL-Package is using ``pip``:


.. code:: console
.. code:: bash


# (TODO) # (TODO)
pip install abl pip install abl


For testing purposes, you can install it using: For testing purposes, you can install it using:


.. code:: console
.. code:: bash


pip install -i https://test.pypi.org/simple/ --extra-index-url https://mirrors.nju.edu.cn/pypi/web/simple/ abl pip install -i https://test.pypi.org/simple/ --extra-index-url https://mirrors.nju.edu.cn/pypi/web/simple/ abl


@@ -43,7 +43,7 @@ Install from Source
Alternatively, to install from source code, Alternatively, to install from source code,
sequentially run following commands in your terminal/command line. sequentially run following commands in your terminal/command line.


.. code:: console
.. code:: bash


git clone https://github.com/AbductiveLearning/ABL-Package.git git clone https://github.com/AbductiveLearning/ABL-Package.git
cd ABL-Package cd ABL-Package
@@ -56,7 +56,7 @@ If the use of a :ref:`Prolog-based knowledge base <prolog>` is necessary, the in


For Linux users: For Linux users:


.. code:: console
.. code:: bash


sudo apt-get install swi-prolog sudo apt-get install swi-prolog




Loading…
Cancel
Save