forked from isaac-sim/IsaacLab
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into camera_limitation
- Loading branch information
Showing
46 changed files
with
890 additions
and
291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,75 @@ | ||
# 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 the 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 build the documentation, we recommend creating a virtual environment to avoid any conflicts with system installed dependencies. | ||
> **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. | ||
Execute the following instructions to build the documentation (assumed from the top of the repository): | ||
## Current-Version Documentation | ||
|
||
1. Install the dependencies for [Sphinx](https://www.sphinx-doc.org/en/master/): | ||
This section describes how to build the documentation for the current version of the project. | ||
|
||
```bash | ||
# enter the location where this readme exists | ||
cd docs | ||
# install dependencies | ||
pip install -r requirements.txt | ||
``` | ||
<details open> | ||
<summary><strong>Linux</strong></summary> | ||
|
||
2. Generate the documentation file via: | ||
```bash | ||
# 1. Navigate to the docs directory and install dependencies | ||
cd docs | ||
pip install -r requirements.txt | ||
|
||
```bash | ||
# make the html version | ||
make html | ||
``` | ||
# 2. Build the current documentation | ||
make current-docs | ||
|
||
3. The documentation is now available at `docs/_build/html/index.html`: | ||
# 3. Open the current docs | ||
xdg-open _build/current/index.html | ||
``` | ||
</details> | ||
|
||
```bash | ||
# open on default browser | ||
xdg-open _build/html/index.html | ||
``` | ||
<details> <summary><strong>Windows</strong></summary> | ||
|
||
```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 | ||
``` | ||
</details> | ||
|
||
|
||
## Multi-Version Documentation | ||
|
||
This section describes how to build the multi-version documentation, which includes previous tags and the main branch. | ||
|
||
<details open> <summary><strong>Linux</strong></summary> | ||
|
||
```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 | ||
``` | ||
</details> | ||
|
||
<details> <summary><strong>Windows</strong></summary> | ||
|
||
```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 | ||
``` | ||
</details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Redirecting to the latest Isaac Lab documentation</title> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="refresh" content="0; url=./main/index.html"> | ||
</head> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{% if versions %} | ||
<nav class="bd-links bd-docs-nav"> | ||
<div class="bd-toc-item navbar-nav"> | ||
<ul class="nav bd-sidenav"> | ||
<li class="toctree-l1 has-children" style="display: flex; justify-content: center; align-items: center; flex-direction: column;"> | ||
<div style ="text-align:center;"> | ||
<label for="version-select" style="font-weight: bold; display: block;">Version</label> | ||
</div> | ||
<select id="version-select" class="version-dropdown" style="margin: 0 auto; display: block;" onchange="location = this.value;"> | ||
{%- for item in versions.branches %} | ||
<option value="{{ item.url }}" {% if item == current_version %}selected{% endif %}>{{ item.name }}</option> | ||
{%- endfor %} | ||
{%- for item in versions.tags|reverse %} | ||
<option value="{{ item.url }}" {% if item == current_version %}selected{% endif %}>{{ item.name }}</option> | ||
{%- endfor %} | ||
</select> | ||
</li> | ||
</ul> | ||
</div> | ||
</nav> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
docs/licenses/dependencies/sphinx-multiversion-license.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
BSD 2-Clause License | ||
|
||
Copyright (c) 2020, Jan Holthuis <[email protected]> | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
1. Redistributions of source code must retain the above copyright notice, this | ||
list of conditions and the following disclaimer. | ||
|
||
2. Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | ||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Oops, something went wrong.