Skip to content

Commit 6443f5c

Browse files
committed
mkdocs for readthedocs
1 parent 76751c9 commit 6443f5c

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

.readthedocs.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1-
# https://docs.readthedocs.io/en/stable/config-file/v2.html
1+
# https://docs.readthedocs.com/platform/stable/intro/mkdocs.html
22

33
version: 2
44

55
build:
6-
os: ubuntu-22.04
6+
os: ubuntu-24.04
77
tools:
8-
python: "3.11"
8+
python: "3"
9+
jobs:
10+
pre_install:
11+
- pip install --progress-bar off 'mkdocstrings[python]' 'mkdocs-material[imaging]' 'git+https://github.com/mkdocstrings/griffe'
912

10-
sphinx:
11-
configuration: docs/conf.py
13+
mkdocs:
14+
configuration: mkdocs.yml
1215

1316
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
1417
python:

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
site_name: pigwig
2-
site_url: https://raylu.github.io/pigwig
2+
site_url: !ENV READTHEDOCS_CANONICAL_URL
33
repo_url: https://github.com/raylu/pigwig
44
edit_uri: edit/main/docs/
55
plugins:

0 commit comments

Comments
 (0)