Skip to content

Commit f3029fb

Browse files
committed
Add updated doc
1 parent 84182c4 commit f3029fb

File tree

4 files changed

+43
-151
lines changed

4 files changed

+43
-151
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
.. _example_package documentation:
2+
3+
|title|
4+
=======
5+
6+
.. |title| replace:: diffpy.structure.example_package package
7+
8+
.. automodule:: diffpy.structure.example_package
9+
:members:
10+
:undoc-members:
11+
:show-inheritance:
12+
13+
|foo|
14+
-----
15+
16+
.. |foo| replace:: diffpy.structure.example_package.foo module
17+
18+
.. automodule:: diffpy.structure.example_package.foo
19+
:members:
20+
:undoc-members:
21+
:show-inheritance:
22+
23+
|bar|
24+
-----
25+
26+
.. |bar| replace:: diffpy.structure.example_package.bar module
27+
28+
.. automodule:: diffpy.structure.example_package.foo
29+
:members:
30+
:undoc-members:
31+
:show-inheritance:

doc/source/api/diffpy.structure.rst

Lines changed: 9 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
:tocdepth: -1
22

3-
diffpy.structure package
4-
========================
3+
|title|
4+
=======
5+
6+
.. |title| replace:: diffpy.structure package
57

68
.. automodule:: diffpy.structure
79
:members:
@@ -12,107 +14,17 @@ Subpackages
1214
-----------
1315

1416
.. toctree::
15-
:titlesonly:
16-
17-
diffpy.structure.parsers
18-
diffpy.structure.expansion
19-
diffpy.structure.apps
17+
diffpy.structure.example_package
2018

2119
Submodules
2220
----------
2321

24-
diffpy.structure.spacegroups module
25-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26-
27-
.. automodule:: diffpy.structure.spacegroups
28-
:members:
29-
:undoc-members:
30-
:show-inheritance:
31-
32-
diffpy.structure._legacy_importer module
33-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
34-
35-
.. automodule:: diffpy.structure._legacy_importer
36-
:members:
37-
:undoc-members:
38-
:show-inheritance:
39-
40-
diffpy.structure.structureerrors module
41-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
42-
43-
.. automodule:: diffpy.structure.structureerrors
44-
:members:
45-
:undoc-members:
46-
:show-inheritance:
47-
48-
diffpy.structure.spacegroupmod module
49-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
50-
51-
.. automodule:: diffpy.structure.spacegroupmod
52-
:members:
53-
:undoc-members:
54-
:show-inheritance:
55-
56-
diffpy.structure.utils module
57-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
58-
59-
.. automodule:: diffpy.structure.utils
60-
:members:
61-
:undoc-members:
62-
:show-inheritance:
63-
64-
diffpy.structure.lattice module
65-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66-
67-
.. automodule:: diffpy.structure.lattice
68-
:members:
69-
:undoc-members:
70-
:show-inheritance:
71-
72-
diffpy.structure.structure module
73-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
74-
75-
.. automodule:: diffpy.structure.structure
76-
:members:
77-
:undoc-members:
78-
:show-inheritance:
79-
80-
diffpy.structure.mmlibspacegroups module
81-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
82-
83-
.. automodule:: diffpy.structure.mmlibspacegroups
84-
:members:
85-
:undoc-members:
86-
:show-inheritance:
87-
88-
diffpy.structure.symmetryutilities module
89-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
90-
91-
.. automodule:: diffpy.structure.symmetryutilities
92-
:members:
93-
:undoc-members:
94-
:show-inheritance:
95-
96-
diffpy.structure.atom module
97-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
98-
99-
.. automodule:: diffpy.structure.atom
100-
:members:
101-
:undoc-members:
102-
:show-inheritance:
103-
104-
diffpy.structure.pdffitstructure module
105-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
106-
107-
.. automodule:: diffpy.structure.pdffitstructure
108-
:members:
109-
:undoc-members:
110-
:show-inheritance:
22+
|module|
23+
--------
11124

112-
diffpy.structure.sgtbxspacegroups module
113-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25+
.. |module| replace:: diffpy.structure.example_submodule module
11426

115-
.. automodule:: diffpy.structure.sgtbxspacegroups
27+
.. automodule:: diffpy.structure.example_submodule
11628
:members:
11729
:undoc-members:
11830
:show-inheritance:

doc/source/conf.py

Lines changed: 0 additions & 14 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 = ["importlib.metadata"]
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.
@@ -48,8 +46,6 @@
4846
"m2r",
4947
]
5048

51-
autodoc_member_order = "groupwise"
52-
5349
# Add any paths that contain templates here, relative to this directory.
5450
templates_path = ["_templates"]
5551

@@ -120,12 +116,6 @@
120116
# Display all warnings for missing links.
121117
nitpicky = True
122118

123-
nitpick_ignore = [
124-
("py:class", "array_like"),
125-
("py:class", "Parser"),
126-
("py:class", "CifFile"),
127-
]
128-
129119
# -- Options for HTML output ----------------------------------------------
130120

131121
# The theme to use for HTML and HTML Help pages. See the documentation for
@@ -297,7 +287,3 @@
297287

298288
# Example configuration for intersphinx: refer to the Python standard library.
299289
# intersphinx_mapping = {'http://docs.python.org/': None}
300-
intersphinx_mapping = {
301-
"python": ("https://docs.python.org/3", None),
302-
"numpy": ("https://numpy.org/doc/stable/", None),
303-
}

doc/source/index.rst

Lines changed: 3 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -4,57 +4,21 @@
44

55
.. |title| replace:: diffpy.structure documentation
66

7-
diffpy.structure - Crystal structure container and parsers for structure formats.
7+
diffpy.structure - Crystal structure container and parsers for structure formats..
88

99
| Software version |release|.
1010
| Last updated |today|.
1111
12-
The diffpy.structure package provides objects for storing atomic
13-
coordinates, displacement parameters and other crystal structure data.
14-
diffpy.structure supports import and export of structure data in several
15-
structure formats such as CIF, PDB, xyz. It provides conversion
16-
between fractional and absolute Cartesian coordinates, functions for
17-
symmetry expansion from asymmetric unit and generation of symmetry
18-
constraints for atom positions and displacement parameters. diffpy.structure
19-
includes definitions of all space groups in over 500 symmetry settings.
20-
2112
=======
2213
Authors
2314
=======
2415

25-
diffpy.structure is developed by members of the Billinge Group at
26-
Columbia University and at Brookhaven National Laboratory including
27-
Pavol Juhás, Christopher L. Farrow, Xiaohao Yang, Simon J.L. Billinge.
16+
diffpy.structure is developed by Billinge Group
17+
and its community contributors.
2818

2919
For a detailed list of contributors see
3020
https://github.com/diffpy/diffpy.structure/graphs/contributors.
3121

32-
Acknowledgments
33-
===============
34-
35-
Space group codes in *spacegroupmod.py* and *mmlibspacegroups.py*
36-
originate from the pymmlib project, http://pymmlib.sourceforge.net.
37-
Less common settings of space groups were generating using the
38-
Computational Crystallography Toolbox,
39-
http://cctbx.sourceforge.net.
40-
41-
42-
.. index:: citation, reference
43-
44-
Reference
45-
=========
46-
47-
If you use this program for a scientific research that leads
48-
to publication, we ask that you acknowledge use of the program
49-
by citing the following paper in your publication:
50-
51-
P. Juhás, C. L. Farrow, X. Yang, K. R. Knox and S. J. L. Billinge,
52-
`Complex modeling: a strategy and software program for combining
53-
multiple information sources to solve ill posed structure and
54-
nanostructure inverse problems
55-
<http://dx.doi.org/10.1107/S2053273315014473>`__,
56-
*Acta Crystallogr. A* **71**, 562-568 (2015).
57-
5822
============
5923
Installation
6024
============
@@ -65,7 +29,6 @@ file included with the distribution.
6529
=================
6630
Table of contents
6731
=================
68-
6932
.. toctree::
7033
:titlesonly:
7134

0 commit comments

Comments
 (0)