Skip to content

Commit 6b8b1dc

Browse files
authored
Merge pull request #109 from drammock/docs-fixup
DOC: Docs fixup
2 parents 50c0930 + dd9d9d1 commit 6b8b1dc

File tree

19 files changed

+37
-162
lines changed

19 files changed

+37
-162
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,4 @@ poetry.lock
111111

112112
# Things specific to this project #
113113
###################################
114+
doc/source/_api_stubs
File renamed without changes.

doc/source/api.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
API Documentation
2+
=================
3+
4+
.. currentmodule:: numpy_financial
5+
6+
.. autosummary::
7+
:toctree: _api_stubs/
8+
9+
fv
10+
ipmt
11+
irr
12+
mirr
13+
nper
14+
npv
15+
pmt
16+
ppmt
17+
pv
18+
rate

doc/source/conf.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,3 @@
6161

6262
html_logo = "_static/numpy_financial_logov.svg"
6363
html_favicon = "_static/numpy_financial_favicon.png"
64-
65-
html_sidebars = {
66-
'**': ['localtoc.html', 'searchbox.html'],
67-
}

doc/source/dev/index.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Development
2+
===========
3+
4+
.. toctree::
5+
:maxdepth: 1
6+
7+
getting_the_code.md
8+
building_with_poetry.md
9+
running_the_benchmarks.md
10+
11+
12+
.. include:: ../_includes/release-notes.rst

doc/source/fv.rst

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

doc/source/generate_rst_function_files.py

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

doc/source/index.rst

Lines changed: 4 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -20,60 +20,16 @@ alias is `npf`. For example,
2020
>>> npf.irr([-250000, 100000, 150000, 200000, 250000, 300000])
2121
0.5672303344358536
2222

23-
24-
Functions
25-
---------
26-
27-
.. currentmodule:: numpy_financial
28-
29-
.. toctree::
30-
:maxdepth: 4
31-
32-
.. autosummary::
33-
34-
fv
35-
ipmt
36-
irr
37-
mirr
38-
nper
39-
npv
40-
pmt
41-
ppmt
42-
pv
43-
rate
44-
45-
.. The following "hidden" toctree is a hack to prevent Sphinx warnings
46-
about "document isn't included in any toctree"
47-
4823
.. toctree::
4924
:hidden:
25+
:maxdepth: 4
5026

51-
fv
52-
ipmt
53-
irr
54-
mirr
55-
nper
56-
npv
57-
pmt
58-
ppmt
59-
pv
60-
rate
61-
62-
Development
63-
===========
64-
65-
.. toctree::
66-
:maxdepth: 1
67-
68-
dev/getting_the_code.md
69-
dev/building_with_poetry.md
70-
dev/running_the_benchmarks.md
71-
72-
.. include:: release-notes.rst
27+
api
28+
dev/index
7329

7430

7531
Index and Search
76-
================
32+
----------------
7733

7834
* :ref:`genindex`
7935
* :ref:`search`

doc/source/ipmt.rst

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

doc/source/irr.rst

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

0 commit comments

Comments
 (0)