Skip to content

Commit

Permalink
Added API documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
r-barnes committed Dec 20, 2017
1 parent d93d85b commit 559f53f
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 5 deletions.
17 changes: 16 additions & 1 deletion TODO
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
*Implement Peckham flow metric
*Add LICENSE notices to the top of source files
*Add LICENSE notices to the top of source files



Documentation stuff
===================

More systematic way of including C++

https://breathe.readthedocs.io/en/latest/quickstart.html
.. doxygenindex::
.. doxygenfunction::
.. doxygenstruct::
.. doxygenenum::
.. doxygentypedef::
.. doxygenclass::
9 changes: 9 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
RichDEM C++ Reference
=====================

.. doxygenindex::

RichDEM Python Reference
========================

.. automodule:: richdem
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,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 = ['breathe']
extensions = ['sphinx.ext.autodoc', 'breathe', 'sphinx.ext.coverage']

breathe_projects = {'richdem': '.build/doxygenxml/'}
breathe_default_project = 'richdem'
Expand Down
14 changes: 11 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,26 @@ RichDEM --- High-Performance Terrain Analysis
Contents:
.. toctree::
:maxdepth: 1
:maxdepth: 2

intro
philosophy
parsable_output
citations
using_it

.. toctree::
:caption: Using It
:caption: Operations
:maxdepth: 2

using_it
depression_filling
flow_accumulation

.. toctree::
:caption: api
:maxdepth: 2

api

.. toctree::
:caption: Testing and Correctness
Expand Down

0 comments on commit 559f53f

Please sign in to comment.