sphinx/conf,html
This commit is contained in:
parent
01ec2086b2
commit
64652f1527
1 changed files with 42 additions and 0 deletions
|
@ -1,6 +1,48 @@
|
|||
Configure documentation
|
||||
=======================
|
||||
|
||||
* conf.py
|
||||
|
||||
Sphinx
|
||||
------
|
||||
|
||||
.. code:: python3
|
||||
|
||||
author = 'Author'
|
||||
copyright = ''
|
||||
extensions = [
|
||||
'sphinx.ext.autodoc',
|
||||
'sphinx.ext.doctest',
|
||||
'sphinx.ext.todo',
|
||||
'sphinx.ext.imgmath',
|
||||
'sphinx.ext.ifconfig',
|
||||
'sphinx.ext.viewcode',
|
||||
]
|
||||
keep_warnings = False
|
||||
language = 'en'
|
||||
master_doc = 'index'
|
||||
project = 'Project'
|
||||
pygments_style = 'sphinx'
|
||||
release = ''
|
||||
show_authors = False
|
||||
source_suffix = [
|
||||
'.rst',
|
||||
]
|
||||
todo_include_todos = True
|
||||
version = ''
|
||||
|
||||
HTML
|
||||
----
|
||||
|
||||
.. code:: python3
|
||||
|
||||
html_show_copyright = False
|
||||
html_show_sourcelink = True
|
||||
html_show_sphinx = False
|
||||
html_theme = 'sphinx_rtd_theme'
|
||||
html_title = 'Title'
|
||||
html_use_smartypants = False
|
||||
|
||||
MarkDown
|
||||
--------
|
||||
|
||||
|
|
Loading…
Reference in a new issue