Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use download for document files #180

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
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)