diff --git a/documentation/docs/getting-started/installing-dependencies.md b/documentation/docs/getting-started/installing-dependencies.md index 0188fe6..31015b0 100644 --- a/documentation/docs/getting-started/installing-dependencies.md +++ b/documentation/docs/getting-started/installing-dependencies.md @@ -1,7 +1,6 @@ --- hide: - toc -comments: true --- # Варианты добавления в проект diff --git a/documentation/docs/index.md b/documentation/docs/index.md index 981f944..c8f4a63 100644 --- a/documentation/docs/index.md +++ b/documentation/docs/index.md @@ -1,6 +1,7 @@ --- hide: - navigation + - commants title: Home --- diff --git a/documentation/mkdocs.yml b/documentation/mkdocs.yml index b5d4b7d..ea84af8 100644 --- a/documentation/mkdocs.yml +++ b/documentation/mkdocs.yml @@ -19,6 +19,7 @@ nav: theme: name: material + custom_dir: overrides language: ru favicon: assets/favicon.ico icon: diff --git a/documentation/overrides/partials/comments.html b/documentation/overrides/partials/comments.html index 7c1a682..65cfef2 100644 --- a/documentation/overrides/partials/comments.html +++ b/documentation/overrides/partials/comments.html @@ -1,5 +1,6 @@ -{% if page.meta.comments %} -

{{ lang.t("meta.comments") }}

+{% if "comments" in page.meta.hide %} +{% else %} +

{{ lang.t("meta.comments") }}