File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 6
6
export PIP_BREAK_SYSTEM_PACKAGES=1
7
7
pip install -r docs/source/requirements.txt
8
8
pip install sphinx-autobuild
9
- chmod +x .devcontainer/serve_sphinx.sh
9
+ chmod +x .devcontainer/serve_sphinx.sh
10
+
11
+ # Making mermaid graphs work
12
+ sudo apt-get update
13
+ sudo apt-get install -y npm
14
+ npm install -g @mermaid-js/mermaid-cli
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
3
4
- # This is expected to be run at the root of the repository
5
- sphinx-autobuild docs/source build/html
4
+ # This script is expected to be run at the root of the repository.
5
+ cd docs/source
6
+ # sphinx-autobuild in general should be run in this directory or the mermaid configuration will not be found.
7
+ sphinx-autobuild . build/html
You can’t perform that action at this time.
0 commit comments