From 3fe0e701d37d834e39360c75485d6f0db7588ec6 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Mon, 20 Feb 2023 00:22:10 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BA=D0=BE=D0=BC=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=80=D0=B8?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../docs/getting-started/installing-dependencies.md | 1 - documentation/docs/index.md | 1 + documentation/mkdocs.yml | 1 + documentation/overrides/partials/comments.html | 5 +++-- 4 files changed, 5 insertions(+), 3 deletions(-) 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") }}