From 75ebe24b48709da8a221f28ff1858de1f7599719 Mon Sep 17 00:00:00 2001 From: natenka Date: Wed, 31 May 2023 12:18:22 +0000 Subject: [PATCH] add menu --- docs/source/conf.py | 5 ++--- docs/source/index.rst | 9 ++++++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 96d3f31..e606868 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -57,15 +57,14 @@ # html_sidebars = { # "**": ["about.html", "searchbox.html", "localtoc.html", "navigation.html"] # } -announcement = """Перевод книги Ukranian/English -""" +# announcement = """Перевод книги Ukranian/English """ html_title = "Python для сетевых инженеров" html_theme_options = { "prev_next_buttons_location": "both", "navigation_with_keys": True, "top_of_page_button": None, - "announcement": announcement, + # "announcement": announcement, "light_css_variables": { "color-brand-primary": "#336790", # "blue" "color-brand-content": "#336790", diff --git a/docs/source/index.rst b/docs/source/index.rst index c8591cd..cebdce6 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -45,5 +45,12 @@ Python. Задача книги – объяснить понятным язык :maxdepth: 1 Задания, примеры кода - Задать вопрос Лекции по Python для сетевых инженеров + + +.. toctree:: + :caption: Перевод книги + :maxdepth: 1 + + Українською + English