Skip to content

Commit ac35fa9

Browse files
committed
fixing doc stings for neat look
1 parent 7894b45 commit ac35fa9

11 files changed

Lines changed: 273 additions & 239 deletions

File tree

docs/source/DOCUMENTATION.rst

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,38 +9,45 @@ KCSD Methods
99

1010
.. automodule:: kcsd.KCSD
1111
:members:
12+
:inherited-members:
1213

1314
.. autoclass:: kcsd.sKCSD
1415
:members:
15-
16+
:inherited-members:
1617

1718
Spectral Structure
1819
~~~~~~~~~~~~~~~~~~
1920

2021
.. autoclass:: kcsd.validation.ValidateKCSD.SpectralStructure
2122
:members:
23+
:inherited-members:
2224

2325
Validation
2426
~~~~~~~~~~
2527

2628
.. autoclass:: kcsd.validation.ValidateKCSD.ValidateKCSD
2729
:members:
30+
:inherited-members:
2831

2932
.. autoclass:: kcsd.validation.ValidateKCSD.ValidateKCSD1D
3033
:members:
34+
:inherited-members:
3135

3236
.. autoclass:: kcsd.validation.ValidateKCSD.ValidateKCSD2D
3337
:members:
34-
38+
:inherited-members:
39+
3540
.. autoclass:: kcsd.validation.ValidateKCSD.ValidateKCSD3D
3641
:members:
37-
42+
:inherited-members:
43+
3844
Reliability Maps
3945
~~~~~~~~~~~~~~~~
4046

4147
.. automodule:: kcsd.validation.VisibilityMap
4248
:members:
43-
49+
:inherited-members:
50+
4451
Basis functions
4552
~~~~~~~~~~~~~~~
4653

docs/source/conf.py

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,12 @@
3232
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3333
# ones.
3434
extensions = ['sphinx.ext.autodoc',
35-
'sphinx.ext.coverage',
36-
'sphinx.ext.viewcode']
35+
'sphinx.ext.coverage',
36+
'sphinx.ext.viewcode',
37+
'sphinx.ext.autosummary',
38+
'numpydoc',]
3739

40+
# numpydoc_show_class_members = False
3841
# Add any paths that contain templates here, relative to this directory.
3942
templates_path = ['_templates']
4043

@@ -49,8 +52,8 @@
4952

5053
# General information about the project.
5154
project = 'kCSD-python'
52-
copyright = '2019, Chintaluri et.al.'
53-
author = 'Chintaluri et.al.'
55+
copyright = '2019, Chintaluri et.al'
56+
author = 'Chintaluri et.al'
5457

5558
# The version info for the project you're documenting, acts as replacement for
5659
# |version| and |release|, also used in various other places throughout the
@@ -172,3 +175,10 @@
172175

173176

174177

178+
def skip(app, what, name, obj, would_skip, options):
179+
if name == "__init__":
180+
return False
181+
return would_skip
182+
183+
def setup(app):
184+
app.connect("autodoc-skip-member", skip)

docs/source/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Welcome to kCSD-python's documentation!
77
=======================================
88

99
.. toctree::
10-
:maxdepth: 1
10+
:maxdepth: 2
1111
:caption: Contents:
1212

1313
INSTALL
@@ -21,5 +21,4 @@ Indices and tables
2121
==================
2222

2323
* :ref:`genindex`
24-
* :ref:`modindex`
2524
* :ref:`search`

0 commit comments

Comments
 (0)