Skip to content

Commit 8c7c191

Browse files
committed
Synchronized with the source at 898b16e.
1 parent e79271f commit 8c7c191

31 files changed

+177
-695
lines changed

_images/magpdf_screenshot.png

-470 KB
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.. this page only contains the LICENSE text for SrMise
22

3-
.. include:: SrMise_LICENSE.txt
4-
:literal:
3+
.. literalinclude:: SrMise_LICENSE.txt
4+
:language: text
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.. this page only contains the LICENSE text for DiffPy-CMI
22

3-
.. include:: LICENSE.txt
4-
:literal:
3+
.. literalinclude:: LICENSE.txt
4+
:language: text

_sources/products/mPDFlicense.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.. this page only contains the LICENSE text for mPDF
22

3-
.. include:: mPDF_LICENSE.txt
4-
:literal:
3+
.. literalinclude:: mPDF_LICENSE.txt
4+
:language: text

_sources/products/magPDF.txt

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

_sources/products/magPDFlicense.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.. this page only contains the LICENSE text for PDFgui
22

3-
.. include:: PDFgui_LICENSE.txt
4-
:literal:
3+
.. literalinclude:: PDFgui_LICENSE.txt
4+
:language: text

_sources/products/pythonpackages.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Python Packages
44
This is a complete list of all Python packages developed by the DiffPy
55
team. For more information about a specific package, follow the link to
66
the corresponding github page. With the exception of PDFfit2, SrMise,
7-
and magPDF, all of the packages listed below are bundled in the |DiffPyCMI|
7+
and mPDF, all of the packages listed below are bundled in the |DiffPyCMI|
88
release.
99

1010
====================== ============================================
@@ -35,7 +35,7 @@ Module Description
3535
(this is the computational engine used by
3636
PDFgui).
3737

38-
`diffpy.magpdf`_ Tools for calculating and refining magnetic
38+
`diffpy.mpdf`_ Tools for calculating and refining magnetic
3939
PDFs.
4040
====================== ============================================
4141

@@ -53,6 +53,6 @@ Module Description
5353

5454
.. _diffpy.pdffit2: https://github.com/diffpy/diffpy.pdffit2
5555

56-
.. _diffpy.magpdf: https://github.com/benfrandsen/diffpy.magpdf
56+
.. _diffpy.mpdf: https://github.com/benfrandsen/diffpy.magpdf
5757

5858
.. include:: ../abbreviations.txt

_static/basic.css

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx stylesheet -- basic theme.
66
*
7-
* :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -52,6 +52,8 @@ div.sphinxsidebar {
5252
width: 230px;
5353
margin-left: -100%;
5454
font-size: 90%;
55+
word-wrap: break-word;
56+
overflow-wrap : break-word;
5557
}
5658

5759
div.sphinxsidebar ul {
@@ -83,10 +85,6 @@ div.sphinxsidebar #searchbox input[type="text"] {
8385
width: 170px;
8486
}
8587

86-
div.sphinxsidebar #searchbox input[type="submit"] {
87-
width: 30px;
88-
}
89-
9088
img {
9189
border: 0;
9290
max-width: 100%;
@@ -187,6 +185,13 @@ div.genindex-jumpbox {
187185

188186
/* -- general body styles --------------------------------------------------- */
189187

188+
div.body p, div.body dd, div.body li, div.body blockquote {
189+
-moz-hyphens: auto;
190+
-ms-hyphens: auto;
191+
-webkit-hyphens: auto;
192+
hyphens: auto;
193+
}
194+
190195
a.headerlink {
191196
visibility: hidden;
192197
}

_static/doctools.js

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx JavaScript utilities for all documentation.
66
*
7-
* :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -124,6 +124,7 @@ var Documentation = {
124124
this.fixFirefoxAnchorBug();
125125
this.highlightSearchWords();
126126
this.initIndexTable();
127+
127128
},
128129

129130
/**
@@ -252,6 +253,29 @@ var Documentation = {
252253
});
253254
var url = parts.join('/');
254255
return path.substring(url.lastIndexOf('/') + 1, path.length - 1);
256+
},
257+
258+
initOnKeyListeners: function() {
259+
$(document).keyup(function(event) {
260+
var activeElementType = document.activeElement.tagName;
261+
// don't navigate when in search box or textarea
262+
if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT') {
263+
switch (event.keyCode) {
264+
case 37: // left
265+
var prevHref = $('link[rel="prev"]').prop('href');
266+
if (prevHref) {
267+
window.location.href = prevHref;
268+
return false;
269+
}
270+
case 39: // right
271+
var nextHref = $('link[rel="next"]').prop('href');
272+
if (nextHref) {
273+
window.location.href = nextHref;
274+
return false;
275+
}
276+
}
277+
}
278+
});
255279
}
256280
};
257281

@@ -260,4 +284,4 @@ _ = Documentation.gettext;
260284

261285
$(document).ready(function() {
262286
Documentation.init();
263-
});
287+
});

0 commit comments

Comments
 (0)