| 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 |
import sys |
| 7 |
|
| 8 |
from pathlib import Path |
| 9 |
|
| 10 |
|
| 11 |
sys.path.append(str(Path('_ext').resolve())) |
| 12 |
|
| 13 |
|
| 14 |
# -- Project information ----------------------------------------------------- |
| 15 |
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information |
| 16 |
|
| 17 |
project = 'flashrom' |
| 18 |
# copyright = '2023, The flashrom authors' |
| 19 |
author = 'The flashrom authors' |
| 20 |
|
| 21 |
# -- General configuration --------------------------------------------------- |
| 22 |
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration |
| 23 |
|
| 24 |
master_doc = 'index' # this is needed for old versions |
| 25 |
|
| 26 |
extensions = [ |
| 27 |
'sphinx.ext.todo', |
| 28 |
'flashrom_authors' |
| 29 |
] |
| 30 |
|
| 31 |
#templates_path = ['_templates'] |
| 32 |
exclude_patterns = [] |
| 33 |
|
| 34 |
# -- Options for Todo extension ---------------------------------------------- |
| 35 |
# https://www.sphinx-doc.org/en/master/usage/extensions/todo.html |
| 36 |
|
| 37 |
# If this is True, todo and todolist produce output, else they produce nothing. The default is False. |
| 38 |
todo_include_todos = False |
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
# -- Options for HTML output ------------------------------------------------- |
| 43 |
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output |
| 44 |
|
| 45 |
html_theme = 'alabaster' |
| 46 |
#html_static_path = ['_static'] |
| 47 |
|
| 48 |
html_favicon = 'logo/flashrom_icon_color-32x32.ico' |
| 49 |
|
| 50 |
|
| 51 |
# -- Options for manual page output -------------------------------------------- |
| 52 |
man_make_section_directory = True |
| 53 |
man_show_urls = True |
| 54 |
man_pages = [ |
| 55 |
('classic_cli_manpage', project, '', [], 8), |
| 56 |
] |