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

Fix RTD build #93

Merged
merged 25 commits into from
May 14, 2024
Merged
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
10 changes: 7 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
version: 2

build:
image: stable
python: "3.10"
os: ubuntu-22.04
tools:
python: mambaforge-latest

conda:
environment: environment.yml

python:
system_packages: true
install:
- method: pip
path: .
Expand All @@ -17,3 +17,7 @@ python:
- plotting
- bloch_sphere_visualization
- fancy_progressbar

sphinx:
builder: html
configuration: doc/source/conf.py
13 changes: 4 additions & 9 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import sys
sys.path.insert(0, os.path.abspath('.'))
#sys.path.insert(1, os.path.abspath('../../'))

import filter_functions

# -- Project information -----------------------------------------------------
Expand Down Expand Up @@ -93,7 +88,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = 'en'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down Expand Up @@ -277,9 +272,9 @@
intersphinx_mapping = {
'python': ('https://docs.python.org/3/', None),
'numpy': ('https://numpy.org/doc/stable/', None),
'scipy': ('https://docs.scipy.org/doc/scipy/reference/', None),
'matplotlib': ('https://matplotlib.org/', None),
'qutip': ('http://qutip.org/docs/latest/', None)
'scipy': ('https://docs.scipy.org/doc/scipy/', None),
'matplotlib': ('https://matplotlib.org/stable/', None),
'qutip': ('https://qutip.readthedocs.io/en/latest/', None)
}

# -- Options for todo extension ----------------------------------------------
Expand Down
Loading