2022-12-28 14:38:49 +01:00
|
|
|
|
# Configuration file for the Sphinx documentation builder.
|
2016-03-30 14:15:25 +02:00
|
|
|
|
#
|
2022-12-28 14:38:49 +01:00
|
|
|
|
# For the full list of built-in configuration values, see the documentation:
|
|
|
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
2016-03-30 14:15:25 +02:00
|
|
|
|
|
|
|
|
|
import os
|
2022-12-28 14:38:49 +01:00
|
|
|
|
import sys
|
2016-03-30 14:15:25 +02:00
|
|
|
|
|
2022-12-28 14:38:49 +01:00
|
|
|
|
sys.path.append(os.path.abspath('../..'))
|
2016-03-30 14:15:25 +02:00
|
|
|
|
|
2022-12-28 14:38:49 +01:00
|
|
|
|
# -- Project information -----------------------------------------------------
|
|
|
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
2016-03-30 14:15:25 +02:00
|
|
|
|
|
2022-12-28 14:38:49 +01:00
|
|
|
|
project = 'boxes.py'
|
|
|
|
|
project_copyright = '2023, Florian Festi'
|
|
|
|
|
author = 'Florian Festi'
|
2016-03-30 14:15:25 +02:00
|
|
|
|
|
2022-12-28 14:38:49 +01:00
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
|
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
2016-03-30 14:15:25 +02:00
|
|
|
|
|
|
|
|
|
extensions = [
|
|
|
|
|
'sphinx.ext.autodoc',
|
|
|
|
|
'sphinx.ext.coverage',
|
|
|
|
|
'sphinx.ext.ifconfig',
|
|
|
|
|
'sphinx.ext.viewcode',
|
2018-10-03 06:11:42 +02:00
|
|
|
|
'sphinx.ext.githubpages',
|
2016-03-30 14:15:25 +02:00
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
templates_path = ['_templates']
|
2022-12-28 14:38:49 +01:00
|
|
|
|
#exclude_patterns = []
|
|
|
|
|
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
2016-03-30 14:15:25 +02:00
|
|
|
|
|
|
|
|
|
# The suffix of source filenames.
|
|
|
|
|
source_suffix = '.rst'
|
|
|
|
|
|
2022-12-28 14:38:49 +01:00
|
|
|
|
# The root toctree document.
|
|
|
|
|
root_doc = 'index'
|
2016-03-30 14:15:25 +02:00
|
|
|
|
|
|
|
|
|
# The name of the Pygments (syntax highlighting) style to use.
|
|
|
|
|
pygments_style = 'sphinx'
|
|
|
|
|
|
2022-12-28 14:38:49 +01:00
|
|
|
|
# -- Options for HTML output -------------------------------------------------
|
|
|
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
2016-03-30 14:15:25 +02:00
|
|
|
|
|
2019-02-07 17:44:12 +01:00
|
|
|
|
html_theme = 'nature'
|
2022-12-28 14:38:49 +01:00
|
|
|
|
html_static_path = ['_static']
|
2016-03-30 14:15:25 +02:00
|
|
|
|
|
|
|
|
|
# The name of an image file (relative to this directory) to place at the top
|
|
|
|
|
# of the sidebar.
|
2019-02-07 17:44:12 +01:00
|
|
|
|
html_logo = "../../static/boxes-logo.svg"
|
2016-03-30 14:15:25 +02:00
|
|
|
|
|
|
|
|
|
# The name of an image file (within the static path) to use as favicon of the
|
|
|
|
|
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
|
|
|
|
|
# pixels large.
|
2019-02-07 17:44:12 +01:00
|
|
|
|
html_favicon = "../../static/favicon.ico"
|
2016-03-30 14:15:25 +02:00
|
|
|
|
|
|
|
|
|
# Output file base name for HTML help builder.
|
|
|
|
|
htmlhelp_basename = 'boxespydoc'
|
|
|
|
|
|
2022-12-28 14:38:49 +01:00
|
|
|
|
# If this is not None, a ‘Last updated on:’ timestamp is inserted at every page bottom.
|
|
|
|
|
html_last_updated_fmt = ''
|
2016-03-30 14:15:25 +02:00
|
|
|
|
|
|
|
|
|
# -- Options for LaTeX output ---------------------------------------------
|
|
|
|
|
|
2022-12-28 14:38:49 +01:00
|
|
|
|
latex_elements = {}
|
2016-03-30 14:15:25 +02:00
|
|
|
|
|
|
|
|
|
# Grouping the document tree into LaTeX files. List of tuples
|
|
|
|
|
# (source start file, target name, title,
|
|
|
|
|
# author, documentclass [howto, manual, or own class]).
|
|
|
|
|
latex_documents = [
|
2022-12-28 14:38:49 +01:00
|
|
|
|
('index', 'boxespy.tex', 'boxes.py Documentation',
|
|
|
|
|
'Florian Festi', 'manual'),
|
2016-03-30 14:15:25 +02:00
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
# -- Options for manual page output ---------------------------------------
|
|
|
|
|
|
|
|
|
|
# One entry per manual page. List of tuples
|
|
|
|
|
# (source start file, name, description, authors, manual section).
|
|
|
|
|
man_pages = [
|
|
|
|
|
('index', 'boxespy', 'boxes.py Documentation',
|
|
|
|
|
['Florian Festi'], 1)
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
# -- Options for Texinfo output -------------------------------------------
|
|
|
|
|
|
|
|
|
|
# Grouping the document tree into Texinfo files. List of tuples
|
|
|
|
|
# (source start file, target name, title, author,
|
|
|
|
|
# dir menu entry, description, category)
|
|
|
|
|
texinfo_documents = [
|
2022-12-28 14:38:49 +01:00
|
|
|
|
('index', 'boxespy', 'boxes.py Documentation',
|
|
|
|
|
'Florian Festi', 'boxespy', 'One line description of project.',
|
|
|
|
|
'Miscellaneous'),
|
2016-03-30 14:15:25 +02:00
|
|
|
|
]
|