summaryrefslogtreecommitdiff
path: root/docs/website/conf.py
blob: 98a51412e504b37e286283649978fcdde60a0e99 (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
# -*- 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
highlight_language = 'c'

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', ''),
}