Skip to content

Commit 0fbd9cd

Browse files
committed
docs infrastructure
1 parent e092650 commit 0fbd9cd

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
lines changed
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Read the Docs Pull Request Preview
2+
on:
3+
pull_request_target:
4+
types:
5+
- opened
6+
7+
permissions:
8+
pull-requests: write
9+
10+
jobs:
11+
documentation-links:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: readthedocs/actions/preview@v1
15+
with:
16+
project-slug: "pymc"

.readthedocs.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ version: 2
77

88
# Set the version of Python and other tools you might need
99
build:
10-
os: ubuntu-20.04
10+
os: ubuntu-lts-latest
1111
tools:
12-
python: "3.10"
12+
python: "3.11"
1313
# You can also specify other tool versions:
1414
# nodejs: "16"
1515
# rust: "1.55"

docs/source/conf.py

+2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@
5151
"sphinx.ext.autodoc",
5252
"sphinx.ext.intersphinx",
5353
"sphinx.ext.mathjax",
54+
"sphinx.ext.viewcode",
5455
"sphinx_autodoc_typehints",
56+
"sphinx_copybutton",
5557
]
5658

5759
nb_execution_mode = "off"

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ docs = [
5959
"sphinx",
6060
"sphinx-autodoc-typehints",
6161
"sphinx_autodoc_defaultargs",
62-
"sphinx-design",
62+
"sphinx-copybutton",
6363
"sphinx-rtd-theme",
6464
"statsmodels",
6565
"sphinxcontrib-bibtex",

0 commit comments

Comments
 (0)