Skip to content

Commit

Permalink
use griffe collector for mkdocstrings plugin and update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsferreira committed Oct 4, 2024
1 parent 0408c6f commit c0ef64f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
4 changes: 1 addition & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ plugins:
- mkdocstrings:
handlers:
python:
setup_commands:
- import sys
- sys.path.append('../')
collector: griffe
theme:
name: material
feature:
Expand Down
28 changes: 15 additions & 13 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"]
Expand Down

0 comments on commit c0ef64f

Please sign in to comment.