Skip to content

Commit f9f69a0

Browse files
committed
some doc fixes
1 parent 2bd0611 commit f9f69a0

File tree

5 files changed

+9
-12
lines changed

5 files changed

+9
-12
lines changed

conda-envs/environment-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies:
2727
- myst-nb
2828
- numpydoc
2929
- pre-commit>=2.8.0
30-
- pydata-sphinx-theme<0.10.1
30+
- pydata-sphinx-theme>=0.11.0
3131
- pytest-cov>=2.5
3232
- pytest>=3.0
3333
- sphinx-copybutton

conda-envs/windows-environment-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies:
2525
- myst-nb
2626
- numpydoc
2727
- pre-commit>=2.8.0
28-
- pydata-sphinx-theme<0.10.1
28+
- pydata-sphinx-theme>=0.11.0
2929
- pytest-cov>=2.5
3030
- pytest>=3.0
3131
- sphinx-autobuild>=0.7

docs/source/conf.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@
2020
import sys
2121
from pathlib import Path
2222

23-
# If extensions (or modules to document with autodoc) are in another directory,
24-
# add these directories to sys.path here. If the directory is relative to the
25-
# documentation root, use os.path.abspath to make it absolute, like shown here.
26-
sys.path.insert(0, os.path.abspath(os.path.join("..", "..")))
2723
import pymc # isort:skip
2824

2925
# -- General configuration ------------------------------------------------

docs/source/contributing/build_docs.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ To build docs on Windows we recommend running inside a Docker container.
88
To build the docs, run these commands at PyMC repository root:
99

1010
```bash
11-
$ pip install -r requirements-dev.txt # Make sure the dev requirements are installed
12-
$ pip install numpyro # Make sure `sampling_jax` docs can be built
13-
$ make clean # clean built docs from previous runs and intermediate outputs
14-
$ make html # Build docs
15-
$ python -m http.server --directory docs/_build/ # Render docs
11+
pip install -r requirements-dev.txt # Make sure the dev requirements are installed
12+
pip install numpyro # Make sure `sampling_jax` docs can be built
13+
pip install -e . # Install local pymc version as installable package
14+
make clean # clean built docs from previous runs and intermediate outputs
15+
make html # Build docs
16+
python -m http.server --directory docs/_build/ # Render docs
1617
```
1718

1819
Check the printed URL where docs are being served and open it.

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ numpydoc
1717
pandas>=0.24.0
1818
polyagamma
1919
pre-commit>=2.8.0
20-
pydata-sphinx-theme<0.10.1
20+
pydata-sphinx-theme>=0.11.0
2121
pytest-cov>=2.5
2222
pytest>=3.0
2323
scipy>=1.4.1

0 commit comments

Comments
 (0)