[docs] limit number of files to scan for autosummary generation and reorganize conf.py (#2297)

* limit number of files to scan for autosummary generation

* reorganize conf.py
This commit is contained in:
Nikita Titov 2019-08-02 14:51:07 +03:00 коммит произвёл GitHub
Родитель 55656f27e1
Коммит f68e1b50fb
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 6 добавлений и 13 удалений

Просмотреть файл

@ -81,15 +81,14 @@ autodoc_default_options = {
"show-inheritance": True,
}
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# Generate autosummary pages. Output should be set with: `:toctree: pythonapi/`
autosummary_generate = True
autosummary_generate = ['Python-API.rst']
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
# source_suffix = ['.rst', '.md']
# Only the class' docstring is inserted.
autoclass_content = 'class'
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False
# The master toctree document.
master_doc = 'index'
@ -124,12 +123,6 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'default'
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False
# Both the class' and the __init__ method's docstring are concatenated and inserted.
autoclass_content = 'class'
# -- Configuration for C API docs generation ------------------------------
if C_API: