summaryrefslogtreecommitdiff
path: root/docs/source/conf.py
blob: 4c89946e2717f900917f2dc4ccc4d0f60db035a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 = []

languages = [
    ("العربية", "ar"),
    ("Català", "ca"),
    ("Dansk", "da"),
    ("Nederlands", "nl"),
    ("English", "en"),
]

versions = ["2.3"]

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"]
html_show_sourcelink = False
html_show_sphinx = False

# sphinx-intl
language = "en"
locale_dirs = ["locale/"]
gettext_compact = False