Skip to content

Commit 5ce7f18

Browse files
committed
DOC: move API descriptions to the package document
1 parent fd1cde1 commit 5ce7f18

File tree

2 files changed

+67
-66
lines changed

2 files changed

+67
-66
lines changed

doc/manual/source/index.rst

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -55,46 +55,6 @@ by citing the following paper in your publication:
5555
*Acta Crystallogr. A* **71**, 562-568 (2015).
5656

5757

58-
Package contents
59-
========================================================================
60-
61-
.. module:: diffpy.structure
62-
63-
The top-level diffpy.structure module provides the following objects.
64-
65-
66-
Functions
67-
---------
68-
69-
.. autofunction:: loadStructure
70-
71-
72-
Classes
73-
-------
74-
75-
:py:class:`~atom.Atom`
76-
describes one atom site in the structure - its type, position,
77-
displacement parameters and so forth.
78-
79-
:py:class:`~lattice.Lattice`
80-
depicts general coordinate system and associated operations.
81-
82-
:py:class:`~structure.Structure`
83-
collection of :class:`!Atom` objects that form the structure together
84-
with associated :py:class:`!Lattice`.
85-
86-
87-
Exceptions
88-
----------
89-
90-
.. autoclass:: StructureFormatError
91-
92-
.. autoclass:: LatticeError
93-
94-
.. autoclass:: SymmetryError
95-
96-
97-
9858
Table of contents
9959
========================================================================
10060

doc/manual/source/package.rst

Lines changed: 67 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,99 +1,140 @@
1-
diffpy.structure package
2-
========================
1+
:tocdepth: 2
2+
3+
diffpy.structure API
4+
####################
5+
36

47
Subpackages
5-
-----------
8+
===========
69

710
.. toctree::
11+
:titlesonly:
812

913
diffpy.structure.parsers
1014
diffpy.structure.applications
1115
diffpy.structure.expansion
1216

13-
Submodules
17+
18+
diffpy.structure
19+
================
20+
21+
.. module:: diffpy.structure
22+
23+
The top-level diffpy.structure module provides the following objects.
24+
25+
26+
Functions
27+
---------
28+
29+
.. autofunction:: loadStructure
30+
31+
32+
Classes
33+
-------
34+
35+
:py:class:`~atom.Atom`
36+
describes one atom site in the structure - its type, position,
37+
displacement parameters and so forth.
38+
39+
:py:class:`~lattice.Lattice`
40+
depicts general coordinate system and associated operations.
41+
42+
:py:class:`~structure.Structure`
43+
collection of :class:`!Atom` objects that form the structure together
44+
with associated :py:class:`!Lattice`.
45+
46+
47+
Exceptions
1448
----------
1549

16-
diffpy.structure.spacegroups module
17-
-----------------------------------
50+
.. autoclass:: StructureFormatError
51+
52+
.. autoclass:: LatticeError
53+
54+
.. autoclass:: SymmetryError
55+
56+
57+
diffpy.structure.spacegroups
58+
============================
1859

1960
.. automodule:: diffpy.structure.spacegroups
2061
:members:
2162
:undoc-members:
2263
:show-inheritance:
2364

24-
diffpy.structure.structureerrors module
25-
---------------------------------------
65+
diffpy.structure.structureerrors
66+
================================
2667

2768
.. automodule:: diffpy.structure.structureerrors
2869
:members:
2970
:undoc-members:
3071
:show-inheritance:
3172

32-
diffpy.structure.symmetryutilities module
33-
-----------------------------------------
73+
diffpy.structure.symmetryutilities
74+
==================================
3475

3576
.. automodule:: diffpy.structure.symmetryutilities
3677
:members:
3778
:undoc-members:
3879
:show-inheritance:
3980

40-
diffpy.structure.atom module
41-
----------------------------
81+
diffpy.structure.atom
82+
=====================
4283

4384
.. automodule:: diffpy.structure.atom
4485
:members:
4586
:show-inheritance:
4687

47-
diffpy.structure.mmlibspacegroups module
48-
----------------------------------------
88+
diffpy.structure.mmlibspacegroups
89+
=================================
4990

5091
.. automodule:: diffpy.structure.mmlibspacegroups
5192
:members:
5293
:undoc-members:
5394
:show-inheritance:
5495

55-
diffpy.structure.pdffitstructure module
56-
---------------------------------------
96+
diffpy.structure.pdffitstructure
97+
================================
5798

5899
.. automodule:: diffpy.structure.pdffitstructure
59100
:members:
60101
:undoc-members:
61102
:show-inheritance:
62103

63-
diffpy.structure.sgtbxspacegroups module
64-
----------------------------------------
104+
diffpy.structure.sgtbxspacegroups
105+
=================================
65106

66107
.. automodule:: diffpy.structure.sgtbxspacegroups
67108
:members:
68109
:undoc-members:
69110
:show-inheritance:
70111

71-
diffpy.structure.spacegroupmod module
72-
-------------------------------------
112+
diffpy.structure.spacegroupmod
113+
==============================
73114

74115
.. automodule:: diffpy.structure.spacegroupmod
75116
:members:
76117
:undoc-members:
77118
:special-members: __call__, __eq__
78119

79-
diffpy.structure.structure module
80-
---------------------------------
120+
diffpy.structure.structure
121+
==========================
81122

82123
.. automodule:: diffpy.structure.structure
83124
:members:
84125
:undoc-members:
85126
:show-inheritance:
86127

87-
diffpy.structure.utils module
88-
-----------------------------
128+
diffpy.structure.utils
129+
======================
89130

90131
.. automodule:: diffpy.structure.utils
91132
:members:
92133
:undoc-members:
93134
:show-inheritance:
94135

95-
diffpy.structure.version module
96-
-------------------------------
136+
diffpy.structure.version
137+
========================
97138

98139
.. automodule:: diffpy.structure.version
99140
:members:

0 commit comments

Comments
 (0)