onionshare/docs/source/conf.py

38 lines
905 B
Python
Raw Normal View History

import sphinx_rtd_theme
import sphinx_intl
project = "OnionShare"
author = copyright = "Micah Lee, et al."
version = release = "2.3"
extensions = ["sphinx_rtd_theme"]
templates_path = ["_templates"]
exclude_patterns = []
2020-08-31 16:04:24 -04:00
languages = [
("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
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