Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Release notes


Version 3.0.0 – 2019-03-14
==========================
--------------------------

**Added:**

Expand Down
Empty file removed docs/source/api/.placeholder
Empty file.
31 changes: 0 additions & 31 deletions docs/source/api/diffpy.srfit.example_package.rst

This file was deleted.

23 changes: 9 additions & 14 deletions docs/source/api/diffpy.srfit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,12 @@ Subpackages
-----------

.. toctree::
diffpy.srfit.example_package

Submodules
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be no submodules in diffpy.srfit.

----------

|module|
--------

.. |module| replace:: diffpy.srfit.example_submodule module

.. automodule:: diffpy.srfit.example_submodule
:members:
:undoc-members:
:show-inheritance:
diffpy.srfit.equation
diffpy.srfit.equation.literals
diffpy.srfit.equation.visitors
diffpy.srfit.fitbase
diffpy.srfit.interface
diffpy.srfit.pdf
diffpy.srfit.sas
diffpy.srfit.structure
diffpy.srfit.util
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"sphinx.ext.intersphinx",
"sphinx_rtd_theme",
"sphinx_copybutton",
"m2r",
"m2r2",
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/examples/coreshellnp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
coreshellnp.py
========================

.. literalinclude:: ../../../examples/coreshellnp.py
.. literalinclude:: ../../examples/coreshellnp.py
2 changes: 1 addition & 1 deletion docs/source/examples/crystalpdf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
crystalpdf.py
========================

.. literalinclude:: ../../../examples/crystalpdf.py
.. literalinclude:: ../../examples/crystalpdf.py
2 changes: 1 addition & 1 deletion docs/source/examples/crystalpdfall.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
crystalpdfall.py
========================

.. literalinclude:: ../../../examples/crystalpdfall.py
.. literalinclude:: ../../examples/crystalpdfall.py
2 changes: 1 addition & 1 deletion docs/source/examples/crystalpdfobjcryst.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
crystalpdfobjcryst.py
========================

.. literalinclude:: ../../../examples/crystalpdfobjcryst.py
.. literalinclude:: ../../examples/crystalpdfobjcryst.py
2 changes: 1 addition & 1 deletion docs/source/examples/crystalpdftwodata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
crystalpdftwodata.py
========================

.. literalinclude:: ../../../examples/crystalpdftwodata.py
.. literalinclude:: ../../examples/crystalpdftwodata.py
2 changes: 1 addition & 1 deletion docs/source/examples/crystalpdftwophase.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
crystalpdftwophase.py
========================

.. literalinclude:: ../../../examples/crystalpdftwophase.py
.. literalinclude:: ../../examples/crystalpdftwophase.py
2 changes: 1 addition & 1 deletion docs/source/examples/debyemodel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
debyemodel.py
========================

.. literalinclude:: ../../../examples/debyemodel.py
.. literalinclude:: ../../examples/debyemodel.py
2 changes: 1 addition & 1 deletion docs/source/examples/debyemodelII.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
debyemodelII.py
========================

.. literalinclude:: ../../../examples/debyemodelII.py
.. literalinclude:: ../../examples/debyemodelII.py
2 changes: 1 addition & 1 deletion docs/source/examples/ellipsoidsas.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
ellipsoidsas.py
========================

.. literalinclude:: ../../../examples/ellipsoidsas.py
.. literalinclude:: ../../examples/ellipsoidsas.py
2 changes: 1 addition & 1 deletion docs/source/examples/gaussiangenerator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
gaussiangenerator.py
========================

.. literalinclude:: ../../../examples/gaussiangenerator.py
.. literalinclude:: ../../examples/gaussiangenerator.py
2 changes: 1 addition & 1 deletion docs/source/examples/gaussianrecipe.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
gaussianrecipe.py
========================

.. literalinclude:: ../../../examples/gaussianrecipe.py
.. literalinclude:: ../../examples/gaussianrecipe.py
2 changes: 1 addition & 1 deletion docs/source/examples/interface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
interface.py
========================

.. literalinclude:: ../../../examples/interface.py
.. literalinclude:: ../../examples/interface.py
2 changes: 1 addition & 1 deletion docs/source/examples/npintensity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
npintensity.py
========================

.. literalinclude:: ../../../examples/npintensity.py
.. literalinclude:: ../../examples/npintensity.py
2 changes: 1 addition & 1 deletion docs/source/examples/npintensityII.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
npintensityII.py
========================

.. literalinclude:: ../../../examples/npintensityII.py
.. literalinclude:: ../../examples/npintensityII.py
2 changes: 1 addition & 1 deletion docs/source/examples/nppdfcrystal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
nppdfcrystal.py
========================

.. literalinclude:: ../../../examples/nppdfcrystal.py
.. literalinclude:: ../../examples/nppdfcrystal.py
2 changes: 1 addition & 1 deletion docs/source/examples/nppdfobjcryst.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
nppdfobjcryst.py
========================

.. literalinclude:: ../../../examples/nppdfobjcryst.py
.. literalinclude:: ../../examples/nppdfobjcryst.py
2 changes: 1 addition & 1 deletion docs/source/examples/nppdfsas.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
nppdfsas.py
========================

.. literalinclude:: ../../../examples/nppdfsas.py
.. literalinclude:: ../../examples/nppdfsas.py
2 changes: 1 addition & 1 deletion docs/source/examples/simplepdf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
simplepdf.py
========================

.. literalinclude:: ../../../examples/simplepdf.py
.. literalinclude:: ../../examples/simplepdf.py
2 changes: 1 addition & 1 deletion docs/source/examples/simplepdftwophase.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
simplepdftwophase.py
========================

.. literalinclude:: ../../../examples/simplepdftwophase.py
.. literalinclude:: ../../examples/simplepdftwophase.py
2 changes: 1 addition & 1 deletion docs/source/examples/simplerecipe.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
simplerecipe.py
========================

.. literalinclude:: ../../../examples/simplerecipe.py
.. literalinclude:: ../../examples/simplerecipe.py
6 changes: 3 additions & 3 deletions docs/source/extending.rst
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ external program before or after interfacing with SrFit. An example of a
customized Profile is the ``SASProfile`` class in the
``diffpy.srfit.sas.sasprofile`` module:

.. literalinclude:: ../../../src/diffpy/srfit/sas/sasprofile.py
.. literalinclude:: /../../src/diffpy/srfit/sas/sasprofile.py
:pyobject: SASProfile

The ``__init__`` method sets the ``xobs``, ``yobs`` and ``dyobs`` attributes of
Expand Down Expand Up @@ -218,7 +218,7 @@ to keep the restraint cost comparable to the residual of a single data point.
``Restraint`` whose penalty is the root-mean-square deviation from the expected
and calculated BVS of a structure.

.. literalinclude:: ../../../src/diffpy/srfit/structure/bvsrestraint.py
.. literalinclude:: ../../src/diffpy/srfit/structure/bvsrestraint.py
:pyobject: BVSRestraint

Note that the penalty scaling is optional (selected by the `scaled` flag) and
Expand All @@ -230,7 +230,7 @@ restrainable object. A ``BVSRestraint`` is used to restrain a ``SrRealParSet``,
which is a ``ParameterSet`` wrapper base class for SrReal-compatible
structures. The restraint is applied with the ``restrainBVS`` method.

.. literalinclude:: ../../../src/diffpy/srfit/structure/srrealparset.py
.. literalinclude:: ../../src/diffpy/srfit/structure/srrealparset.py
:pyobject: SrRealParSet.restrainBVS

The purpose of the method is to create the custom ``Restraint`` object,
Expand Down
4 changes: 3 additions & 1 deletion docs/source/release.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:tocdepth: -1

.. index:: release notes

.. mdinclude:: ../../../CHANGELOG.md
.. include:: ../../CHANGELOG.rst
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

diffpy.structure uses include and has a better title hierarchy

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

* No news added: Fix the docstring in this repo

**Changed:**

* <news item>

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* <news item>

**Security:**

* <news item>
Loading
Loading