From 9c52c47c2901ce36477e176e4f1ca4ca4b9fd939 Mon Sep 17 00:00:00 2001 From: Louis Desdoigts Date: Wed, 4 Oct 2023 14:50:34 +1100 Subject: [PATCH] Attempted fix at failed docs build --- mkdocs.yml | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index 6234bcd9..7b7405c9 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -58,6 +58,7 @@ plugins: default_handler: python handlers: python: + paths: [src] options: docstring_style: "numpy" rendering: diff --git a/pyproject.toml b/pyproject.toml index a9200e65..7f61529f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ build-backend = "setuptools.build_meta" [project.optional-dependencies] extras = ["matplotlib", "jupyter", "jupyterlab", "tqdm", "chainconsumer", "numpyro", "dLuxToliman", "scikit-learn"] -dev = ["pytest", "black", "ruff", "pre-commit", "mkdocs", "mkdocs-jupyter", "mkdocs-same-dir", "mkdocs-autorefs", "mkdocs-simple-plugin", "mkdocstrings-python", "jupyter_contrib_nbextensions"] +dev = ["pytest", "black", "ruff", "pre-commit", "mkdocs", "mkdocs-jupyter", "mkdocs-same-dir", "mkdocs-autorefs", "mkdocs-simple-plugin", "mkdocstrings-python", "jupyter_contrib_nbextensions", "notebook==6.4.12"] [tool.black] line-length = 79