install.rst 929 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. .. _install:
  2. ============
  3. Installation
  4. ============
  5. You can install ``sphinx-multiversion`` via `pip <pip_>`_ or directly from :file:`setup.py`.
  6. Install from PyPi
  7. ===================
  8. Using pip you can easily install the latest release version `PyPI <pypi_>`_:
  9. .. code-block:: bash
  10. pip install sphinx-multiversion
  11. Install from GitHub
  12. ===================
  13. You can install the latest development version using pip directly from the GitHub
  14. repository:
  15. .. code-block:: bash
  16. pip install git+https://github.com/Holzhaus/sphinx-multiversion.git
  17. Install via :file:`setup.py`
  18. ============================
  19. It's also possible to clone the Git repository and install the extension using its :file:`setup.py`:
  20. .. code-block:: bash
  21. git clone https://github.com/Holzhaus/sphinx-multiversion.git
  22. cd sphinx-multiversion
  23. python setup.py install
  24. .. _pip: https://pip.pypa.io/en/stable/
  25. .. _pypi: https://pypi.org/