Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the RTD configuration file to execute create_tutorials_html.py #223

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
# File: .readthedocs.yaml
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build from the doc/ directory with Sphinx
# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.10"
apt_packages:
- pandoc
jobs:
pre_build:
# Each command is executed in a new shell process
- cd doc; python source/tutorials-website/create_tutorials_html.py

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: doc/source/conf.py

# Explicitly set the version of Python and its requirements
# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
version: 3.8
install:
- requirements: doc/requirements.txt
- method: pip
Expand Down
2 changes: 1 addition & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
numpy==1.22.4
scipy==1.10.0
qutip==4.7.0
qutip==4.7.3
cython==0.29.30
sphinx==5.0.2
sphinx_rtd_theme==1.0.0
Expand Down