Skip to content

Commit 7593d21

Browse files
authored
Fix docs build (#269)
* Fix docs build Signed-off-by: Hemil Desai <[email protected]> * Fix Signed-off-by: Hemil Desai <[email protected]> --------- Signed-off-by: Hemil Desai <[email protected]>
1 parent 11842c8 commit 7593d21

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/source/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"sphinx.ext.viewcode",
3333
"sphinx.ext.githubpages",
3434
"sphinx.ext.napoleon",
35+
"sphinxcontrib.mermaid",
3536
]
3637

3738
templates_path = ["_templates"]
@@ -59,6 +60,7 @@
5960

6061
# MyST settings
6162
myst_heading_anchors = 3
63+
myst_fence_as_directive = ["mermaid"]
6264

6365
# Napoleon settings
6466
napoleon_google_docstring = True

docs/source/guides/ray.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Ray Clusters & Jobs
22

3-
---
4-
53
> **Audience**: You already know how to configure executors with NeMo-Run and want distributed *Ray* on either Kubernetes **or** Slurm.
64
>
75
> **TL;DR**: `RayCluster` manages the _cluster_; `RayJob` submits a job with an ephemeral cluster. Everything else is syntactic sugar.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ docs = [
8484
"myst-parser",
8585
"sphinx>=7",
8686
"sphinx-autoapi>=3.0.0",
87-
"nvidia-sphinx-theme"
87+
"nvidia-sphinx-theme",
88+
"sphinxcontrib-mermaid",
8889
]
8990

9091
[build-system]

0 commit comments

Comments
 (0)