diff --git a/mkdocs.yml b/mkdocs.yml index a9d7639..ba0b1d5 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -15,9 +15,7 @@ plugins: - mkdocstrings: handlers: python: - setup_commands: - - import sys - - sys.path.append('../') + collector: griffe theme: name: material feature: diff --git a/poetry.lock b/poetry.lock index e7bf0f1..c93dec2 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1297,22 +1297,23 @@ files = [ [[package]] name = "mkdocstrings" -version = "0.23.0" +version = "0.26.1" description = "Automatic documentation from sources, for MkDocs." optional = false python-versions = ">=3.8" files = [ - {file = "mkdocstrings-0.23.0-py3-none-any.whl", hash = "sha256:051fa4014dfcd9ed90254ae91de2dbb4f24e166347dae7be9a997fe16316c65e"}, - {file = "mkdocstrings-0.23.0.tar.gz", hash = "sha256:d9c6a37ffbe7c14a7a54ef1258c70b8d394e6a33a1c80832bce40b9567138d1c"}, + {file = "mkdocstrings-0.26.1-py3-none-any.whl", hash = "sha256:29738bfb72b4608e8e55cc50fb8a54f325dc7ebd2014e4e3881a49892d5983cf"}, + {file = "mkdocstrings-0.26.1.tar.gz", hash = "sha256:bb8b8854d6713d5348ad05b069a09f3b79edbc6a0f33a34c6821141adb03fe33"}, ] [package.dependencies] +click = ">=7.0" Jinja2 = ">=2.11.1" -Markdown = ">=3.3" +Markdown = ">=3.6" MarkupSafe = ">=1.1" -mkdocs = ">=1.2" -mkdocs-autorefs = ">=0.3.1" -mkdocstrings-python = {version = ">=0.5.2", optional = true, markers = "extra == \"python\""} +mkdocs = ">=1.4" +mkdocs-autorefs = ">=1.2" +platformdirs = ">=2.2" pymdown-extensions = ">=6.3" [package.extras] @@ -1322,18 +1323,19 @@ python-legacy = ["mkdocstrings-python-legacy (>=0.2.1)"] [[package]] name = "mkdocstrings-python" -version = "1.8.0" +version = "1.11.1" description = "A Python handler for mkdocstrings." optional = false python-versions = ">=3.8" files = [ - {file = "mkdocstrings_python-1.8.0-py3-none-any.whl", hash = "sha256:4209970cc90bec194568682a535848a8d8489516c6ed4adbe58bbc67b699ca9d"}, - {file = "mkdocstrings_python-1.8.0.tar.gz", hash = "sha256:1488bddf50ee42c07d9a488dddc197f8e8999c2899687043ec5dd1643d057192"}, + {file = "mkdocstrings_python-1.11.1-py3-none-any.whl", hash = "sha256:a21a1c05acef129a618517bb5aae3e33114f569b11588b1e7af3e9d4061a71af"}, + {file = "mkdocstrings_python-1.11.1.tar.gz", hash = "sha256:8824b115c5359304ab0b5378a91f6202324a849e1da907a3485b59208b797322"}, ] [package.dependencies] -griffe = ">=0.37" -mkdocstrings = ">=0.20" +griffe = ">=0.49" +mkdocs-autorefs = ">=1.2" +mkdocstrings = ">=0.26" [[package]] name = "mpmath" @@ -2658,4 +2660,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = ">=3.10,<4.0" -content-hash = "6464dff7ba7e663c0c163a24fa34c195491d2ab82732fd53de5fe2669ae23841" +content-hash = "368eb88c117920fb9c9802cb0473987545b17f4e7e43d333f070c7b64e79bbda" diff --git a/pyproject.toml b/pyproject.toml index 62dfdb8..c62d892 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,9 @@ sympy = "^1.12" matplotlib = "^3.8.3" seaborn = "^0.13.2" tqdm = "^4.66.5" +mkdocstrings = "^0.26.1" +mkdocs = "^1.6.1" +mkdocstrings-python = "^1.11.1" [tool.poetry.group.dev.dependencies] pytest = "^7.2.0" @@ -30,9 +33,7 @@ types-tqdm = "^4.66.0.20240106" types-seaborn = "^0.13.2.20240311" [tool.poetry.group.docs.dependencies] -mkdocs = "^1.4.2" mkdocs-material = "^9.2.7" -mkdocstrings = {extras = ["python"], version = "^0.23.0"} [build-system] requires = ["poetry-core>=1.0.0"]