summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst17
-rw-r--r--docs/conf.py5
2 files changed, 20 insertions, 2 deletions
diff --git a/docs/api.rst b/docs/api.rst
index e850f45..253ddd5 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -1,6 +1,23 @@
PyISDA
======
+:mod:`~pyisda.cdsone` contains the two work horse functions of the library,
+which allow to convert back and forth from upfront to spread
+
+.. autosummary::
+ pyisda.cdsone.upfront_charge
+ pyisda.cdsone.spread_from_upfront
+
+.. automodule:: pyisda.cdsone
+ :members:
+
+:mod:`~pyisda.curve` contains two types of curves:
+
+.. autosummary::
+ pyisda.curve.YieldCurve
+ pyisda.curve.SpreadCurve
+
+
.. automodule:: pyisda.curve
:members:
:undoc-members:
diff --git a/docs/conf.py b/docs/conf.py
index 855d662..5bdd422 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -34,7 +34,8 @@ extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.todo',
'sphinx.ext.imgmath',
- 'sphinx.ext.napoleon'
+ 'sphinx.ext.napoleon',
+ 'sphinx.ext.autosummary'
]
# Add any paths that contain templates here, relative to this directory.
@@ -125,7 +126,7 @@ todo_include_todos = True
# 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