Skip to content

Commit

Permalink
Add autodoc extension and api reference page
Browse files Browse the repository at this point in the history
  • Loading branch information
wigging committed Oct 28, 2024
1 parent 399fcc3 commit 52d85f4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
13 changes: 13 additions & 0 deletions docs/api-reference.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
API Reference
=============

Here.

Core components
---------------

Here.

.. error::

Can't import source code documentation with ``autodoc`` because flowcept requires a running database just to import the package. This needs be fixed before any API documentation can be generated by Sphinx. See `issue 144 <https://github.com/ORNL/flowcept/issues/144>`_ on GitHub repository for more information.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = []
extensions = ["sphinx.ext.autodoc"]

templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ documentation for details.

getstarted
contributing
api-reference

0 comments on commit 52d85f4

Please sign in to comment.