onionshare/docs/source/conf.py

43 lines
1.3 KiB
Python
Raw Normal View History

project = "OnionShare"
author = copyright = "Micah Lee, et al."
version = release = "2.6.1"
extensions = ["sphinx_rtd_theme"]
templates_path = ["_templates"]
exclude_patterns = []
2020-08-31 16:04:24 -04:00
languages = [
("English", "en"), # English
2022-10-09 18:01:55 -04:00
# ("Français", "fr"), # French
# ("Deutsch", "de"), # German
2022-01-17 13:33:13 -05:00
("Ελληνικά", "el"), # Greek
2022-10-09 18:01:55 -04:00
# ("Italiano", "it"), # Italian
("日本語", "ja"), # Japanese
("ភាសាខ្មែរ", "km"), # Khmer (Central)
# ("Norsk Bokmål", "nb_NO"), # Norwegian Bokmål
# ("Polish", "pl"), # Polish
# ("Portuguese (Brazil)", "pt_BR"), # Portuguese (Brazil))
# ("Русский", "ru"), # Russian
2022-01-17 13:33:13 -05:00
("Español", "es"), # Spanish
2022-10-09 18:01:55 -04:00
("Svenska", "sv"), # Swedish
("Türkçe", "tr"), # Turkish
2021-08-22 16:17:55 -04:00
("Українська", "uk"), # Ukrainian
2020-08-31 16:04:24 -04:00
]
versions = ["2.3", "2.3.1", "2.3.2", "2.3.3", "2.4", "2.5", "2.6", "2.6.1"]
2020-08-31 16:04:24 -04:00
html_theme = "sphinx_rtd_theme"
html_logo = "_static/logo.png"
html_favicon = "_static/favicon.ico"
html_theme_options = {}
html_context = {"langs": languages, "versions": versions, "current_version": release}
html_static_path = ["_static"]
html_css_files = ["custom.css"]
2020-08-25 18:29:39 -04:00
html_show_sourcelink = False
html_show_sphinx = False
# sphinx-intl
2020-08-25 18:29:39 -04:00
language = "en"
locale_dirs = ["locale/"]
gettext_compact = False