Skip to content

Commit

Permalink
Improve docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
vnmabus committed Dec 24, 2022
1 parent 91cc067 commit 8e063d2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
2 changes: 2 additions & 0 deletions dcor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from . import distances, homogeneity, independence
from ._dcor import (
DistanceCovarianceMethod as DistanceCovarianceMethod,
Stats as Stats,
distance_correlation as distance_correlation,
distance_correlation_af_inv as distance_correlation_af_inv,
distance_correlation_af_inv_sqr as distance_correlation_af_inv_sqr,
Expand All @@ -37,6 +38,7 @@
EstimationStatistic as EstimationStatistic,
energy_distance as energy_distance,
)
from ._hypothesis import HypothesisTest as HypothesisTest
from ._partial_dcor import (
partial_distance_correlation,
partial_distance_covariance as partial_distance_covariance,
Expand Down
10 changes: 4 additions & 6 deletions docs/apilist.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,12 @@ List of classes
---------------
A complete list of all classes provided by dcor.

Methods for computing distance covariance
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The following enum lists the methods that can be used for computing distance
covariance.

.. autosummary::
:toctree: functions

dcor.CompileMode
dcor.DistanceCovarianceMethod
dcor.EstimationStatistic
dcor.EstimationStatistic
dcor.HypothesisTest
dcor.RowwiseMode
dcor.Stats
7 changes: 7 additions & 0 deletions docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ https://github.com/vnmabus/dcor/blob/develop/CONTRIBUTING.md.
Building the documentation
--------------------------

In order to build the documentation, please first install the necessary
packages listed in ``readthedocs-requirements.txt``:

.. code-block:: bash
pip install -r readthedocs-requirements.txt
The documentation and its configuration is stored in the ``docs`` subfolder.
In order to build the documentation using Sphinx, execute the following
commands in that folder:
Expand Down

0 comments on commit 8e063d2

Please sign in to comment.