diff --git a/docs/source/_templates/layout.html b/docs/source/_templates/base.html similarity index 73% rename from docs/source/_templates/layout.html rename to docs/source/_templates/base.html index cb571491..fac3a433 100644 --- a/docs/source/_templates/layout.html +++ b/docs/source/_templates/base.html @@ -1,6 +1,7 @@ -{% extends "!layout.html" %} +{% extends "!base.html" %} -{% block footer %} -{{ super() }} +{% block scripts %} +{{super()}} -{% endblock %} \ No newline at end of file +{% endblock %} + diff --git a/docs/source/_templates/page.html b/docs/source/_templates/page.html new file mode 100644 index 00000000..8e8856b7 --- /dev/null +++ b/docs/source/_templates/page.html @@ -0,0 +1,9 @@ +{% extends "!page.html" %} + +{% block content %} + +{% if release == 'latest' %} +
You are reading the latest version of the documentation. Functionality described here, is only available in the latest version of the LMQL.
+{% endif %} +{{super()}} +{% endblock %} diff --git a/docs/source/conf.py b/docs/source/conf.py index be573356..9bf933b0 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -79,5 +79,5 @@ "title": "Community", "url": "https://discord.gg/7eJP4fcyNT" } - ], -} + ] +} \ No newline at end of file diff --git a/docs/source/index.rst b/docs/source/index.rst index ac359f14..f611198d 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -1,6 +1,6 @@ Welcome To LMQL =================================== - + .. raw:: html
LMQL is a programming language for large language model interaction.
@@ -137,3 +137,4 @@ To learn more about LMQL, select one of the following sections or navigate the d Discord GitHub Issues E-Mail + \ No newline at end of file