Skip to content

Commit

Permalink
use download for document files
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieqiong committed Aug 20, 2024
1 parent ee8dd92 commit 6e52afc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ or neutron diffraction data and comes with built in graphical and structure
visualization capabilities.

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

=======
Authors
Expand Down
12 changes: 5 additions & 7 deletions doc/source/tutorial.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
:tocdepth: -1

.. index:: tutorial
.. _quick_start:

Tutorial
########
Expand All @@ -15,8 +13,8 @@ Lesson 1: Creating simple fit of Ni PDF

Input files:

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

Procedure:

Expand Down Expand Up @@ -136,8 +134,8 @@ Learn how to string together fits.
References
==========

1. `(pdf) <../../manual/Proffen-jac-1999.pdf>`_,
1. :download:`(pdf) <../manual/Proffen-jac-1999.pdf>`,
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)

2. `(pdf) <../../manual/Farrow-jpcm-2007.pdf>`_,
2. :download:`(pdf) <../manual/Farrow-jpcm-2007.pdf>`,
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 comments on commit 6e52afc

Please sign in to comment.