2020-02-23 23:51:22 +01:00
|
|
|
.. _install:
|
|
|
|
|
|
|
|
============
|
|
|
|
Installation
|
|
|
|
============
|
|
|
|
|
|
|
|
You can install ``sphinx-multiversion`` via `pip <pip_>`_ or directly from :file:`setup.py`.
|
|
|
|
|
2020-03-11 15:54:17 +01:00
|
|
|
Install from PyPi
|
|
|
|
===================
|
|
|
|
|
|
|
|
Using pip you can easily install the latest release version `PyPI <pypi_>`_:
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
pip install sphinx-multiversion
|
2020-02-23 23:51:22 +01:00
|
|
|
|
|
|
|
Install from GitHub
|
|
|
|
===================
|
|
|
|
|
2020-03-11 15:54:17 +01:00
|
|
|
You can install the latest development version using pip directly from the GitHub
|
|
|
|
repository:
|
2020-02-23 23:51:22 +01:00
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
pip install git+https://github.com/Holzhaus/sphinx-multiversion.git
|
|
|
|
|
|
|
|
Install via :file:`setup.py`
|
|
|
|
============================
|
|
|
|
|
|
|
|
It's also possible to clone the Git repository and install the extension using its :file:`setup.py`:
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
git clone https://github.com/Holzhaus/sphinx-multiversion.git
|
|
|
|
cd sphinx-multiversion
|
|
|
|
python setup.py install
|
|
|
|
|
|
|
|
|
|
|
|
.. _pip: https://pip.pypa.io/en/stable/
|
|
|
|
.. _pypi: https://pypi.org/
|