Fixes: #18568 Update mkdocstrings and adapt config

This commit is contained in:
Tobias Genannt 2025-03-07 21:43:33 +01:00
parent 29c25e39fc
commit 6bf7a12f1e
2 changed files with 2 additions and 7 deletions

View File

@ -28,12 +28,7 @@ plugins:
- mkdocstrings: - mkdocstrings:
handlers: handlers:
python: python:
setup_commands: paths: ["netbox"]
- import os
- import django
- os.chdir('netbox/')
- os.environ.setdefault("DJANGO_SETTINGS_MODULE", "netbox.settings")
- django.setup()
options: options:
heading_level: 3 heading_level: 3
members_order: source members_order: source

View File

@ -21,7 +21,7 @@ gunicorn==23.0.0
Jinja2==3.1.6 Jinja2==3.1.6
Markdown==3.7 Markdown==3.7
mkdocs-material==9.6.7 mkdocs-material==9.6.7
mkdocstrings[python-legacy]==0.27.0 mkdocstrings[python]==0.28.2
netaddr==1.3.0 netaddr==1.3.0
nh3==0.2.21 nh3==0.2.21
Pillow==11.1.0 Pillow==11.1.0