Skip to content

Commit

Permalink
also make readthedocs convert examples for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaquier Aurélien Tristan committed Apr 25, 2024
1 parent b8a1a6a commit 64c1dae
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ build:
os: ubuntu-22.04
tools:
python: "3.10"
jobs:
pre_build:
jupyter nbconvert --to rst ../examples/sonata-network/sonata-network.ipynb
jupyter nbconvert --to rst ../examples/nmc-portal/L5TTPC2.ipynb
cp ../examples/sonata-network/sonata-network.rst source/
cp -r ../examples/sonata-network/sonata-network_files source/
cp ../examples/nmc-portal/L5TTPC2.rst source/nmc-portal.rst
cp -r ../examples/nmc-portal/L5TTPC2_files source/

python:
# Install our python package before building the docs
Expand Down

0 comments on commit 64c1dae

Please sign in to comment.