Skip to content

Commit cb55739

Browse files
committed
readthedocs: fix generation of automatic documentation
1 parent 9f24c58 commit cb55739

File tree

10 files changed

+23
-20
lines changed

10 files changed

+23
-20
lines changed

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ version: 2
99
build:
1010
os: ubuntu-20.04
1111
tools:
12-
python: "3.8"
12+
python: "3.9"
1313
# You can also specify other tool versions:
1414
# nodejs: "16"
1515
# rust: "1.55"

dadapy/__init__.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from ._utils.utils import *
2-
from .clustering import *
3-
from .data import *
4-
from .density_estimation import *
5-
from .id_estimation import *
2+
from .base import Base
3+
from .clustering import Clustering
4+
from .data import Data
5+
from .density_estimation import DensityEstimation
6+
from .id_estimation import IdEstimation

docs/source/base.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The base module
2-
==========================
2+
================================
33

4-
.. automodule:: dadapy.base
4+
.. automodule:: base
55
:members:

docs/source/clustering.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The clustering module
2-
==========================
2+
================================
33

44
.. automodule:: clustering
55
:members:

docs/source/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
sys.path.insert(0, os.path.abspath("../examples"))
2525
sys.path.insert(0, os.path.abspath("../../examples"))
2626

27-
sys.path.insert(0, os.path.abspath("../../dadapy/_utils"))
27+
#sys.path.insert(0, os.path.abspath("../../dadapy/_utils"))
2828

2929
# -- Project information -----------------------------------------------------
3030

@@ -46,7 +46,8 @@
4646
"sphinx.ext.autodoc",
4747
"nbsphinx",
4848
"nbsphinx_link",
49-
"sphinx.ext.napoleon"]
49+
"sphinx.ext.napoleon",
50+
"IPython.sphinxext.ipython_console_highlighting"]
5051

5152
napoleon_custom_sections = [("Returns", "params_style")]
5253

docs/source/data.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The data module
2-
==========================
2+
================================
33

4-
.. automodule:: dadapy.data
4+
.. automodule:: data
55
:members:

docs/source/density_estimation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The density_estimation module
2-
==============================
2+
================================
33

4-
.. automodule:: dadapy.density_estimation
4+
.. automodule:: density_estimation
55
:members:

docs/source/id_estimation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The id_estimation module
2-
==========================
2+
================================
33

4-
.. automodule:: dadapy.id_estimation
4+
.. automodule:: id_estimation
55
:members:

docs/source/metric_comparisons.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
The metric_comparisons module
2-
=============================
2+
================================
33

4-
.. automodule:: dadapy.metric_comparisons
5-
:members:
4+
.. automodule:: metric_comparisons
5+
:members:
6+
:undoc-members:

docs/source/utils.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ The utils module
33

44
The *utils* module contains a variety of functions useful to the different classes of the package.
55

6-
.. automodule:: utils
6+
.. automodule:: _utils.utils
77
:members:

0 commit comments

Comments
 (0)