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:
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

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