diff --git a/docs/docs/overrides/api.html b/docs/docs/overrides/api.html index fefa395b0..9cb8e1822 100644 --- a/docs/docs/overrides/api.html +++ b/docs/docs/overrides/api.html @@ -1,5 +1,4 @@ - {% extends "main.html" %} {% block tabs %} {{ super() }} @@ -10,14 +9,16 @@ padding: 0; } - -
- - + + + + + + {% endblock %} {% block content %}{% endblock %} -{% block footer %}{% endblock %} \ No newline at end of file +{% block footer %}{% endblock %} diff --git a/makefile b/makefile index 57c18530d..e08d4e3fb 100644 --- a/makefile +++ b/makefile @@ -14,6 +14,7 @@ frontend: .PHONY: docs docs: + poetry run python mealie/utils/api_docs.py && \ cd docs && poetry run python -m mkdocs serve docker-dev: diff --git a/mealie/utils/api_docs.py b/mealie/utils/api_docs.py index 636b52a7d..fb5300306 100644 --- a/mealie/utils/api_docs.py +++ b/mealie/utils/api_docs.py @@ -1,39 +1,44 @@ import json +from mealie.app import app from mealie.core.config import DATA_DIR """Script to export the ReDoc documentation page into a standalone HTML file.""" -HTML_TEMPLATE = """ - - - -