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 41 42
|
# SPDX-FileCopyrightText: 2021 GNOME Foundation
#
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
project = 'gi-docgen'
copyright = '2021, Emmanuele Bassi'
author = 'Emmanuele Bassi'
release = '2021.1'
extensions = [
'sphinx.ext.extlinks',
]
source_suffix = '.rst'
master_doc = 'index'
exclude_patterns = ['_build']
html_theme = 'sphinx_rtd_theme'
html_show_copyright = False
html_logo = "gi-docgen.png"
html_title = project
html_theme_options = {
'logo_only': True,
'display_version': False,
}
html_static_path = ['gi-docgen.png', 'extra.css']
html_context = {
'extra_css_files': [
'_static/extra.css',
],
}
extlinks = {
'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', '!'),
}
|