Skip to content

Commit 6da420e

Browse files
committed
Restructure docs
1 parent 74fc6f2 commit 6da420e

30 files changed

+324
-142
lines changed

notebooks/_config.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ logo: assets/quantflow-light.svg
99
# Force re-execution of notebooks on each build.
1010
# See https://jupyterbook.org/content/execute.html
1111
execute:
12+
#execute_notebooks: "off"
1213
execute_notebooks: force
1314

1415
# Define the name of the latex output file for PDF builds
@@ -45,6 +46,7 @@ parse:
4546
- amsmath
4647

4748
sphinx:
49+
recursive_update: true
4850
config:
4951
html_js_files:
5052
# required by plotly charts
@@ -54,5 +56,9 @@ sphinx:
5456
}
5557
extra_extensions:
5658
- "sphinx.ext.autodoc"
57-
# TODO: enable once we use sphinx 7
58-
# - "sphinx_autodoc_typehints"
59+
- "sphinx_autodoc_typehints"
60+
- "sphinx.ext.autosummary"
61+
- "sphinx.ext.intersphinx"
62+
- "sphinx_autosummary_accessors"
63+
- "sphinx_copybutton"
64+
- "autodocsumm"

notebooks/_toc.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ parts:
3636
- file: examples/poisson_sampling
3737
- file: examples/heston_vol_surface
3838

39-
- file: api/overview.rst
40-
sections:
41-
- file: api/sp.rst
39+
- file: api/index.rst
4240

4341
- caption: Reference
4442
chapters:

notebooks/api/data/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
==============
2+
Data fetching
3+
==============
4+
5+
.. currentmodule:: quantflow.data
6+

notebooks/api/index.rst

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
2+
API Reference
3+
==============
4+
5+
.. grid::
6+
7+
.. grid-item-card::
8+
9+
.. toctree::
10+
:maxdepth: 2
11+
12+
sp/index
13+
14+
.. grid-item-card::
15+
16+
.. toctree::
17+
:maxdepth: 2
18+
19+
options/index
20+
.. grid-item-card::
21+
22+
.. toctree::
23+
:maxdepth: 2
24+
25+
ta/index
26+
.. grid::
27+
28+
.. grid-item-card::
29+
30+
.. toctree::
31+
:maxdepth: 2
32+
33+
data/index
34+
35+
.. grid-item-card::
36+
37+
.. toctree::
38+
:maxdepth: 2
39+
40+
utils/index

notebooks/api/options/index.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
==================================
2+
Option Pricing
3+
==================================
4+
5+
.. currentmodule:: quantflow.options
6+
7+
.. toctree::
8+
:maxdepth: 1
9+
10+
vol_surface
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
==================================
2-
Options Calibration and Pricing
3-
==================================
4-
5-
62
VolSurface
7-
==================
3+
==================================
84

95
.. module:: quantflow.options.surface
106

notebooks/api/overview.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.

notebooks/api/sp.rst

Lines changed: 0 additions & 75 deletions
This file was deleted.

notebooks/api/sp/cir.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
================
2+
CIR
3+
================
4+
5+
The Cox–Ingersoll–Ross (CIR) model
6+
7+
.. currentmodule:: quantflow.sp.cir
8+
9+
.. autoclass:: CIR
10+
:members:
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
===================
2+
Compound Poisson
3+
===================
4+
5+
.. currentmodule:: quantflow.sp.poisson
6+
7+
.. autoclass:: CompoundPoissonProcess
8+
:members:

0 commit comments

Comments
 (0)