Skip to content

Commit

Permalink
adding ConsumptionSaving to the docs (#469)
Browse files Browse the repository at this point in the history
* adding ConsPortfolioModel to the docs

* putting the rest of ConsumptionSaving into the docs

* Moving ConsumptionSaving files off the home page--broader Tools/ConsumptionSaving reorg...

* Tools on the home page of the docs, ConsumptionSaving modules all on their own page

* separate module pages for ConsumptionSaving classes

Co-authored-by: Mridul Seth <[email protected]>
Co-authored-by: Christopher Llorracc Carroll <[email protected]>
  • Loading branch information
3 people authored Feb 1, 2020
1 parent 46d747a commit c22ce40
Show file tree
Hide file tree
Showing 20 changed files with 172 additions and 12 deletions.
14 changes: 14 additions & 0 deletions Documentation/api-consumptionsaving.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
HARK.ConsumptionSaving
===================

.. toctree::
:maxdepth: 2

api-cs-ConsAggShockModel
api-cs-ConsGenIncProcessModel
api-cs-ConsIndShockModel
api-cs-ConsMarkovModel
api-cs-ConsPortfolioModel
api-cs-ConsPrefShochModel
api-cs-ConsRepAgentModel
api-cs-TractableBufferStockModel
5 changes: 5 additions & 0 deletions Documentation/api-core.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
HARK.core
=========

.. automodule:: HARK.core
:members:
6 changes: 6 additions & 0 deletions Documentation/api-cs-ConsAggShockModel.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
HARK.ConsumptionSaving.ConsAggShockModel
========================================

.. automodule:: HARK.ConsumptionSaving.ConsAggShockModel
:members:

5 changes: 5 additions & 0 deletions Documentation/api-cs-ConsGenIncProcessModel.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
HARK.ConsumptionSaving.ConsGenIncProcessModel
================================================

.. automodule:: HARK.ConsumptionSaving.ConsGenIncProcessModel
:members:
7 changes: 7 additions & 0 deletions Documentation/api-cs-ConsIndShockModel.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
HARK.ConsumptionSaving.ConsIndShockModel
========================================

.. automodule:: HARK.ConsumptionSaving.ConsIndShockModel
:members:


5 changes: 5 additions & 0 deletions Documentation/api-cs-ConsMarkovModel.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
HARK.ConsumptionSaving.ConsMarkovModel
======================================

.. automodule:: HARK.ConsumptionSaving.ConsMarkovModel
:members:
5 changes: 5 additions & 0 deletions Documentation/api-cs-ConsMedModel.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
HARK.ConsumptionSaving.ConsMedModel
=====================================

.. automodule:: HARK.ConsumptionSaving.ConsMedModel
:members:
5 changes: 5 additions & 0 deletions Documentation/api-cs-ConsPortfolioModel.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
HARK.ConsumptionSaving.ConsPortfolioModel
=========================================

.. automodule:: HARK.ConsumptionSaving.ConsPortfolioModel
:members:
6 changes: 6 additions & 0 deletions Documentation/api-cs-ConsPrefShockModel.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
HARK.ConsumptionSaving.ConsPrefShockModel
=========================================

.. automodule:: HARK.ConsumptionSaving.ConsPrefShockModel
:members:

6 changes: 6 additions & 0 deletions Documentation/api-cs-ConsRepAgentModel.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
HARK.ConsumptionSaving.ConsRepAgentModel
========================================

.. automodule:: HARK.ConsumptionSaving.ConsRepAgentModel
:members:

5 changes: 5 additions & 0 deletions Documentation/api-cs-TractableBufferStockModel.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
HARK.ConsumptionSaving.TractableBufferStockModel
================================================

.. automodule:: HARK.ConsumptionSaving.TractableBufferStockModel
:members:
5 changes: 5 additions & 0 deletions Documentation/api-dcegm.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
HARK.dcegm
===========

.. automodule:: HARK.dcegm
:members:
5 changes: 5 additions & 0 deletions Documentation/api-estimation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
HARK.estimation
=================

.. automodule:: HARK.estimation
:members:
5 changes: 5 additions & 0 deletions Documentation/api-interpolation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
HARK.interpolation
=====================

.. automodule:: HARK.interpolation
:members:
5 changes: 5 additions & 0 deletions Documentation/api-parallel.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
HARK.parallel
==============

.. automodule:: HARK.parallel
:members:
5 changes: 5 additions & 0 deletions Documentation/api-simulation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
HARK.simulation
================

.. automodule:: HARK.simulation
:members:
6 changes: 6 additions & 0 deletions Documentation/api-utilities.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
HARK.utilities
================

.. automodule:: HARK.utilities
:members:

5 changes: 5 additions & 0 deletions Documentation/api-validators.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
HARK.validators
===============

.. automodule:: HARK.validators
:members:
67 changes: 56 additions & 11 deletions Documentation/api.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,59 @@
API Documentation
==================

.. autosummary::
:toctree: generated

HARK.core
HARK.dcegm
HARK.estimation
HARK.interpolation
HARK.parallel
HARK.simulation
HARK.utilities
HARK.validators
Tools
-----------

.. automodule:: HARK.core
:members:

.. automodule:: HARK.dcegm
:members:

.. automodule:: HARK.estimation
:members:

.. automodule:: HARK.interpolation
:members:

.. automodule:: HARK.parallel
:members:

.. automodule:: HARK.simulation
:members:

.. automodule:: HARK.utilities
:members:

.. automodule:: HARK.validators
:members:

Consumption Saving
--------------------

.. automodule:: HARK.ConsumptionSaving.ConsAggShockModel
:members:

.. automodule:: HARK.ConsumptionSaving.ConsGenIncProcessModel
:members:

.. automodule:: HARK.ConsumptionSaving.ConsIndShockModel
:members:

.. automodule:: HARK.ConsumptionSaving.ConsMarkovModel
:members:

.. automodule:: HARK.ConsumptionSaving.ConsMedModel
:members:

.. automodule:: HARK.ConsumptionSaving.ConsPortfolioModel
:members:

.. automodule:: HARK.ConsumptionSaving.ConsPrefShockModel
:members:

.. automodule:: HARK.ConsumptionSaving.ConsRepAgentModel
:members:

.. automodule:: HARK.ConsumptionSaving.TractableBufferStockModel
:members:
12 changes: 11 additions & 1 deletion Documentation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,17 @@ you might want to look at the `DemARK
:maxdepth: 2
:caption: Python API

api
api-core
api-dcegm
api-estimation
api-interpolation
api-parallel
api-simulation
api-utilities
api-validators
api-consumptionsaving



Indices and tables
==================
Expand Down

0 comments on commit c22ce40

Please sign in to comment.