Skip to content

Commit 2b02733

Browse files
Merge pull request #105 from pramodk/pramodk/minor-docs-update
[Docs] Fix absolute URL links and add documentation building instructions
2 parents 3ac3862 + 6741aa4 commit 2b02733

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

CONTRIBUTING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,19 @@ git push -u origin <local-branch>:<remote-branch>
8383

8484
4. With CI/CD process in place, the PR will be accepted and the corresponding issue closed only after adequate testing has been completed, manually, by the developer and NVRx engineer reviewing the code.
8585

86+
#### Documentation Building
87+
88+
When contributing documentation changes, ensure the documentation builds correctly. See the [docs CI workflow](https://github.com/NVIDIA/nvidia-resiliency-ext/blob/main/.github/workflows/build_docs.yml) for up-to-date instructions:
89+
90+
```bash
91+
pip install -U sphinx sphinx-rtd-theme sphinxcontrib-napoleon sphinx_copybutton lightning psutil defusedxml
92+
sphinx-build -b html docs/source public/
93+
94+
# alternatively,
95+
cd docs
96+
make html
97+
```
98+
You can then view the locally built documentation under `public` directory or `docs/build/html` (e.g., `open public/index.html`). Ensure that all documentation changes are properly formatted and that the build completes without warnings or errors.
8699

87100
#### Signing Your Work
88101

docs/source/index.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ nvidia-resiliency-ext
1010
Features
1111
--------
1212

13-
* `Hang detection and automatic in-job restarting <https://github.com/NVIDIA/nvidia-resiliency-ext/blob/main/docs/source/fault_tolerance/index.rst>`_
14-
* `In-process restarting <https://github.com/NVIDIA/nvidia-resiliency-ext/blob/main/docs/source/inprocess/index.rst>`_
15-
* `Async checkpointing <https://github.com/NVIDIA/nvidia-resiliency-ext/blob/main/docs/source/checkpointing/async/index.rst>`_
16-
* `Local checkpointing <https://github.com/NVIDIA/nvidia-resiliency-ext/blob/main/docs/source/checkpointing/local/index.rst>`_
17-
* `Straggler (slower ranks) detection <https://github.com/NVIDIA/nvidia-resiliency-ext/blob/main/docs/source/straggler_det/index.rst>`_
18-
* `Shared utilities and distributed logging <https://github.com/NVIDIA/nvidia-resiliency-ext/blob/main/docs/source/shared_utils/index.rst>`_
13+
* `Hang detection and automatic in-job restarting <fault_tolerance/index.html>`_
14+
* `In-process restarting <inprocess/index.html>`_
15+
* `Async checkpointing <checkpointing/async/index.html>`_
16+
* `Local checkpointing <checkpointing/local/index.html>`_
17+
* `Straggler (slower ranks) detection <straggler_det/index.html>`_
18+
* `Shared utilities and distributed logging <shared_utils/index.html>`_
1919

2020
.. toctree::
2121
:maxdepth: 3

0 commit comments

Comments
 (0)