Skip to content

Commit

Permalink
Merge pull request #106 from yucongalicechen/cookie
Browse files Browse the repository at this point in the history
Generate Package API doc
  • Loading branch information
sbillinge authored Oct 5, 2024
2 parents b705663 + 2ad1bc1 commit f86de7e
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 83 deletions.
9 changes: 9 additions & 0 deletions doc/source/api/diffpy.labpdfproc.data.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
:tocdepth: -1

diffpy.labpdfproc.data package
==============================

.. automodule:: diffpy.labpdfproc.data
:members:
:undoc-members:
:show-inheritance:
31 changes: 0 additions & 31 deletions doc/source/api/diffpy.labpdfproc.example_package.rst

This file was deleted.

16 changes: 16 additions & 0 deletions doc/source/api/diffpy.labpdfproc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ diffpy.labpdfproc package
:undoc-members:
:show-inheritance:

Subpackages
-----------

.. toctree::
:titlesonly:

diffpy.labpdfproc.data

Submodules
----------

Expand All @@ -27,6 +35,14 @@ diffpy.labpdfproc.tools module
:undoc-members:
:show-inheritance:

diffpy.labpdfproc.mud_calculator module
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. automodule:: diffpy.labpdfproc.mud_calculator
:members:
:undoc-members:
:show-inheritance:

diffpy.labpdfproc.labpdfprocapp module
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
2 changes: 0 additions & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
from importlib.metadata import version
from pathlib import Path

autodoc_mock_imports = ["diffpy.utils", "numpy"]

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use Path().resolve() to make it absolute, like shown here.
Expand Down
7 changes: 0 additions & 7 deletions doc/source/installation.rst

This file was deleted.

28 changes: 0 additions & 28 deletions doc/source/min_versions.rst

This file was deleted.

6 changes: 0 additions & 6 deletions doc/source/release-history.rst

This file was deleted.

9 changes: 0 additions & 9 deletions doc/source/usage.rst

This file was deleted.

23 changes: 23 additions & 0 deletions news/api_doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Added:**

* generate package API doc

**Changed:**

* <news item>

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* <news item>

**Security:**

* <news item>

0 comments on commit f86de7e

Please sign in to comment.