Skip to content

Commit

Permalink
DOC autosummary for api (#42)
Browse files Browse the repository at this point in the history
* making the autosummary work
  • Loading branch information
maikia authored Jan 13, 2023
1 parent 36eb9f1 commit 419db51
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 48 deletions.
8 changes: 0 additions & 8 deletions docs/source/api/DeseqDataSet.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/api/DeseqStats.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/api/grid_search.rst

This file was deleted.

28 changes: 16 additions & 12 deletions docs/source/api/index.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
PyDESeq2 package
================

.. toctree::
:glob:
:maxdepth: 2

DeseqDataSet
DeseqStats
grid_search
preprocessing
utils

PyDESeq2
========

.. currentmodule:: pydeseq2


.. autosummary::
:toctree: docstrings
:recursive:

DeseqDataSet.DeseqDataSet
DeseqStats.DeseqStats
~utils
~grid_search
~preprocessing
7 changes: 0 additions & 7 deletions docs/source/api/preprocessing.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/api/utils.rst

This file was deleted.

6 changes: 6 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@
"sphinx_rtd_theme",
"sphinx.ext.ifconfig",
"myst_parser",
"sphinx.ext.autosummary",
"sphinx.ext.autosectionlabel",
"sphinx.ext.intersphinx",
]


intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),
"numpy": ("https://numpy.org/doc/stable/", None),
Expand All @@ -58,8 +60,12 @@
"show-inheritance": True,
"members": True,
}

autoclass_content = "both"
autodoc_typehints = "both"
autosummary_generate = True
autodoc_member_order = "groupwise"
autodoc_docstring_signature = True


# Napoleon settings
Expand Down

0 comments on commit 419db51

Please sign in to comment.