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 API to documentation #136

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ html:
use_edit_page_button : true
use_repository_button : true
use_issues_button : true

sphinx:
extra_extensions : ['sphinx.ext.autodoc', 'sphinx.ext.mathjax',
'sphinx.ext.viewcode', 'sphinx.ext.napoleon',
'alabaster'] # A list of extra extensions to load by Sphinx.
config : # key-value pairs to directly over-ride the Sphinx configuration
3 changes: 3 additions & 0 deletions docs/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@
- file: gini
- file: income_measures
- file: weighting
- file: api/api
sections:
- file: api/agg
14 changes: 14 additions & 0 deletions docs/api/agg.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.. _agg:

microdf aggregation functions
=================================================

**microdf aggregation functions**

microdf.agg
------------------------------------------

.. currentmodule:: microdf.agg

.. automodule:: microdf.agg
:members: combine_base_reform, pctchg_base_reform, agg
12 changes: 12 additions & 0 deletions docs/api/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
microdf API
=============

Here we provide a view of the microdf API with links to the source code.
Below is a list of the microdf package modules (in alphabetical order) with
documentation about how to call each function.
There is also a link to the source code for each documented member.

.. toctree::
:maxdepth: 1

agg