Fixes: #18568 Update mkdocstrings and adapt config

This commit is contained in:
Tobias Genannt 2025-03-07 21:43:33 +01:00 committed by Jeremy Stretch
parent 3dda4716e7
commit 19703f7d69
2 changed files with 3 additions and 8 deletions

View File

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

View File

@ -20,8 +20,8 @@ feedparser==6.0.11
gunicorn==23.0.0
Jinja2==3.1.5
Markdown==3.7
mkdocs-material==9.6.2
mkdocstrings[python-legacy]==0.27.0
mkdocs-material==9.6.7
mkdocstrings[python]==0.28.2
netaddr==1.3.0
nh3==0.2.20
Pillow==11.1.0