Skip to content

Commit

Permalink
Configure sphinx to parse the tube calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
gesnerpassos committed Jul 15, 2013
1 parent 7112a20 commit bce375a
Show file tree
Hide file tree
Showing 12 changed files with 48 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Code/Mantid/MantidPlot/docs/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,20 @@ if ( SPHINX_FOUND )
source/index.rst
source/changes.rst
source/contents.rst
source/techiniques/calibration.rst
source/api/mantid.rst
source/api/mantidplot.rst
source/_templates/indexcontent.html
source/_templates/indexsidebar.html
source/_templates/layout.html
source/images/calibrateB2Window.png
source/images/calibratedCurrentMerlin.png
source/images/calibratedMantidMerlin.png
source/images/calibrateExtendMarginAndExpectedValue.png
source/images/calibratePlotFittedData.png
source/images/outputOfMinimalInput.png
source/images/plotingPeaksDifference.png
)

# The destination for the copied files
set ( SPHINX_CONF_DIR ${CMAKE_CURRENT_BINARY_DIR} )
set ( SPHINX_CONF_FILES )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@
</td></tr>
</table>

<p><strong>Scientific Techniques:</strong></p>
<table class="contentstable" align="center"><tr>
<td width="50%">
<p class="biglink"><a class="biglink" href="{{ pathto("techiniques/calibration") }}">Calibration</a><br/>
<span class="linkdescr">Scripts to perform Tubes calibration</span></p>
</td></tr>
</table>

<p><strong>Indices and tables:</strong></p>
<table class="contentstable" align="center"><tr>
<td width="50%">
Expand Down
1 change: 1 addition & 0 deletions Code/Mantid/MantidPlot/docs/python/source/contents.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Mantid Python References Contents
changes
api/mantid
api/mantidplot
techiniques/calibration
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
%%%%%%%%%%%
Calibration
%%%%%%%%%%%
.. default-domain:: py


.. sidebar:: Further documentation

.. _Wiki TubeCalibration: http://www.mantidproject.org/Tube_Calibration

Please, look at `Wiki TubeCalibration`_ for more documentation.

.. automodule:: tube


16 changes: 16 additions & 0 deletions Code/Mantid/scripts/Calibration/Examples/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"""
MAPS instrument
===============
.. automodule:: Examples.TubeCalibDemoMaps_All
MERLIN instrument
=================
.. automodule:: Examples.TubeCalibDemoMerlin
"""

0 comments on commit bce375a

Please sign in to comment.