-
Notifications
You must be signed in to change notification settings - Fork 166
Expand file tree
/
Copy pathreadthedocs.yaml
More file actions
28 lines (26 loc) · 817 Bytes
/
Copy pathreadthedocs.yaml
File metadata and controls
28 lines (26 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.12"
apt_packages:
- libmagic1 # for python-magic
jobs:
# remove and mock problematic dependencies
pre_install:
- sed -i -e /gpg/d -e /notmuch2/d pyproject.toml
- touch gpg.py
- echo NullPointerError = NotmuchError = None > notmuch2.py
# make the git state clean again for setuptools_scm
post_install:
- git checkout pyproject.toml
# Install alot itself before building the docs
python:
install:
- path: .
# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/source/conf.py