Skip to content

Commit 3e3c452

Browse files
authored
use download for document files (#180)
1 parent ee8dd92 commit 3e3c452

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

doc/source/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ or neutron diffraction data and comes with built in graphical and structure
1717
visualization capabilities.
1818

1919
PDFgui is a friendly interface to the PDFfit2 refinement engine, with many
20-
powerful extensions. To get started, please open the `manual <../../manual/pdfgui.html>`_
21-
from the help menu or follow the `tutorial instructions <tutorial.html>`_.
20+
powerful extensions. To get started, please open the manual (:download:`html <../manual/pdfgui.html>`
21+
/:download:`pdf <../manual/pdfgui.pdf>`) from the help menu or follow the :ref:`quick_start`.
2222

2323
=======
2424
Authors

doc/source/tutorial.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
:tocdepth: -1
2-
3-
.. index:: tutorial
1+
.. _quick_start:
42

53
Tutorial
64
########
@@ -15,8 +13,8 @@ Lesson 1: Creating simple fit of Ni PDF
1513

1614
Input files:
1715

18-
* `Ni-xray.gr <../../tutorial/Ni-xray.gr>`_ - experimental X-ray PDF data
19-
* `Ni.stru <../../tutorial/Ni.stru>`_ - Ni f.c.c. structure in PDFfit format
16+
* :download:`Ni-xray.gr <../tutorial/Ni-xray.gr>` - experimental X-ray PDF data
17+
* :download:`Ni.stru <../tutorial/Ni.stru>` - Ni f.c.c. structure in PDFfit format
2018

2119
Procedure:
2220

@@ -136,8 +134,8 @@ Learn how to string together fits.
136134
References
137135
==========
138136

139-
1. `(pdf) <../../manual/Proffen-jac-1999.pdf>`_,
137+
1. :download:`(pdf) <../manual/Proffen-jac-1999.pdf>`,
140138
Th. Proffen and S. J. L. Billinge, PDFFIT a program for full profile structural refinement of the atomic pair distribution function, J. Appl. Crystallogr. 32, 572-575 (1999)
141139

142-
2. `(pdf) <../../manual/Farrow-jpcm-2007.pdf>`_,
140+
2. :download:`(pdf) <../manual/Farrow-jpcm-2007.pdf>`,
143141
C. L. Farrow, P. Juhas, J. W. Liu, D. Bryndin, J. Bloch, Th. Proffen and S. J. L. Billinge, PDFfit2 and PDFgui: Computer programs for studying nanostructure in crystals, J. Phys.: Condens. Matter 19, 335219 (2007)

0 commit comments

Comments
 (0)