# Building Documentation We use [Sphinx](https://www.sphinx-doc.org/en/master/) with the [Book Theme](https://sphinx-book-theme.readthedocs.io/en/stable/) for maintaining and generating our documentation. > **Note:** To avoid dependency conflicts, we strongly recommend using a Python virtual environment to isolate the required dependencies from your system's global Python environment. ## Current-Version Documentation This section describes how to build the documentation for the current version of the project.
Linux ```bash # 1. Navigate to the docs directory and install dependencies cd docs pip install -r requirements.txt # 2. Build the current documentation make current-docs # 3. Open the current docs xdg-open _build/current/index.html ```
Windows ```batch :: 1. Navigate to the docs directory and install dependencies cd docs pip install -r requirements.txt :: 2. Build the current documentation make current-docs :: 3. Open the current docs start _build\current\index.html ```
## Multi-Version Documentation This section describes how to build the multi-version documentation, which includes previous tags and the main branch.
Linux ```bash # 1. Navigate to the docs directory and install dependencies cd docs pip install -r requirements.txt # 2. Build the multi-version documentation make multi-docs # 3. Open the multi-version docs xdg-open _build/index.html ```
Windows ```batch :: 1. Navigate to the docs directory and install dependencies cd docs pip install -r requirements.txt :: 2. Build the multi-version documentation make multi-docs :: 3. Open the multi-version docs start _build\index.html ```