diff --git a/.gitignore b/.gitignore index 9d5231be1..190a18d75 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,6 @@ # mkdocs files .cache/ -/docs/overrides # build /build diff --git a/Dockerfile b/Dockerfile index 7293fa7b0..47b1ebced 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /app COPY docs /app/build COPY mkdocs.yml /app/mkdocs.yml -RUN mkdir -p ./build/overrides && mkdocs build +RUN mkdocs build EXPOSE 8000 diff --git a/docs/overrides/partials/content.html b/docs/overrides/partials/content.html new file mode 100644 index 000000000..f13c77fd0 --- /dev/null +++ b/docs/overrides/partials/content.html @@ -0,0 +1,110 @@ + + + +{% if "material/tags" in config.plugins and tags %} + {% include "partials/tags.html" %} +{% endif %} + + +{% include "partials/actions.html" %} + + +{% if "\x3ch1" not in page.content %} +