Skip to content

Commit

Permalink
change diagram format and install npm package to render diagrams
Browse files Browse the repository at this point in the history
Signed-off-by: nikki everett <[email protected]>
  • Loading branch information
nikki everett committed Jun 11, 2024
1 parent 15e321b commit f3a94aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ build:
os: "ubuntu-22.04"
tools:
python: "mambaforge-22.9"
nodejs: "20.14.0"
jobs:
post_install:
- npm install -g @mermaid-js/mermaid-cli
- cat monodocs-environment.lock.yaml
- conda-lock install --name $READTHEDOCS_VERSION monodocs-environment.lock.yaml
- pip install ./flyteidl
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
myst_enable_extensions = ["colon_fence"]

# Sphinx-mermaid config
mermaid_output_format = "raw"
mermaid_output_format = "png"
mermaid_version = "latest"
mermaid_init_js = "mermaid.initialize({startOnLoad:false});"

Expand Down

0 comments on commit f3a94aa

Please sign in to comment.