Skip to content

Commit

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

* update workflow permissions
  • Loading branch information
thijstriemstra committed Sep 1, 2023
1 parent bf8aed2 commit d8b17f5
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
@@ -1,5 +1,8 @@
name: Publish Package

permissions:
id-token: write

on:
push:
tags:
Expand Down
29 changes: 25 additions & 4 deletions .readthedocs.yml
@@ -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 doc/ 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 d8b17f5

Please sign in to comment.