Skip to content

Commit 07e1ed4

Browse files
committed
feat: use undocumented numpy support in mkdocstrings
1 parent 0bd4142 commit 07e1ed4

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

mkdocs.yml

+4
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ plugins:
7575
- git-revision-date
7676
- search
7777
- mkdocstrings:
78+
handlers:
79+
python:
80+
selection:
81+
docstring_style: numpy
7882
watch:
7983
- aws_lambda_powertools
8084

poetry.lock

+13-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ mkdocs-material = "^7.1.9"
5353
mkdocs-git-revision-date-plugin = "^0.3.1"
5454
mike = "^0.6.0"
5555
mkdocstrings = "^0.15.2"
56+
pytkdocs = {extras = ["numpy-style"], version = "^0.11.1"}
5657

5758

5859
[tool.poetry.extras]

0 commit comments

Comments
 (0)