fix(docs): resolve IndentationError in docs_reader
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user