trinteract/docs/source/conf.py

63 lines
2.1 KiB
Python
Raw Permalink Normal View History

2023-04-29 03:53:35 -05:00
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
2023-05-10 16:34:44 -05:00
project = 'trinteract'
2023-05-11 12:07:41 -05:00
copyright = 'CC BY-SA 4.0, Görkem'
2023-04-29 03:53:35 -05:00
author = 'Görkem'
2023-05-10 16:34:44 -05:00
release = 'v1.2'
2023-04-29 03:53:35 -05:00
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = [
2023-05-30 04:05:31 -05:00
'sphinx_copybutton',
'sphinx_changelog'
2023-04-29 03:53:35 -05:00
]
autoclass_content = 'both'
templates_path = ['_templates']
html_static_path = ['_static']
exclude_patterns = []
2023-05-10 16:28:32 -05:00
pygments_style = 'default'
2023-04-29 03:53:35 -05:00
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_css_files = [
"css/custom.css",
]
2023-05-10 16:28:32 -05:00
html_theme = 'furo'
# html_theme = 'sphinx_book_theme'
2023-05-09 08:38:26 -05:00
# html_theme = 'pydata_sphinx_theme'
2023-05-08 11:02:13 -05:00
html_logo = "logo.png"
2023-05-09 08:38:26 -05:00
html_context ={
"default_mode": "light"
}
2023-04-29 03:53:35 -05:00
html_theme_options = {
2023-05-10 16:28:32 -05:00
"source_repository": "https://github.com/gocivici/trinteract",
"source_branch": "master",
"source_directory": "docs/source",
"top_of_page_button": "edit",
2023-05-30 04:05:31 -05:00
"announcement": "Trinteract has been certified as open-source hardware by OSHWA! <em><a href='https://certification.oshwa.org/ee000001.html'>Click here for more info</a></em>",
2023-05-10 16:28:32 -05:00
# "repository_url": "https://github.com/gocivici/trinteract",
# "path_to_docs": "docs/source",
# "repository_branch": "master",
# "use_repository_button": True,
# "use_issues_button": True,
# "use_edit_page_button": True,
# "use_fullscreen_button": False,
2023-05-09 08:38:26 -05:00
# "use_switch_button": False,
2023-05-10 16:28:32 -05:00
"sidebar_hide_name": True,
2023-04-29 03:53:35 -05:00
# "announcement": "<em>Important</em> announcement!",
# 'collapse_navigation': False,
}
2023-05-10 16:28:32 -05:00
html_additional_pages = {
"index": "newIndex.html"
}
2023-04-29 03:53:35 -05:00
# html_title = " "