Skip to content

Commit

Permalink
try add menu
Browse files Browse the repository at this point in the history
  • Loading branch information
natenka committed May 31, 2023
1 parent 3913f67 commit f40a79e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,25 @@
# html_sidebars = {
# "**": ["about.html", "searchbox.html", "localtoc.html", "navigation.html"]
# }
announcement = """
<div class="dropdown-menu" aria-labelledby="lang-icon-button">
<a class="dropdown-item lang-text"
href="https://pyneng.io/">
Français
</a>
<a class="dropdown-item lang-text"
href="https://pyneng.readthedocs.io/en/latest/">
Deutsch
</a>
</div>
"""

html_title = "Python для сетевых инженеров"
html_theme_options = {
"prev_next_buttons_location": "both",
"navigation_with_keys": True,
"top_of_page_button": None,
# "announcement": "",
"announcement": announcement,
"light_css_variables": {
"color-brand-primary": "#336790", # "blue"
"color-brand-content": "#336790",
Expand Down

0 comments on commit f40a79e

Please sign in to comment.