Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation #19

Merged
merged 15 commits into from
Feb 17, 2021
26 changes: 26 additions & 0 deletions docs/source/api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# API Reference

This is a reference API class listing, and modules.

## Top-level functions

```{eval-rst}
.. currentmodule:: intake
.. autosummary::
open_thredds_cat
open_thredds_merged

```

## Catalog & Source Objects

```{eval-rst}
.. currentmodule:: intake_thredds
.. automodule:: intake_thredds.cat
:members:


.. automodule:: intake_thredds.source
:members:

```
13 changes: 5 additions & 8 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
'IPython.sphinxext.ipython_console_highlighting',
'IPython.sphinxext.ipython_directive',
'sphinx.ext.napoleon',
'myst_parser',
'myst_nb',
]

autodoc_member_order = 'groupwise'
Expand All @@ -68,16 +68,13 @@

# Otherwise, the Return parameter list looks different from the Parameters list
napoleon_use_rtype = False
autodoc_typehints = 'none'
napoleon_numpy_docstring = True
napoleon_include_init_with_doc = True


# Enable notebook execution
# https://nbsphinx.readthedocs.io/en/0.4.2/never-execute.html
# nbsphinx_execute = 'auto'
# Allow errors in all notebooks by
nbsphinx_allow_errors = True

# Disable cell timeout
nbsphinx_timeout = -1
jupyter_execute_notebooks = 'auto'


# The suffix of source filenames.
Expand Down
2 changes: 2 additions & 0 deletions docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ If you encounter any errors or problems with **intake-thredds**, please open an
maxdepth: 2
---
installation.md
tutorial.ipynb
api.md
contributing.md
changelog.md
```
Loading