Skip to content

Commit f86de7e

Browse files
authored
Merge pull request #106 from yucongalicechen/cookie
Generate Package API doc
2 parents b705663 + 2ad1bc1 commit f86de7e

File tree

9 files changed

+48
-83
lines changed

9 files changed

+48
-83
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
:tocdepth: -1
2+
3+
diffpy.labpdfproc.data package
4+
==============================
5+
6+
.. automodule:: diffpy.labpdfproc.data
7+
:members:
8+
:undoc-members:
9+
:show-inheritance:

doc/source/api/diffpy.labpdfproc.example_package.rst

Lines changed: 0 additions & 31 deletions
This file was deleted.

doc/source/api/diffpy.labpdfproc.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ diffpy.labpdfproc package
88
:undoc-members:
99
:show-inheritance:
1010

11+
Subpackages
12+
-----------
13+
14+
.. toctree::
15+
:titlesonly:
16+
17+
diffpy.labpdfproc.data
18+
1119
Submodules
1220
----------
1321

@@ -27,6 +35,14 @@ diffpy.labpdfproc.tools module
2735
:undoc-members:
2836
:show-inheritance:
2937

38+
diffpy.labpdfproc.mud_calculator module
39+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
40+
41+
.. automodule:: diffpy.labpdfproc.mud_calculator
42+
:members:
43+
:undoc-members:
44+
:show-inheritance:
45+
3046
diffpy.labpdfproc.labpdfprocapp module
3147
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3248

doc/source/conf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
from importlib.metadata import version
1919
from pathlib import Path
2020

21-
autodoc_mock_imports = ["diffpy.utils", "numpy"]
22-
2321
# If extensions (or modules to document with autodoc) are in another directory,
2422
# add these directories to sys.path here. If the directory is relative to the
2523
# documentation root, use Path().resolve() to make it absolute, like shown here.

doc/source/installation.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

doc/source/min_versions.rst

Lines changed: 0 additions & 28 deletions
This file was deleted.

doc/source/release-history.rst

Lines changed: 0 additions & 6 deletions
This file was deleted.

doc/source/usage.rst

Lines changed: 0 additions & 9 deletions
This file was deleted.

news/api_doc.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Added:**
2+
3+
* generate package API doc
4+
5+
**Changed:**
6+
7+
* <news item>
8+
9+
**Deprecated:**
10+
11+
* <news item>
12+
13+
**Removed:**
14+
15+
* <news item>
16+
17+
**Fixed:**
18+
19+
* <news item>
20+
21+
**Security:**
22+
23+
* <news item>

0 commit comments

Comments
 (0)