Skip to content

Commit

Permalink
add menu
Browse files Browse the repository at this point in the history
  • Loading branch information
natenka committed May 31, 2023
1 parent e365ed7 commit 75ebe24
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 2 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,14 @@
# html_sidebars = {
# "**": ["about.html", "searchbox.html", "localtoc.html", "navigation.html"]
# }
announcement = """Перевод книги <a href="https://pyneng.io/">Ukranian</a>/<a href="https://pyneng.readthedocs.io/en/latest/">English</a>
"""
# announcement = """Перевод книги <a href="https://pyneng.io/">Ukranian</a>/<a href="https://pyneng.readthedocs.io/en/latest/">English</a> """

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",
Expand Down
9 changes: 8 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,12 @@ Python. Задача книги – объяснить понятным язык
:maxdepth: 1

Задания, примеры кода <https://github.com/natenka/pyneng-examples-exercises/>
Задать вопрос <https://github.com/natenka/pyneng-book/discussions>
Лекции по Python для сетевых инженеров <https://www.youtube.com/channel/UCbp_f4rb5OR5hSUJW3F2FRg>


.. toctree::
:caption: Перевод книги
:maxdepth: 1

Українською <https://pyneng.io/book>
English <https://pyneng.readthedocs.io/en/latest/>

0 comments on commit 75ebe24

Please sign in to comment.