Bug 1419772 - [docs] Enable the sphinx.ext.napoleon extension, r=gps

This enables sphinx to parse both the google and numpy style docstring
formats which tend to be more human readable than the default sphinx
format.

See:
http://www.sphinx-doc.org/en/stable/ext/napoleon.html

MozReview-Commit-ID: REmZ4IoUG8

--HG--
extra : rebase_source : 4e3e788d09a7fcc3d3e84bb94744019583e1ee5e
This commit is contained in:
Andrew Halberstadt 2017-11-22 10:17:12 -05:00
Родитель 87ad2bcd7e
Коммит 07b162ff59
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -36,6 +36,7 @@ sys.path.insert(0, OUR_DIR)
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.graphviz',
'sphinx.ext.napoleon',
'sphinx.ext.todo',
'mozbuild.sphinx',
'sphinx_js',