1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
# Sphinx documentation build configuration file
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.coverage',
'sphinx.ext.intersphinx',
'sphinx.ext.viewcode',
'sphinxarg.ext',
]
exclude_patterns = ['_build']
project = 'sphinx-argparse'
copyright = '2017, Alex Rudakov, Devon Ryan, and contributors'
release = version = '0.5.2'
nitpicky = True
# -- Options for intersphinx ---------------------------------------------------
intersphinx_mapping = {
'python': ('https://docs.python.org/3/', None),
}
# -- Options for HTML output ---------------------------------------------------
html_theme = 'furo'
pygments_style = 'sphinx'
htmlhelp_basename = 'sphinxargparsedoc'
# -- Options for LaTeX output --------------------------------------------------
latex_documents = [
(
'index',
'sphinx-argparse.tex',
'sphinx-argparse Documentation',
'Alex Rudakov, Devon Ryan, and contributors',
'manual',
),
]
# -- Options for manual page output --------------------------------------------
man_pages = [
(
'index',
'sphinx-argparse',
'sphinx-argparse Documentation',
['Alex Rudakov', 'Devon Ryan'],
True,
)
]
# -- Options for Texinfo output ------------------------------------------------
texinfo_documents = [
(
'index',
'sphinx-argparse',
'sphinx-argparse Documentation',
'Alex Rudakov, Devon Ryan, and contributors',
'sphinx-argparse',
'A sphinx extension that automatically documents argparse commands and options.',
'Miscellaneous',
),
]
|