include/spd_bin.h: Add SPD IO layer
[coreboot2.git] / Documentation / conf.py
blobd5b522afb9b297722124c971fd0e36d7ef61550a
1 # Configuration file for the Sphinx documentation builder.
3 # For the full list of built-in configuration values, see the documentation:
4 # https://www.sphinx-doc.org/en/master/usage/configuration.html
6 # -- Project information -----------------------------------------------------
7 # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
9 import subprocess
11 project = 'coreboot'
12 copyright = 'CC-by 4.0 the coreboot project'
13 author = 'the coreboot project'
15 release = subprocess.check_output(('git', 'describe')).decode("utf-8")
16 # The short X.Y version.
17 version = release.split("-")[0]
20 # -- General configuration ---------------------------------------------------
21 # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
23 extensions = ["myst_parser"]
25 myst_heading_anchors = 5
26 myst_url_schemes = ["http", "https", "mailto", "ftp", "ircs"]
28 templates_path = ['_templates']
29 exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
31 # The name of the Pygments (syntax highlighting) style to use.
32 pygments_style = 'sphinx'
34 # The language for content autogenerated by Sphinx. Refer to documentation
35 # for a list of supported languages.
37 # This is also used if you do content translation via gettext catalogs.
38 # Usually you set "language" from the command line for these cases.
39 language = 'en'
41 # -- Options for HTML output -------------------------------------------------
42 # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
44 html_theme = 'sphinx_rtd_theme'
45 html_static_path = ['_static']
46 html_css_files = [
47 'theme_overrides.css', # override wide tables in RTD theme