Skip to content

Commit

Permalink
Merge pull request #3 from ContinuumIO/update-docs
Browse files Browse the repository at this point in the history
Update docs
  • Loading branch information
jbcrail committed Apr 19, 2018
2 parents f70f427 + 43c4fd9 commit a0c0c7e
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 10 deletions.
12 changes: 12 additions & 0 deletions docs/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: intake
channels:
- intake
- defaults
dependencies:
- python=3.6
- intake
- intake-netflow
- pip:
- sphinx
- sphinx-rtd-theme
- numpydoc
3 changes: 0 additions & 3 deletions docs/requirements.txt

This file was deleted.

19 changes: 17 additions & 2 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
API Reference
=============

.. autoclass:: intake_netflow.NetflowSource
.. autoclass:: intake_netflow.Plugin
.. currentmodule:: intake_netflow

.. autosummary::
Plugin
intake_netflow.source.NetflowSource
intake_netflow.v9.PacketStream
intake_netflow.v9.RecordStream

.. autoclass:: Plugin
:members:

.. autoclass:: intake_netflow.source.NetflowSource
:members:

.. autoclass:: intake_netflow.v9.PacketStream
:members:

.. autoclass:: intake_netflow.v9.RecordStream
:members:
15 changes: 10 additions & 5 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import os
import sys
sys.path.insert(0, os.path.abspath('../..'))


# -- General configuration ------------------------------------------------
Expand All @@ -30,7 +30,12 @@
# 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']
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.viewcode',
'sphinx.ext.autosummary',
'numpydoc',
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down Expand Up @@ -82,7 +87,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'
html_theme = 'sphinx_rtd_theme'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down

0 comments on commit a0c0c7e

Please sign in to comment.