Imported Upstream version 1.61.1
[platform/upstream/gobject-introspection.git] / docs / website / conf.py
1 # -*- coding: utf-8 -*-
2
3 extensions = [
4     'sphinx.ext.extlinks',
5 ]
6 source_suffix = '.rst'
7 master_doc = 'index'
8 exclude_patterns = ['_build']
9
10 html_theme = 'sphinx_rtd_theme'
11 html_show_copyright = False
12 project = "GObject Introspection"
13 html_title = project
14
15 html_theme_options = {
16     "display_version": False,
17 }
18
19 html_static_path = [
20     "extra.css",
21 ]
22
23 html_context = {
24     'extra_css_files': [
25         '_static/extra.css',
26     ],
27 }
28
29 extlinks = {
30     'bzbug': ('https://bugzilla.gnome.org/show_bug.cgi?id=%s', 'bz#'),
31     'commit': ('https://gitlab.gnome.org/GNOME/gobject-introspection/commit/%s', ''),
32     'issue': ('https://gitlab.gnome.org/GNOME/gobject-introspection/issues/%s', '#'),
33     'mr': (
34         'https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/%s', '!'),
35     'user': ('https://gitlab.gnome.org/%s', ''),
36 }