1 # -*- coding: utf-8 -*-
5 'sphinx.ext.intersphinx',
9 intersphinx_mapping
= {
10 'gtk': ('https://lazka.github.io/pgi-docs/Gtk-3.0', None),
11 'gobject': ('https://lazka.github.io/pgi-docs/GObject-2.0', None),
12 'glib': ('https://lazka.github.io/pgi-docs/GLib-2.0', None),
13 'gdk': ('https://lazka.github.io/pgi-docs/Gdk-3.0', None),
14 'gio': ('https://lazka.github.io/pgi-docs/Gio-2.0', None),
15 'python2': ('https://docs.python.org/2.7', None),
16 'python3': ('https://docs.python.org/3', None),
17 'cairo': ('https://pycairo.readthedocs.io/en/latest', None),
20 source_suffix
= '.rst'
22 exclude_patterns
= ['_build', 'README.rst']
24 pygments_style
= 'tango'
25 html_theme
= 'sphinx_rtd_theme'
26 html_show_copyright
= False
27 html_favicon
= "images/favicon.ico"
33 'https://quodlibet.github.io/fonts/font-mfizz.css',
36 "display_gitlab": True,
37 "gitlab_user": "GNOME",
38 "gitlab_repo": "pygobject",
39 "gitlab_version": "master",
40 "conf_py_path": "/docs/",
41 "gitlab_host": "gitlab.gnome.org",
46 "images/pygobject-small.svg",
49 html_theme_options
= {
50 "display_version": False,
54 'bzbug': ('https://bugzilla.gnome.org/show_bug.cgi?id=%s', 'bz#'),
55 'issue': ('https://gitlab.gnome.org/GNOME/pygobject/issues/%s', '#'),
56 'commit': ('https://gitlab.gnome.org/GNOME/pygobject/commit/%s', ''),
58 'https://gitlab.gnome.org/GNOME/pygobject/merge_requests/%s', '!'),
59 'user': ('https://gitlab.gnome.org/%s', ''),
62 suppress_warnings
= ["image.nonlocal_uri"]