mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
44 lines
1.4 KiB
Python
44 lines
1.4 KiB
Python
import configurations
|
|
|
|
# -- Project information -----------------------------------------------------
|
|
project = 'django-configurations'
|
|
copyright = '2012-2023, Jannis Leidel and other contributors'
|
|
author = 'Jannis Leidel and other contributors'
|
|
|
|
release = configurations.__version__
|
|
version = ".".join(release.split(".")[:2])
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
add_function_parentheses = False
|
|
add_module_names = False
|
|
|
|
extensions = [
|
|
'sphinx.ext.autodoc',
|
|
'sphinx.ext.intersphinx',
|
|
'sphinx.ext.viewcode',
|
|
]
|
|
|
|
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
|
|
|
intersphinx_mapping = {
|
|
'python': ('https://docs.python.org/3', None),
|
|
'sphinx': ('https://www.sphinx-doc.org/en/master', None),
|
|
'django': ('https://docs.djangoproject.com/en/dev',
|
|
'https://docs.djangoproject.com/en/dev/_objects/'),
|
|
}
|
|
|
|
# -- Options for HTML output -------------------------------------------------
|
|
html_theme = 'furo'
|
|
|
|
# -- Options for Epub output ---------------------------------------------------
|
|
epub_title = project
|
|
epub_author = author
|
|
epub_publisher = author
|
|
epub_copyright = copyright
|
|
|
|
# -- Options for LaTeX output --------------------------------------------------
|
|
latex_documents = [
|
|
# (source start file, target name, title, author, documentclass)
|
|
('index', 'django-configurations.tex',
|
|
'django-configurations Documentation', author, 'manual'),
|
|
]
|