2020-08-24 19:30:21 -04:00
|
|
|
import sphinx_rtd_theme
|
|
|
|
import sphinx_intl
|
2020-08-23 22:52:43 -04:00
|
|
|
|
|
|
|
|
|
|
|
project = "OnionShare"
|
2020-08-27 20:30:42 -04:00
|
|
|
author = copyright = "Micah Lee, et al."
|
2021-02-22 16:41:07 -05:00
|
|
|
version = release = "2.3.1"
|
2020-08-23 22:52:43 -04:00
|
|
|
|
2020-08-24 19:30:21 -04:00
|
|
|
extensions = ["sphinx_rtd_theme"]
|
2020-08-23 22:52:43 -04:00
|
|
|
templates_path = ["_templates"]
|
|
|
|
exclude_patterns = []
|
|
|
|
|
2020-08-31 16:04:24 -04:00
|
|
|
languages = [
|
2021-02-15 18:31:22 -05:00
|
|
|
("Deutsch", "de"), # German
|
|
|
|
("English", "en"), # English
|
|
|
|
("Español", "es"), # Spanish
|
|
|
|
("Ελληνικά", "el"), # Greek
|
|
|
|
("Türkçe", "tr"), # Turkish
|
|
|
|
("Українська", "uk"), # Ukranian
|
2020-08-31 16:04:24 -04:00
|
|
|
]
|
|
|
|
|
2021-02-22 16:37:21 -05:00
|
|
|
versions = ["2.3", "2.3.1"]
|
2020-08-31 16:04:24 -04:00
|
|
|
|
2020-08-24 19:30:21 -04:00
|
|
|
html_theme = "sphinx_rtd_theme"
|
2020-08-25 12:19:30 -04:00
|
|
|
html_logo = "_static/logo.png"
|
|
|
|
html_favicon = "_static/favicon.ico"
|
2020-08-26 16:34:03 -04:00
|
|
|
html_theme_options = {}
|
2020-09-03 14:52:02 -04:00
|
|
|
html_context = {"langs": languages, "versions": versions, "current_version": release}
|
2020-08-23 22:52:43 -04:00
|
|
|
html_static_path = ["_static"]
|
2020-08-24 19:56:34 -04:00
|
|
|
html_css_files = ["custom.css"]
|
2020-08-25 18:29:39 -04:00
|
|
|
html_show_sourcelink = False
|
|
|
|
html_show_sphinx = False
|
2020-08-23 22:52:43 -04:00
|
|
|
|
2020-08-24 19:30:21 -04:00
|
|
|
# sphinx-intl
|
2020-08-25 18:29:39 -04:00
|
|
|
language = "en"
|
2020-08-24 19:30:21 -04:00
|
|
|
locale_dirs = ["locale/"]
|
|
|
|
gettext_compact = False
|