From e532e6bfeb9b7f0d378cd113bf057052b8915b76 Mon Sep 17 00:00:00 2001
From: Caden Myers
$ conda create -n nbcmi -c diffpy python=2 diffpy-cmi
+$ conda create -n nbcmi -c diffpy python=2 diffpy.cmi
$ conda activate nbcmi
$ pip install path/to/diffpy.pdfgetx-VERSION.whl
diff --git a/static_root/doc/pdfgetx/2.1.1/_sources/tutorial.rst.txt b/static_root/doc/pdfgetx/2.1.1/_sources/tutorial.rst.txt
index af6ef5db..8ad44c46 100644
--- a/static_root/doc/pdfgetx/2.1.1/_sources/tutorial.rst.txt
+++ b/static_root/doc/pdfgetx/2.1.1/_sources/tutorial.rst.txt
@@ -644,14 +644,14 @@ the zero offset may change for different samples.
This tutorial requires either Linux or Mac OS X platforms,
because the PDF fitting is conducted with
-`DiffPy-CMI `__,
+`DiffPy.CMI `__,
which is not yet available for Windows.
-If DiffPy-CMI is not yet installed,
+If DiffPy.CMI is not yet installed,
we recommend to use `Anaconda Python`_ and set up a dedicated
Anaconda environment *nbcmi* for this tutorial.
This can be accomplished using the following steps::
- $ conda create -n nbcmi -c diffpy python=2 diffpy-cmi
+ $ conda create -n nbcmi -c diffpy python=2 diffpy.cmi
$ conda activate nbcmi
$ pip install path/to/diffpy.pdfgetx-VERSION.whl
diff --git a/static_root/doc/pdfgetx/2.1.1/tutorial.html b/static_root/doc/pdfgetx/2.1.1/tutorial.html
index 504ebc88..48e0e229 100644
--- a/static_root/doc/pdfgetx/2.1.1/tutorial.html
+++ b/static_root/doc/pdfgetx/2.1.1/tutorial.html
@@ -646,13 +646,13 @@ Fit twothetazeroDiffPy-CMI,
+DiffPy.CMI,
which is not yet available for Windows.
-If DiffPy-CMI is not yet installed,
+If DiffPy.CMI is not yet installed,
we recommend to use Anaconda Python and set up a dedicated
Anaconda environment nbcmi for this tutorial.
This can be accomplished using the following steps:
-$ conda create -n nbcmi -c diffpy python=2 diffpy-cmi
+$ conda create -n nbcmi -c diffpy python=2 diffpy.cmi
$ conda activate nbcmi
$ pip install path/to/diffpy.pdfgetx-VERSION.whl
diff --git a/static_root/doc/pdfgetx/2.1.2/_sources/tutorial.rst.txt b/static_root/doc/pdfgetx/2.1.2/_sources/tutorial.rst.txt
index af6ef5db..8ad44c46 100644
--- a/static_root/doc/pdfgetx/2.1.2/_sources/tutorial.rst.txt
+++ b/static_root/doc/pdfgetx/2.1.2/_sources/tutorial.rst.txt
@@ -644,14 +644,14 @@ the zero offset may change for different samples.
This tutorial requires either Linux or Mac OS X platforms,
because the PDF fitting is conducted with
-`DiffPy-CMI `__,
+`DiffPy.CMI `__,
which is not yet available for Windows.
-If DiffPy-CMI is not yet installed,
+If DiffPy.CMI is not yet installed,
we recommend to use `Anaconda Python`_ and set up a dedicated
Anaconda environment *nbcmi* for this tutorial.
This can be accomplished using the following steps::
- $ conda create -n nbcmi -c diffpy python=2 diffpy-cmi
+ $ conda create -n nbcmi -c diffpy python=2 diffpy.cmi
$ conda activate nbcmi
$ pip install path/to/diffpy.pdfgetx-VERSION.whl
diff --git a/static_root/doc/pdfgetx/2.1.2/tutorial.html b/static_root/doc/pdfgetx/2.1.2/tutorial.html
index f7293751..761ff7fb 100644
--- a/static_root/doc/pdfgetx/2.1.2/tutorial.html
+++ b/static_root/doc/pdfgetx/2.1.2/tutorial.html
@@ -646,13 +646,13 @@ Fit twothetazeroDiffPy-CMI,
+DiffPy.CMI,
which is not yet available for Windows.
-If DiffPy-CMI is not yet installed,
+If DiffPy.CMI is not yet installed,
we recommend to use Anaconda Python and set up a dedicated
Anaconda environment nbcmi for this tutorial.
This can be accomplished using the following steps:
-$ conda create -n nbcmi -c diffpy python=2 diffpy-cmi
+$ conda create -n nbcmi -c diffpy python=2 diffpy.cmi
$ conda activate nbcmi
$ pip install path/to/diffpy.pdfgetx-VERSION.whl
diff --git a/static_root/doc/pdfgetx/2.2.0/_sources/tutorial.rst.txt b/static_root/doc/pdfgetx/2.2.0/_sources/tutorial.rst.txt
index 7850ec08..671bc319 100644
--- a/static_root/doc/pdfgetx/2.2.0/_sources/tutorial.rst.txt
+++ b/static_root/doc/pdfgetx/2.2.0/_sources/tutorial.rst.txt
@@ -644,14 +644,14 @@ the zero offset may change for different samples.
This tutorial requires either Linux or Mac OS X platforms,
because the PDF fitting is conducted with
-`DiffPy-CMI `__,
+`DiffPy.CMI `__,
which is not yet available for Windows.
-If DiffPy-CMI is not yet installed,
+If DiffPy.CMI is not yet installed,
we recommend to use `Anaconda Python`_ and set up a dedicated
Anaconda environment *nbcmi* for this tutorial.
This can be accomplished using the following steps::
- $ conda create -n nbcmi -c diffpy python=2 diffpy-cmi
+ $ conda create -n nbcmi -c diffpy python=2 diffpy.cmi
$ conda activate nbcmi
$ pip install path/to/diffpy.pdfgetx-VERSION.whl
diff --git a/static_root/doc/pdfgetx/2.2.0/tutorial.html b/static_root/doc/pdfgetx/2.2.0/tutorial.html
index cb47ae94..1cb9b30f 100644
--- a/static_root/doc/pdfgetx/2.2.0/tutorial.html
+++ b/static_root/doc/pdfgetx/2.2.0/tutorial.html
@@ -646,13 +646,13 @@ Fit twothetazeroDiffPy-CMI,
+DiffPy.CMI,
which is not yet available for Windows.
-If DiffPy-CMI is not yet installed,
+If DiffPy.CMI is not yet installed,
we recommend to use Anaconda Python and set up a dedicated
Anaconda environment nbcmi for this tutorial.
This can be accomplished using the following steps:
-$ conda create -n nbcmi -c diffpy python=2 diffpy-cmi
+$ conda create -n nbcmi -c diffpy python=2 diffpy.cmi
$ conda activate nbcmi
$ pip install path/to/diffpy.pdfgetx-VERSION.whl
diff --git a/static_root/doc/pdfgetx/2.2.1/_sources/tutorial.rst.txt b/static_root/doc/pdfgetx/2.2.1/_sources/tutorial.rst.txt
index 7850ec08..671bc319 100644
--- a/static_root/doc/pdfgetx/2.2.1/_sources/tutorial.rst.txt
+++ b/static_root/doc/pdfgetx/2.2.1/_sources/tutorial.rst.txt
@@ -644,14 +644,14 @@ the zero offset may change for different samples.
This tutorial requires either Linux or Mac OS X platforms,
because the PDF fitting is conducted with
-`DiffPy-CMI `__,
+`DiffPy.CMI `__,
which is not yet available for Windows.
-If DiffPy-CMI is not yet installed,
+If DiffPy.CMI is not yet installed,
we recommend to use `Anaconda Python`_ and set up a dedicated
Anaconda environment *nbcmi* for this tutorial.
This can be accomplished using the following steps::
- $ conda create -n nbcmi -c diffpy python=2 diffpy-cmi
+ $ conda create -n nbcmi -c diffpy python=2 diffpy.cmi
$ conda activate nbcmi
$ pip install path/to/diffpy.pdfgetx-VERSION.whl
diff --git a/static_root/doc/pdfgetx/2.2.1/tutorial.html b/static_root/doc/pdfgetx/2.2.1/tutorial.html
index df564fed..24348192 100644
--- a/static_root/doc/pdfgetx/2.2.1/tutorial.html
+++ b/static_root/doc/pdfgetx/2.2.1/tutorial.html
@@ -646,13 +646,13 @@ Fit twothetazeroDiffPy-CMI,
+DiffPy.CMI,
which is not yet available for Windows.
-If DiffPy-CMI is not yet installed,
+If DiffPy.CMI is not yet installed,
we recommend to use Anaconda Python and set up a dedicated
Anaconda environment nbcmi for this tutorial.
This can be accomplished using the following steps:
-$ conda create -n nbcmi -c diffpy python=2 diffpy-cmi
+$ conda create -n nbcmi -c diffpy python=2 diffpy.cmi
$ conda activate nbcmi
$ pip install path/to/diffpy.pdfgetx-VERSION.whl
From ce22cb3c8c50d3e299739d932fa02c182ea3f2e8 Mon Sep 17 00:00:00 2001
From: Caden Myers
Date: Tue, 16 Sep 2025 16:17:54 -0400
Subject: [PATCH 3/4] add link to cmi docs
---
products/diffpycmi/index.rst | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/products/diffpycmi/index.rst b/products/diffpycmi/index.rst
index 70f6a4d4..3043de56 100644
--- a/products/diffpycmi/index.rst
+++ b/products/diffpycmi/index.rst
@@ -168,11 +168,14 @@ What next?
Tutorials
=========
-* Worked examples and experimental data from the book are freely available at our
+* A step-by-step tutorial on using diffpy.cmi for PDF analysis is available at the documentation site for
+ ``DiffPy.CMI`` -- https://www.diffpy.org/diffpy.cmi/tutorials/index.html.
+
+* Worked examples and experimental data from the book *Atomic Pair Distribution Function Analysis: A Primer* are freely available at our
`GitHub repository `_.
* ADD2019 school and conference --
- https://github.com/diffpy/add2019-diffpy-cmi
+ https://github.com/diffpy/add2019-diffpy-cmi.
Documentation
=============
From 10dc537a2b376828b68fa9feffa9e5b03682e407 Mon Sep 17 00:00:00 2001
From: Caden Myers
Date: Wed, 17 Sep 2025 13:06:46 -0400
Subject: [PATCH 4/4] add alias for diffpy.cmi and manually change non-rst file
references
---
README.md | 12 ++++++------
_includes/substitutions.rst | 2 ++
_templates/menu01.html | 2 +-
abbreviations.txt | 2 +-
conf.py | 5 +++++
products/diffpycmi/LICENSE.txt | 6 +++---
products/diffpycmi/cmi_exchange.rst | 6 +++---
products/diffpycmi/contents.rst | 4 ++--
products/diffpycmi/contributecode.rst | 2 +-
products/diffpycmi/index.rst | 10 +++++-----
products/diffpycmi/install.rst | 14 +++++++-------
products/diffpycmi/license.rst | 4 ++--
products/diffpycmi/updatesources.rst | 2 +-
products/mPDF.rst | 4 ++--
products/xPDFsuite.rst | 2 +-
products/xinterpdf.rst | 4 ++--
publications.rst | 2 +-
.../doc/pdfgetx/2.0.0/_sources/tutorial.rst.txt | 4 ++--
static_root/doc/pdfgetx/2.0.0/tutorial.html | 4 ++--
.../doc/pdfgetx/2.1.0/_sources/tutorial.rst.txt | 4 ++--
static_root/doc/pdfgetx/2.1.0/tutorial.html | 4 ++--
.../doc/pdfgetx/2.1.1/_sources/tutorial.rst.txt | 4 ++--
static_root/doc/pdfgetx/2.1.1/tutorial.html | 4 ++--
.../doc/pdfgetx/2.1.2/_sources/tutorial.rst.txt | 4 ++--
static_root/doc/pdfgetx/2.1.2/tutorial.html | 4 ++--
.../doc/pdfgetx/2.2.0/_sources/tutorial.rst.txt | 4 ++--
static_root/doc/pdfgetx/2.2.0/tutorial.html | 4 ++--
.../doc/pdfgetx/2.2.1/_sources/tutorial.rst.txt | 4 ++--
static_root/doc/pdfgetx/2.2.1/tutorial.html | 4 ++--
29 files changed, 69 insertions(+), 62 deletions(-)
create mode 100644 _includes/substitutions.rst
diff --git a/README.md b/README.md
index 966abed9..f15d06d4 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ Sphinx sources for the [diffpy.org][site] web page.
- [Where to Make Changes](#where-to-make-changes)
- [Adding Citations](#adding-citations)
- [Adding Publications that Describe a DiffPy Project (the "Reference" Section)](#reference-section-1)
- - [Adding Other Publications (the "Publication Using DiffPy.CMI" Section)](#reference-section-2)
+ - [Adding Other Publications (the "Publication Using diffpy.cmi" Section)](#reference-section-2)
- [New Version of Existing Project](#new-version)
- [New Project](#publishing-new-project)
- [Publishing Changes](#publishing-changes)
@@ -107,8 +107,8 @@ you add the reference to the proper section and do so in descending reverse chro
(i.e., the newest citations should appear at the top of their respective sections).
*Note:* In this example, the citation is for a publication
-which describes a product of the DiffPy.CMI project (namely, PDFgetN3). For publications which
-describe a component of DiffPy.CMI, we provide a link to download the publication directly from
+which describes a product of the diffpy.cmi project (namely, PDFgetN3). For publications which
+describe a component of diffpy.cmi, we provide a link to download the publication directly from
the [diffpy.org][site] website. Here, the link is provided via the `|downloadJuhasJac18|` tag
which is the identifier for another snippet within [abbreviations.txt](https://github.com/diffpy/diffpy.github.io/blob/source/abbreviations.txt#L294) following the definition
of `|citeJuhasJac18|`, seen here as:
@@ -130,10 +130,10 @@ placed within `pdfgetx`'s documentation directory and referenced accordingly wit
-### Adding Other Publications (the "Publication Using DiffPy.CMI" Section)
+### Adding Other Publications (the "Publication Using diffpy.cmi" Section)
-Adding references to publications that do not describe the release/use of a product within the DiffPy.CMI
-project (e.g., papers which use some component of DiffPy.CMI), we simply provide the usual citation text (with
+Adding references to publications that do not describe the release/use of a product within the diffpy.cmi
+project (e.g., papers which use some component of diffpy.cmi), we simply provide the usual citation text (with
appropriate DOI link). To add a citation of this type, refer to the information in [Reference Section](#reference-section-1), but
disregard everything starting at, and following, the [Note](#reference-section-note).
diff --git a/_includes/substitutions.rst b/_includes/substitutions.rst
new file mode 100644
index 00000000..96287220
--- /dev/null
+++ b/_includes/substitutions.rst
@@ -0,0 +1,2 @@
+.. define global names and alias here
+.. |diffpycmi| replace:: diffpy.cmi
diff --git a/_templates/menu01.html b/_templates/menu01.html
index 3c291077..1a235d9b 100644
--- a/_templates/menu01.html
+++ b/_templates/menu01.html
@@ -7,7 +7,7 @@