doc build CD updated for rendering examples
This commit is contained in:
parent
99e543e12a
commit
b158a86852
|
@ -17,15 +17,16 @@ jobs:
|
||||||
uses: actions/setup-python@v3
|
uses: actions/setup-python@v3
|
||||||
with:
|
with:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
- name: Install dependencies
|
- name: Install gaspype and dependencies
|
||||||
run: pip install sphinx sphinx_rtd_theme sphinx-autodoc-typehints myst-parser
|
|
||||||
- name: Generate Class List
|
|
||||||
run: |
|
run: |
|
||||||
echo "Create a dummy file to ensure the class list generation works"
|
echo "Create a dummy file to ensure gaspype does't crash"
|
||||||
mkdir -p src/gaspype/data
|
mkdir -p src/gaspype/data
|
||||||
printf 'gapy\x00\x00\x00\x00' > src/gaspype/data/therm_data.bin
|
printf 'gapy\x00\x00\x00\x00' > src/gaspype/data/therm_data.bin
|
||||||
pip install .
|
pip install .[doc_build]
|
||||||
python ./docs/source/generate_class_list.py
|
- name: Generate Class List
|
||||||
|
run: python ./docs/source/generate_class_list.py
|
||||||
|
- name: Generate Examples
|
||||||
|
run: python ./docs/source/render_examples.py
|
||||||
- name: Build Docs
|
- name: Build Docs
|
||||||
run: |
|
run: |
|
||||||
cd docs
|
cd docs
|
||||||
|
|
Loading…
Reference in New Issue