django-analytical/docs/conf.py

53 lines
1.3 KiB
Python
Raw Normal View History

2011-01-21 01:01:40 +00:00
#
# This file is execfile()d with the current directory set to its containing
# directory.
import os
import sys
sys.path.append(os.path.join(os.path.abspath('.'), '_ext'))
2011-01-21 01:01:40 +00:00
sys.path.append(os.path.dirname(os.path.abspath('.')))
import analytical # noqa
2011-01-21 01:01:40 +00:00
2015-04-25 00:00:39 +00:00
# -- General configuration --------------------------------------------------
2011-01-21 01:01:40 +00:00
project = 'django-analytical'
copyright = '2011, Joost Cassee <joost@cassee.net>'
2011-01-21 01:01:40 +00:00
release = analytical.__version__
# The short X.Y version.
version = release.rsplit('.', 1)[0]
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'local']
templates_path = ['_templates']
source_suffix = {'.rst': 'restructuredtext'}
2011-01-21 01:01:40 +00:00
master_doc = 'index'
add_function_parentheses = True
pygments_style = 'sphinx'
intersphinx_mapping = {
'python': ('https://docs.python.org/3.13', None),
'django': ('https://docs.djangoproject.com/en/stable', None),
}
2011-01-21 01:01:40 +00:00
2015-04-25 00:00:39 +00:00
# -- Options for HTML output ------------------------------------------------
2011-01-21 01:01:40 +00:00
html_theme = 'default'
htmlhelp_basename = 'analyticaldoc'
2015-04-25 00:00:39 +00:00
# -- Options for LaTeX output -----------------------------------------------
2011-01-21 01:01:40 +00:00
latex_documents = [
2025-04-04 11:25:00 +00:00
(
'index',
'django-analytical.tex',
'Documentation for django-analytical',
'Joost Cassee',
'manual',
),
2011-01-21 01:01:40 +00:00
]