django-configurations/docs/conf.py

45 lines
1.4 KiB
Python
Raw Permalink Normal View History

import configurations
2012-07-21 13:56:04 +00:00
# -- Project information -----------------------------------------------------
project = 'django-configurations'
2023-01-19 17:06:05 +00:00
copyright = '2012-2023, Jannis Leidel and other contributors'
author = 'Jannis Leidel and other contributors'
2012-07-21 13:56:04 +00:00
release = configurations.__version__
2019-12-03 12:01:17 +00:00
version = ".".join(release.split(".")[:2])
2012-07-21 13:56:04 +00:00
# -- General configuration ---------------------------------------------------
add_function_parentheses = False
add_module_names = False
2012-07-21 13:56:04 +00:00
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'sphinx.ext.viewcode',
2012-07-21 13:56:04 +00:00
]
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
2012-07-21 13:56:04 +00:00
intersphinx_mapping = {
2021-11-08 14:48:07 +00:00
'python': ('https://docs.python.org/3', None),
'sphinx': ('https://www.sphinx-doc.org/en/master', None),
'django': ('https://docs.djangoproject.com/en/dev',
2021-11-08 14:48:07 +00:00
'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'),
]