Skip to content

Commit

Permalink
update .readthedocs.yml for v2 (#381)
Browse files Browse the repository at this point in the history
* update .readthedocs.yml for v2

* update workflow permissions
  • Loading branch information
thijstriemstra authored Sep 1, 2023
1 parent 8dc4569 commit baff9e7
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Publish Package

permissions:
id-token: write

on:
push:
tags:
Expand Down
29 changes: 25 additions & 4 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"
apt_packages:
- graphviz

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

# Install dependencies
python:
version: 3.8
pip_install: true
extra_requirements:
- docs
install:
- method: pip
path: .
extra_requirements:
- docs

0 comments on commit baff9e7

Please sign in to comment.