Skip to content

Commit

Permalink
Merge pull request #335 from ZedThree/auto-docs
Browse files Browse the repository at this point in the history
Always auto-generate the API docs
  • Loading branch information
orbitfold authored Apr 22, 2021
2 parents 6643171 + 933c657 commit d33da55
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 502 deletions.
1 change: 1 addition & 0 deletions docs/source/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_autodoc/
5 changes: 4 additions & 1 deletion docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ EasyVVUQ API Reference

You will find the full documentation for the EasyVVUQ API below.

.. include:: modules.rst
.. toctree::
:maxdepth: 4

_autodoc/easyvvuq
6 changes: 5 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
import sys
sys.path.insert(0, os.path.abspath('../easyvvuq'))

from sphinx.ext.apidoc import main as apidoc_main
apidoc_main(["--force", "-o", "./_autodoc", "../../easyvvuq"])

autodoc_mock_imports = ['dill']

# -- Project information -----------------------------------------------------

Expand All @@ -32,7 +36,7 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ['sphinx.ext.autodoc','sphinx.ext.napoleon', 'sphinx.ext.autosectionlabel']
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.napoleon', 'sphinx.ext.autosectionlabel', 'sphinx.ext.viewcode']

autosectionlabel_prefix_document = True

Expand Down
53 changes: 0 additions & 53 deletions docs/source/easyvvuq.actions.rst

This file was deleted.

69 changes: 0 additions & 69 deletions docs/source/easyvvuq.analysis.rst

This file was deleted.

29 changes: 0 additions & 29 deletions docs/source/easyvvuq.comparison.rst

This file was deleted.

29 changes: 0 additions & 29 deletions docs/source/easyvvuq.db.rst

This file was deleted.

45 changes: 0 additions & 45 deletions docs/source/easyvvuq.decoders.rst

This file was deleted.

69 changes: 0 additions & 69 deletions docs/source/easyvvuq.encoders.rst

This file was deleted.

Loading

0 comments on commit d33da55

Please sign in to comment.