summaryrefslogtreecommitdiff
path: root/docs/website/conf.py
blob: 95c37c8ef9accbe7b7b4e3df36472ac7d10f946a (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
# -*- coding: utf-8 -*-

extensions = [
    'sphinx.ext.extlinks',
]
source_suffix = '.rst'
master_doc = 'index'
exclude_patterns = ['_build']

html_theme = 'sphinx_rtd_theme'
html_show_copyright = False
project = "GObject Introspection"
html_title = project

html_theme_options = {
    "display_version": False,
}

html_static_path = [
    "extra.css",
]

html_context = {
    'extra_css_files': [
        '_static/extra.css',
    ],
}

extlinks = {
    'bzbug': ('https://bugzilla.gnome.org/show_bug.cgi?id=%s', 'bz#'),
    'commit': ('https://gitlab.gnome.org/GNOME/gobject-introspection/commit/%s', ''),
    'issue': ('https://gitlab.gnome.org/GNOME/gobject-introspection/issues/%s', '#'),
    'mr': (
        'https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/%s', '!'),
    'user': ('https://gitlab.gnome.org/%s', ''),
}