Debian Codegraph @

doc/conf.py

raw
1 # Configuration file for the Sphinx documentation builder.
2 #
3 # For the full list of built-in configuration values, see the documentation:
4 # https://www.sphinx-doc.org/en/master/usage/configuration.html
5
6 # -- Project information -----------------------------------------------------
7 # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
8
9 project = "XDG Desktop Portal"
10 copyright = "2023-2025, XDG Desktop Portal authors"
11 author = "XDG Desktop Portal authors"
12
13 # -- General configuration ---------------------------------------------------
14 # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
15 html_favicon = "favicon.ico"
16
17 extensions = [
18 "sphinxext.opengraph",
19 "sphinx_copybutton",
20 ]
21
22 templates_path = ["_templates"]
23 exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
24
25
26 # -- Options for HTML output -------------------------------------------------
27 # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
28
29 html_theme = "furo"
30 # add custom files that are stored in _static
31 html_css_files = ["xdg.css"]
32 html_static_path = ["_static"]
33
34 # -- Options for OpenGraph ---------------------------------------------------
35
36 ogp_site_url = "https://flatpak.github.io/xdg-desktop-portal/docs/"
37 ogp_image = "_static/card.png"
38
39 html_permalinks_icon = "🔗"