You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Description
Adds versioning to the docs. Users can now choose a specific tag from
version v1.0.0 onwards.
## Type of change
- New feature (non-breaking change which adds functionality)
## Checklist
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
We use [Sphinx](https://www.sphinx-doc.org/en/master/) with the [Book Theme](https://sphinx-book-theme.readthedocs.io/en/stable/) for maintaining the documentation.
3
+
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.
4
4
5
-
> **Note:** To build the documentation, we recommend creating a virtual environment to avoid any conflicts with system installed dependencies.
5
+
> **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.
6
6
7
-
Execute the following instructions to build the documentation (assumed from the top of the repository):
7
+
## Current-Version Documentation
8
8
9
-
1. Install the dependencies for [Sphinx](https://www.sphinx-doc.org/en/master/):
9
+
This section describes how to build the documentation for the current version of the project.
10
10
11
-
```bash
12
-
# enter the location where this readme exists
13
-
cd docs
14
-
# install dependencies
15
-
pip install -r requirements.txt
16
-
```
11
+
<detailsopen>
12
+
<summary><strong>Linux</strong></summary>
17
13
18
-
2. Generate the documentation file via:
14
+
```bash
15
+
# 1. Navigate to the docs directory and install dependencies
16
+
cd docs
17
+
pip install -r requirements.txt
19
18
20
-
```bash
21
-
# make the html version
22
-
make html
23
-
```
19
+
# 2. Build the current documentation
20
+
make current-docs
24
21
25
-
3. The documentation is now available at `docs/_build/html/index.html`:
0 commit comments