2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 01:55:39 +00:00

Add docstrings for Build app

This commit is contained in:
Oliver Walters
2019-04-27 20:35:14 +10:00
parent 6147ac3f06
commit d9169a0dd1
8 changed files with 103 additions and 41 deletions

View File

@ -28,9 +28,13 @@ copyright = '2019, InvenTree'
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'autoapi.extension'
'sphinx.ext.napoleon',
'autoapi.extension',
]
napoleon_google_docstring = True
napoleon_numpy_docstring = False
autoapi_dirs = [
'../InvenTree',
]
@ -44,7 +48,10 @@ autoapi_type = 'python'
autoapi_ignore = [
'*migrations*',
'**/test*.py',
'**/manage.py'
'**/manage.py',
'**/apps.py',
'**/admin.py',
'**/templates/',
]
# Add any paths that contain templates here, relative to this directory.