fix(docs): resolve IndentationError in docs_reader

This commit is contained in:
2025-12-24 20:49:22 +01:00
parent 3cd444097b
commit 043cc2c83b

View File

@@ -25,6 +25,9 @@ ALLOWED_DOCS = {
"deploy_security_fixes.sh": "Security Script (Source)" # Maybe viewing scripts is cool too? Let's stick to MD for now.
}
from config import get_settings
@router.get("/docs", response_class=HTMLResponse)
async def list_docs(req: Request):
"""
@@ -32,8 +35,6 @@ async def list_docs(req: Request):
"""
# Check which exist
available = []
from config import get_settings
# Use configured docs path
try: