File: conf.py

package info (click to toggle)
onionshare 2.6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 21,628 kB
  • sloc: python: 14,487; javascript: 10,725; sh: 137; makefile: 56; xml: 29
file content (40 lines) | stat: -rw-r--r-- 1,208 bytes parent folder | download
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
37
38
39
40
project = "OnionShare"
author = copyright = "Micah Lee, et al."
version = release = "2.6.3"

extensions = ["sphinx_rtd_theme"]
templates_path = ["_templates"]
exclude_patterns = []

languages = [
    ("English", "en"),  # English
    ("Shqip", "sq"),  # Albanian
    ("Български", "bg"),  #Bulgarian
    ("中文 (简体)", "zh_Hans"),  # Simplified Chinese
    ("Deutsch", "de"),  # German
    ("Ελληνικά", "el"),  # Greek
    ("Gaeilge", "ga"),  # Irish
    ("日本語", "ja"),  # Japanese
    ("Polish", "pl"),  # Polish
    ("Русский", "ru"),  # Russian
    ("Español", "es"),  # Spanish
    ("Türkçe", "tr"),  # Turkish
    ("Українська", "uk"),  # Ukrainian
]

versions = ["2.3", "2.3.1", "2.3.2", "2.3.3", "2.4", "2.5", "2.6", "2.6.1", "2.6.2", "2.6.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