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