mirror of https://github.com/MISP/PyMISP
chg: Add sphinx-autodoc-typehints
parent
8bed0a8e55
commit
f560153f20
|
@ -2,6 +2,11 @@ version: 2
|
||||||
|
|
||||||
python:
|
python:
|
||||||
version: 3.6
|
version: 3.6
|
||||||
|
install:
|
||||||
|
- method: pip
|
||||||
|
path: .
|
||||||
|
extra_requirements:
|
||||||
|
- docs
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: latest
|
image: latest
|
||||||
|
|
|
@ -30,6 +30,7 @@ from recommonmark.parser import CommonMarkParser
|
||||||
# ones.
|
# ones.
|
||||||
extensions = [
|
extensions = [
|
||||||
'sphinx.ext.autodoc',
|
'sphinx.ext.autodoc',
|
||||||
|
'sphinx_autodoc_typehints'
|
||||||
'sphinx.ext.doctest',
|
'sphinx.ext.doctest',
|
||||||
'sphinx.ext.intersphinx',
|
'sphinx.ext.intersphinx',
|
||||||
'sphinx.ext.todo',
|
'sphinx.ext.todo',
|
||||||
|
|
3
setup.py
3
setup.py
|
@ -45,7 +45,8 @@ setup(
|
||||||
extras_require={'fileobjects': ['lief>=0.8', 'python-magic'],
|
extras_require={'fileobjects': ['lief>=0.8', 'python-magic'],
|
||||||
'neo': ['py2neo'],
|
'neo': ['py2neo'],
|
||||||
'openioc': ['beautifulsoup4'],
|
'openioc': ['beautifulsoup4'],
|
||||||
'virustotal': ['validators']},
|
'virustotal': ['validators'],
|
||||||
|
'docs': ['sphinx-autodoc-typehints']},
|
||||||
tests_require=[
|
tests_require=[
|
||||||
'jsonschema',
|
'jsonschema',
|
||||||
'python-magic',
|
'python-magic',
|
||||||
|
|
Loading…
Reference in New Issue