2017-09-21 23:27:13 +02:00
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
|
|
|
sys.path.insert(0, os.path.abspath('..'))
|
|
|
|
|
2017-04-07 19:10:42 +02:00
|
|
|
extensions = [
|
|
|
|
'sphinx-prompt',
|
2017-09-18 19:29:14 +02:00
|
|
|
'nbsphinx',
|
2017-09-21 23:27:13 +02:00
|
|
|
'sphinx.ext.autodoc',
|
|
|
|
'sphinx.ext.autosummary',
|
|
|
|
'sphinx.ext.napoleon',
|
2017-09-22 16:01:00 +02:00
|
|
|
'sphinx.ext.todo',
|
2017-04-07 19:10:42 +02:00
|
|
|
]
|
2017-09-21 23:27:13 +02:00
|
|
|
autodoc_default_flags = [
|
|
|
|
'undoc-members',
|
|
|
|
]
|
|
|
|
autodoc_member_order = 'groupwise'
|
|
|
|
autosummary_generate = True
|
|
|
|
napoleon_numpy_docstring = False # Force consistency, leave only Google
|
|
|
|
napoleon_use_rtype = False
|
2017-09-22 17:03:25 +02:00
|
|
|
add_module_names = False
|
2017-09-21 23:27:13 +02:00
|
|
|
|
2017-02-14 22:48:13 +01:00
|
|
|
templates_path = ['_templates']
|
|
|
|
source_suffix = '.rst'
|
|
|
|
master_doc = 'index'
|
|
|
|
|
|
|
|
project = 'stix2'
|
|
|
|
copyright = '2017, OASIS Open'
|
|
|
|
author = 'OASIS Open'
|
|
|
|
|
2017-10-06 21:40:34 +02:00
|
|
|
version = '0.3.0'
|
|
|
|
release = '0.3.0'
|
2017-02-14 22:48:13 +01:00
|
|
|
|
|
|
|
language = None
|
2017-09-26 20:39:32 +02:00
|
|
|
exclude_patterns = ['_build', '_templates', 'Thumbs.db', '.DS_Store', 'guide/.ipynb_checkpoints']
|
2017-02-14 22:48:13 +01:00
|
|
|
pygments_style = 'sphinx'
|
|
|
|
todo_include_todos = False
|
|
|
|
|
|
|
|
html_theme = 'alabaster'
|
2017-02-20 21:38:35 +01:00
|
|
|
html_sidebars = {
|
|
|
|
'**': [
|
|
|
|
'about.html',
|
|
|
|
'navigation.html',
|
|
|
|
'relations.html',
|
|
|
|
'searchbox.html',
|
|
|
|
]
|
|
|
|
}
|
2017-02-14 22:48:13 +01:00
|
|
|
|
|
|
|
latex_elements = {}
|
|
|
|
latex_documents = [
|
|
|
|
(master_doc, 'stix2.tex', 'stix2 Documentation', 'OASIS', 'manual'),
|
|
|
|
]
|