Skip to content

Commit

Permalink
update rtd configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Jun 21, 2023
1 parent 2a08aa3 commit acf25b3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,25 @@
version: 2

build:
os: ubuntu-22.04
os: "ubuntu-22.04"
tools:
python: "3.11"
jobs:
pre_install:
- git update-index --assume-unchanged docs/conf.py docs/rtd_environment.yaml

conda:
environment: docs/rtd_environment.yaml

# Build documentation in the docs/ directory with Sphinx
sphinx:
builder: html
configuration: docs/conf.py
fail_on_warning: true

# Optionally declare the Python requirements required to build your docs
python:
system_packages: false
install:
- method: pip
path: .
Expand Down
8 changes: 8 additions & 0 deletions docs/rtd_environment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: rtd311
channels:
- conda-forge
- defaults
dependencies:
- python=3.11
- pip
- graphviz

0 comments on commit acf25b3

Please sign in to comment.