diff --git a/Code/Mantid/Build/class_maker.py b/Code/Mantid/Build/class_maker.py
index a902ef6164bd58c066449218038202a9887e40f4..5c585da28b47b4c477643eae05605f55adaaa1b5 100755
--- a/Code/Mantid/Build/class_maker.py
+++ b/Code/Mantid/Build/class_maker.py
@@ -320,6 +320,8 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
 """ % (classname,classname,classname,classname)
 
     f.write(s)
diff --git a/Code/Mantid/docs/source/algorithms/AbortRemoteJob-v1.rst b/Code/Mantid/docs/source/algorithms/AbortRemoteJob-v1.rst
index b0a08b346b6681053d46f231d6c6334ca180a207..bf611d704d82c0c9373c098a186649414b952b4d 100644
--- a/Code/Mantid/docs/source/algorithms/AbortRemoteJob-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/AbortRemoteJob-v1.rst
@@ -15,3 +15,6 @@ For more details, see the `remote job submission API
 docs <http://www.mantidproject.org/Remote_Job_Submission_API>`_.
 
 .. categories::
+ 
+.. sourcelink::
+ 
\ No newline at end of file
diff --git a/Code/Mantid/docs/source/algorithms/AbortRemoteJob-v2.rst b/Code/Mantid/docs/source/algorithms/AbortRemoteJob-v2.rst
index 193f85ff35b623ba0bb273c96e9d56611810e763..2d1f4dd5d100380da3904e70bbed2483cf4eb81a 100644
--- a/Code/Mantid/docs/source/algorithms/AbortRemoteJob-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/AbortRemoteJob-v2.rst
@@ -32,3 +32,5 @@ the compute resource uses the Mantid remote job submission API as job
 manager (underlying remote job scheduling mechanism).
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/AbsorptionCorrection-v1.rst b/Code/Mantid/docs/source/algorithms/AbsorptionCorrection-v1.rst
index 9c2cc7626e1f497448f1f5667ec5acd8bc5b6074..471c597be764b4007cc817d67d41e605c2371cc5 100644
--- a/Code/Mantid/docs/source/algorithms/AbsorptionCorrection-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/AbsorptionCorrection-v1.rst
@@ -100,3 +100,5 @@ Output:
     The created workspace has one entry for each spectra: 1
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/AddLogDerivative-v1.rst b/Code/Mantid/docs/source/algorithms/AddLogDerivative-v1.rst
index d096bf50fa39e2c060515cc16d2b0d657d3f554b..1caeaa771d9d9e3e4b2b397702779803466b7638 100644
--- a/Code/Mantid/docs/source/algorithms/AddLogDerivative-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/AddLogDerivative-v1.rst
@@ -70,3 +70,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/AddPeak-v1.rst b/Code/Mantid/docs/source/algorithms/AddPeak-v1.rst
index f1774a3d93ffa3306ff1a4e808b4a3076dc6ffba..eed591b6ec01918afa5b11185c17fa9c8c683394 100644
--- a/Code/Mantid/docs/source/algorithms/AddPeak-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/AddPeak-v1.rst
@@ -36,3 +36,5 @@ Output:
     The number of peaks after adding a peak is: 175
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/AddPeakHKL-v1.rst b/Code/Mantid/docs/source/algorithms/AddPeakHKL-v1.rst
index ab768f8c24c9793bc57186c7a4f12c7adb521a09..1f2cf615d04c638454ccb2eea3cddc4f7dcb46de 100644
--- a/Code/Mantid/docs/source/algorithms/AddPeakHKL-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/AddPeakHKL-v1.rst
@@ -60,3 +60,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/AddSampleLog-v1.rst b/Code/Mantid/docs/source/algorithms/AddSampleLog-v1.rst
index 6d86b5e2db5715eee8c01bea0faba28119e884a9..5dc96389e1b9e05946da8e96932ccdee87b73b17 100644
--- a/Code/Mantid/docs/source/algorithms/AddSampleLog-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/AddSampleLog-v1.rst
@@ -58,4 +58,6 @@ Output:
   [2]
 
 
-.. categories::
\ No newline at end of file
+.. categories::
+
+.. sourcelink::
\ No newline at end of file
diff --git a/Code/Mantid/docs/source/algorithms/AddSampleLogMultiple-v1.rst b/Code/Mantid/docs/source/algorithms/AddSampleLogMultiple-v1.rst
index 0941ff4ce65836c220a4b624a1eb3ebf1605f3eb..782f8f47f150a485ec161c92499e1005f041f896 100644
--- a/Code/Mantid/docs/source/algorithms/AddSampleLogMultiple-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/AddSampleLogMultiple-v1.rst
@@ -47,3 +47,5 @@ Output:
     1.6e-07
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/AddTimeSeriesLog-v1.rst b/Code/Mantid/docs/source/algorithms/AddTimeSeriesLog-v1.rst
index d5802fe0ce9bc2591bc649bc8fbaa1633e91c0df..571f064da895c4c22737d5aa4c965e276ef32cee 100644
--- a/Code/Mantid/docs/source/algorithms/AddTimeSeriesLog-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/AddTimeSeriesLog-v1.rst
@@ -60,5 +60,7 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
   
 
diff --git a/Code/Mantid/docs/source/algorithms/AlignAndFocusPowder-v1.rst b/Code/Mantid/docs/source/algorithms/AlignAndFocusPowder-v1.rst
index 23e9685ffb8274010a9e2c5a21207441b0552c02..976c31389f21bdef6fe50d3d99e19cc845119a71 100644
--- a/Code/Mantid/docs/source/algorithms/AlignAndFocusPowder-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/AlignAndFocusPowder-v1.rst
@@ -58,3 +58,5 @@ You will have to rename :literal:`pg3_mantid_det.cal` manually, as its name in t
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/AlignDetectors-v1.rst b/Code/Mantid/docs/source/algorithms/AlignDetectors-v1.rst
index 4a7cd0537e42f18b61df06c86279c3e9b30a836e..556b10a9def077c89cd9e559130d0012c8ef701b 100644
--- a/Code/Mantid/docs/source/algorithms/AlignDetectors-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/AlignDetectors-v1.rst
@@ -83,3 +83,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/AlphaCalc-v1.rst b/Code/Mantid/docs/source/algorithms/AlphaCalc-v1.rst
index 8da688956ff42cbc76ed8b6cccf45df40a429337..91e3ecd78ed5398100a7694e7255a90fc23af9d5 100644
--- a/Code/Mantid/docs/source/algorithms/AlphaCalc-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/AlphaCalc-v1.rst
@@ -60,3 +60,5 @@ Output:
    Alpha value: 2.000
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/AndMD-v1.rst b/Code/Mantid/docs/source/algorithms/AndMD-v1.rst
index 4f2cc14f282e712ef57126ff24b7373bc25a5d92..c4292d02657b6370bc4e2562d128919d4262e5f2 100644
--- a/Code/Mantid/docs/source/algorithms/AndMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/AndMD-v1.rst
@@ -14,3 +14,5 @@ operation is performed element-by-element. A signal of 0.0 means "false"
 and any non-zero signal is "true".
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/AnnularRingAbsorption-v1.rst b/Code/Mantid/docs/source/algorithms/AnnularRingAbsorption-v1.rst
index 6d0a822f06efe326c117d30e670504ce93633923..6654ca05813362a363f701ad81c8af69687bd61d 100644
--- a/Code/Mantid/docs/source/algorithms/AnnularRingAbsorption-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/AnnularRingAbsorption-v1.rst
@@ -49,3 +49,5 @@ Output:
    Just divide your data by the correction to correct for absorption.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/AnvredCorrection-v1.rst b/Code/Mantid/docs/source/algorithms/AnvredCorrection-v1.rst
index a3fb3e4024d227aa9e08f4ba8782468907f49ef3..ed28378e62730f4e49f05f290cc70dc57f088434 100644
--- a/Code/Mantid/docs/source/algorithms/AnvredCorrection-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/AnvredCorrection-v1.rst
@@ -57,3 +57,5 @@ Usage
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/AppendGeometryToSNSNexus-v1.rst b/Code/Mantid/docs/source/algorithms/AppendGeometryToSNSNexus-v1.rst
index 0555c7114e0622072d60cd6cee42da679d0d32fb..104ea18c9d3ea3a245d3827d3f967498fc65158c 100644
--- a/Code/Mantid/docs/source/algorithms/AppendGeometryToSNSNexus-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/AppendGeometryToSNSNexus-v1.rst
@@ -24,3 +24,5 @@ Usage
 This a currently a Proof of Concept algorithm.  If it matures into normal use a usage example must be added.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/AppendSpectra-v1.rst b/Code/Mantid/docs/source/algorithms/AppendSpectra-v1.rst
index eb19376bd9cfb8255800c73c4f47dbac5a4bbf3d..ab75a35b7b2ca91aed8384523da651adcd86a077 100644
--- a/Code/Mantid/docs/source/algorithms/AppendSpectra-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/AppendSpectra-v1.rst
@@ -72,3 +72,5 @@ Output:
     Workspace 'wsOut' has 10 spectra after AppendSpectra
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ApplyCalibration-v1.rst b/Code/Mantid/docs/source/algorithms/ApplyCalibration-v1.rst
index db2a0ec53e04363e14394862dcf0ad28b30487f9..6a3693e36ece70ff89cdef65b6e39f6b5dd7baeb 100644
--- a/Code/Mantid/docs/source/algorithms/ApplyCalibration-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ApplyCalibration-v1.rst
@@ -75,3 +75,5 @@ Output:
    Position of Detector ID=1103 after ApplyCalibration: 12,3,6
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ApplyDeadTimeCorr-v1.rst b/Code/Mantid/docs/source/algorithms/ApplyDeadTimeCorr-v1.rst
index f79cb522638fb109f86615ee142bb88e15bd6267..4d08ee1e118c9802c091eb74ad3cfbc82ed9991b 100644
--- a/Code/Mantid/docs/source/algorithms/ApplyDeadTimeCorr-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ApplyDeadTimeCorr-v1.rst
@@ -100,3 +100,5 @@ Output:
    Spectrum: 63; original: 8875.000; corrected: 8969.891
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ApplyDetailedBalance-v1.rst b/Code/Mantid/docs/source/algorithms/ApplyDetailedBalance-v1.rst
index cd8a8df2b313fc9924c96b39e732ac09b5293255..1d2a847716449f80cec97e141069770c3608e3b3 100644
--- a/Code/Mantid/docs/source/algorithms/ApplyDetailedBalance-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ApplyDetailedBalance-v1.rst
@@ -51,3 +51,5 @@ Output:
    [ 0.35419179  1.00380206  1.58223777  2.09729717  2.55592407]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ApplyPaalmanPingsCorrection-v1.rst b/Code/Mantid/docs/source/algorithms/ApplyPaalmanPingsCorrection-v1.rst
index 40af9ecafb8fd56c2fab386b2f1f30d917c01d21..578dedd2bab079102097b9d4873ec019b9e50980 100644
--- a/Code/Mantid/docs/source/algorithms/ApplyPaalmanPingsCorrection-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ApplyPaalmanPingsCorrection-v1.rst
@@ -74,3 +74,5 @@ Output:
     Type of correction applied: sample_and_can_corrections
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ApplyTransmissionCorrection-v1.rst b/Code/Mantid/docs/source/algorithms/ApplyTransmissionCorrection-v1.rst
index ee9781e7f38dbefc9d227f3405f31b46248a08bd..2d2524e45194389b0da2ba770696e94e4d950bab 100644
--- a/Code/Mantid/docs/source/algorithms/ApplyTransmissionCorrection-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ApplyTransmissionCorrection-v1.rst
@@ -17,3 +17,5 @@ Reduction <http://www.mantidproject.org/Reduction_for_HFIR_SANS>`__
 documentation for details.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/AsymmetryCalc-v1.rst b/Code/Mantid/docs/source/algorithms/AsymmetryCalc-v1.rst
index 4129abaddfde5f8b6b41baa6043e4dfc77e85e12..dbb2aa2af61ad803fa51721aada79a855550b13a 100644
--- a/Code/Mantid/docs/source/algorithms/AsymmetryCalc-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/AsymmetryCalc-v1.rst
@@ -58,3 +58,5 @@ Output:
    Errors: [ 0.5396295   0.69971423  0.28688766]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Authenticate-v1.rst b/Code/Mantid/docs/source/algorithms/Authenticate-v1.rst
index b90a5bcc7b1fcd520afc3bf8e171b8410aa69db3..b53f067c18984c784d931380089cd4576781979d 100644
--- a/Code/Mantid/docs/source/algorithms/Authenticate-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Authenticate-v1.rst
@@ -16,3 +16,5 @@ For more details, see the `remote job submission API
 docs <http://www.mantidproject.org/Remote_Job_Submission_API>`_.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Authenticate-v2.rst b/Code/Mantid/docs/source/algorithms/Authenticate-v2.rst
index a48fd17d891942b630247f7d1fd1b5de33a20bad..785ed8e1011c5dcfaf855414a539cdbde5aae18a 100644
--- a/Code/Mantid/docs/source/algorithms/Authenticate-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/Authenticate-v2.rst
@@ -43,3 +43,5 @@ the compute resource uses the Mantid remote job submission API as job
 manager (underlying remote job scheduling mechanism).
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/AverageLogData-v1.rst b/Code/Mantid/docs/source/algorithms/AverageLogData-v1.rst
index 71bc9ef6c1f9d797703c31044fd49adf62cf2262..336134c890fbd444dec47c5f0a58f90cd95df79a 100644
--- a/Code/Mantid/docs/source/algorithms/AverageLogData-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/AverageLogData-v1.rst
@@ -46,3 +46,5 @@ Output:
     ChopperStatus5 : 3.942 +/- 0.309
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/BASISReduction-v1.rst b/Code/Mantid/docs/source/algorithms/BASISReduction-v1.rst
index 1b43b0ce20a6480bf75815e52de25ea63f719e62..4d719d853062b12b2d1ea43a8606d47fc47f11d9 100644
--- a/Code/Mantid/docs/source/algorithms/BASISReduction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/BASISReduction-v1.rst
@@ -26,3 +26,5 @@ Usage
     This algorithm is not meant to be run from the command line.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/BinMD-v1.rst b/Code/Mantid/docs/source/algorithms/BinMD-v1.rst
index 00770efa1cadf9fb8520ca7259b62994ff966734..b26970567220eb20e7054c364d543e54b3c68d8e 100644
--- a/Code/Mantid/docs/source/algorithms/BinMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/BinMD-v1.rst
@@ -108,3 +108,5 @@ Transformations <http://www.mantidproject.org/BinMD_Coordinate_Transformations>`
    :alt: BinMD_Coordinate_Transforms_withLine.png
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/BinaryOperateMasks-v1.rst b/Code/Mantid/docs/source/algorithms/BinaryOperateMasks-v1.rst
index b87ce6f3db24d477af7f1f76c3b10ec0c3558e49..80dc0851fb4cd3e0a5652304ecbe0e438bf297d3 100644
--- a/Code/Mantid/docs/source/algorithms/BinaryOperateMasks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/BinaryOperateMasks-v1.rst
@@ -61,3 +61,5 @@ Output:
    [ 0.]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/BroadcastWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/BroadcastWorkspace-v1.rst
index ffc106aa3b48e11ce42e1e72d9b956a53fe90f6f..ac4e4c529d0a28cc275df56fb9818ca058af1c8a 100644
--- a/Code/Mantid/docs/source/algorithms/BroadcastWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/BroadcastWorkspace-v1.rst
@@ -12,3 +12,5 @@ Description
 BroadcastWorkspace is only available for MPI builds.  It is used to copy a workspace from one process to all the others.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CalMuonDeadTime-v1.rst b/Code/Mantid/docs/source/algorithms/CalMuonDeadTime-v1.rst
index ed73f492228d9d2baf5cd44ce2558ae4ff841746..a0b72e52cee47488d9de6f93955e91d741856d9b 100644
--- a/Code/Mantid/docs/source/algorithms/CalMuonDeadTime-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CalMuonDeadTime-v1.rst
@@ -59,3 +59,5 @@ Output:
       Spectrum 5 -> -0.5304
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CalculateChiSquared-v1.rst b/Code/Mantid/docs/source/algorithms/CalculateChiSquared-v1.rst
index 6e361be09935b1582bf1c3090f28b4930648e395..b0a336a99da932fec694f70385addfae58976dfd 100644
--- a/Code/Mantid/docs/source/algorithms/CalculateChiSquared-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CalculateChiSquared-v1.rst
@@ -86,3 +86,5 @@ Output:
     
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/CalculateCoverageDGS-v1.rst b/Code/Mantid/docs/source/algorithms/CalculateCoverageDGS-v1.rst
index 7710d99134596ff128e7aed8b260a6e5ca2469e2..49d9acb5dd5027bc584204ee0dfdf116e348587a 100644
--- a/Code/Mantid/docs/source/algorithms/CalculateCoverageDGS-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CalculateCoverageDGS-v1.rst
@@ -58,3 +58,5 @@ Output:
   
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/CalculateDIFC-v1.rst b/Code/Mantid/docs/source/algorithms/CalculateDIFC-v1.rst
index 696220b5ae40453d645b296fbc8cc6d6e2b7eda6..fd337ea77c87be7ac8b3f69518e4b54469f3c83c 100644
--- a/Code/Mantid/docs/source/algorithms/CalculateDIFC-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CalculateDIFC-v1.rst
@@ -48,3 +48,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/CalculateEfficiency-v1.rst b/Code/Mantid/docs/source/algorithms/CalculateEfficiency-v1.rst
index e1a239533002f90be1d9e1141e2da754e3bcfcf2..28cf323f3d29028b7a5805de00c529400d4f0162 100644
--- a/Code/Mantid/docs/source/algorithms/CalculateEfficiency-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CalculateEfficiency-v1.rst
@@ -36,3 +36,5 @@ Usage
    efficiency = CalculateEfficiency('workspace', MinEfficiency=0.5, MaxEfficiency=1.5)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CalculateFlatBackground-v1.rst b/Code/Mantid/docs/source/algorithms/CalculateFlatBackground-v1.rst
index 11c86ed66f655c341f1ff56d6ce1fcef8bb716b2..9c33f07c1e05eff40bbefbd778cf9a1bd1b6cb41 100644
--- a/Code/Mantid/docs/source/algorithms/CalculateFlatBackground-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CalculateFlatBackground-v1.rst
@@ -79,3 +79,5 @@ Output:
    Calculated Mean background: [ 3.  3.  3.  3.  3.]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CalculateGammaBackground-v1.rst b/Code/Mantid/docs/source/algorithms/CalculateGammaBackground-v1.rst
index 959a84fce701c9e989b52999d05d4790455b314a..91b779b3d70c11038ccae7d3f4d15a1523fe992a 100644
--- a/Code/Mantid/docs/source/algorithms/CalculateGammaBackground-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CalculateGammaBackground-v1.rst
@@ -78,3 +78,5 @@ Output:
    Number of corrected spectra: 2
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CalculateMSVesuvio-v1.rst b/Code/Mantid/docs/source/algorithms/CalculateMSVesuvio-v1.rst
index 8eddae38cacec7be66c60c70d46b481db262234b..81e5834c06216537b86ff663261079b658c170a7 100644
--- a/Code/Mantid/docs/source/algorithms/CalculateMSVesuvio-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CalculateMSVesuvio-v1.rst
@@ -57,3 +57,5 @@ References
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CalculatePeaksHKL-v1.rst b/Code/Mantid/docs/source/algorithms/CalculatePeaksHKL-v1.rst
index e8e1b8ecc373ed26f7740b34a746cb4c04f94170..017696e9c5a2cbfcde5835ac565b3ac4d43fcd3e 100644
--- a/Code/Mantid/docs/source/algorithms/CalculatePeaksHKL-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CalculatePeaksHKL-v1.rst
@@ -45,3 +45,5 @@ Output:
   Number of Indexed Peaks:  1
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CalculateResolution-v1.rst b/Code/Mantid/docs/source/algorithms/CalculateResolution-v1.rst
index 22d0efa5e72c1d14b53f3093093c6d9a7a7d95e4..5fab063f6b3a5b2ee78a146d79812218acd28407 100644
--- a/Code/Mantid/docs/source/algorithms/CalculateResolution-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CalculateResolution-v1.rst
@@ -60,3 +60,5 @@ Usage
   Two Theta: 0.7000
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CalculateSampleTransmission-v1.rst b/Code/Mantid/docs/source/algorithms/CalculateSampleTransmission-v1.rst
index 770b301f127a5763241dcfb08eac40f8da8a92fb..4f0b80fa81b42b65e47cefbffb60eb226bc6a1e8 100644
--- a/Code/Mantid/docs/source/algorithms/CalculateSampleTransmission-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CalculateSampleTransmission-v1.rst
@@ -58,3 +58,5 @@ Output:
     Scattering: 0.998506, 0.998506, 0.998506 ...
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CalculateSlits-v1.rst b/Code/Mantid/docs/source/algorithms/CalculateSlits-v1.rst
index ce0c636a4d758c0d77cf0615659e1c04b8a703dd..d793cf542c960e2e18e73fb5e723479ea09d1832 100644
--- a/Code/Mantid/docs/source/algorithms/CalculateSlits-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CalculateSlits-v1.rst
@@ -37,3 +37,5 @@ Usage
   Slit 2: 0.344 mm
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CalculateTransmission-v1.rst b/Code/Mantid/docs/source/algorithms/CalculateTransmission-v1.rst
index 411864a76cb0d03c73e161da5287af1bf528fac0..0f8a100a577efb373e2e956ee12a935491499831 100644
--- a/Code/Mantid/docs/source/algorithms/CalculateTransmission-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CalculateTransmission-v1.rst
@@ -41,3 +41,5 @@ Uses the algorithm `Fit <algm-Fit>`_ to fit to the calculated
 transmission fraction.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CalculateTransmissionBeamSpreader-v1.rst b/Code/Mantid/docs/source/algorithms/CalculateTransmissionBeamSpreader-v1.rst
index e2d52a2e1c691283de42a66bf35ac5345d10b1e7..71a50f3095f9e0bed59920c4b0b06a18b8f06090 100644
--- a/Code/Mantid/docs/source/algorithms/CalculateTransmissionBeamSpreader-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CalculateTransmissionBeamSpreader-v1.rst
@@ -14,3 +14,5 @@ See `SANS Reduction <http://www.mantidproject.org/Reduction_for_HFIR_SANS>`__
 documentation for details.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CalculateUMatrix-v1.rst b/Code/Mantid/docs/source/algorithms/CalculateUMatrix-v1.rst
index 118c21e30c734cf79c97e8e39650bb55cd8fe0ea..d835e839eb7248c2ccb0f1db5486560aeba30e7e 100644
--- a/Code/Mantid/docs/source/algorithms/CalculateUMatrix-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CalculateUMatrix-v1.rst
@@ -162,3 +162,5 @@ which is the eigenvector corresponding to the largest eigenvalue of
 :math:`HS`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CalculateZscore-v1.rst b/Code/Mantid/docs/source/algorithms/CalculateZscore-v1.rst
index 424366f90c930e7268f15902535ece9a30a9235b..1e9c0639ad221002e2a3221716ada9f3016bdf14 100644
--- a/Code/Mantid/docs/source/algorithms/CalculateZscore-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CalculateZscore-v1.rst
@@ -51,3 +51,5 @@ Output:
     0.11618485  0.02323697  0.11618485]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CalibrateRectangularDetectors-v1.rst b/Code/Mantid/docs/source/algorithms/CalibrateRectangularDetectors-v1.rst
index c95648178cd48cd71cc6521c8eac000800396e8d..561db96cb82169c04c844ead79b871a43c949d2d 100644
--- a/Code/Mantid/docs/source/algorithms/CalibrateRectangularDetectors-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CalibrateRectangularDetectors-v1.rst
@@ -57,3 +57,5 @@ and :math:`fwhm` as the peak's fitted width. Then,
 .. seealso :: Algorithm :ref:`algm-EstimateResolutionDiffraction`
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CatalogDownloadDataFiles-v1.rst b/Code/Mantid/docs/source/algorithms/CatalogDownloadDataFiles-v1.rst
index d9adc7808eaea78fb55d685afb06b87ce724f14e..d0ff2cba2be25bed331e54a3cd4e47eefc206d59 100644
--- a/Code/Mantid/docs/source/algorithms/CatalogDownloadDataFiles-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CatalogDownloadDataFiles-v1.rst
@@ -62,3 +62,5 @@ Output:
     ['/home/USERNAME/Desktop/33127010.nxs', '/home/USERNAME/Desktop/33127011.nxs']
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CatalogGetDataFiles-v1.rst b/Code/Mantid/docs/source/algorithms/CatalogGetDataFiles-v1.rst
index 5629dbd026cc9620c7f388eaa297da45ae60a146..3d2babf5ab716418cf28d0a8887bb8fc17204978 100644
--- a/Code/Mantid/docs/source/algorithms/CatalogGetDataFiles-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CatalogGetDataFiles-v1.rst
@@ -40,3 +40,5 @@ Output:
     A datafile with id '33121573' exists.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CatalogGetDataSets-v1.rst b/Code/Mantid/docs/source/algorithms/CatalogGetDataSets-v1.rst
index 02c29638859eda90d49f60489d5dde17caab45ce..cc07f8a6091f97d0c859ca9a9ff52941c39fd373 100644
--- a/Code/Mantid/docs/source/algorithms/CatalogGetDataSets-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CatalogGetDataSets-v1.rst
@@ -32,3 +32,5 @@ Output:
     The number of datafiles in this investigation is: 2
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CatalogKeepAlive-v1.rst b/Code/Mantid/docs/source/algorithms/CatalogKeepAlive-v1.rst
index 6352d16a847bb4708d009bebdc3b5a4fcf4c2f94..755580feafbc57c16d02f5171e49ee2cfe596b80 100644
--- a/Code/Mantid/docs/source/algorithms/CatalogKeepAlive-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CatalogKeepAlive-v1.rst
@@ -26,3 +26,5 @@ Usage
     CatalogKeepALive(Session = session.getPropertyValue("Session"))
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CatalogListInstruments-v1.rst b/Code/Mantid/docs/source/algorithms/CatalogListInstruments-v1.rst
index 2b420ce258a9aedfc5e45b7326722d3ca4bab4ca..41a417a0462e1b8ed491efcd3684154c6a15602f 100644
--- a/Code/Mantid/docs/source/algorithms/CatalogListInstruments-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CatalogListInstruments-v1.rst
@@ -44,3 +44,5 @@ Output:
     The facility of instrument ALF is: ISIS
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CatalogListInvestigationTypes-v1.rst b/Code/Mantid/docs/source/algorithms/CatalogListInvestigationTypes-v1.rst
index a2c8dee0f9aae6bde541570979c86ab9a70b555e..55a220ba9c22e33719a0a2a94e81dbfe186cae25 100644
--- a/Code/Mantid/docs/source/algorithms/CatalogListInvestigationTypes-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CatalogListInvestigationTypes-v1.rst
@@ -39,3 +39,5 @@ Output:
     Investigation type is: unknown
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CatalogLogin-v1.rst b/Code/Mantid/docs/source/algorithms/CatalogLogin-v1.rst
index e851f2a26b23731d46d9d2f80d32148762ae6601..de9f88d30a6ee1f360d03c1e3c36a7240cd1e219 100644
--- a/Code/Mantid/docs/source/algorithms/CatalogLogin-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CatalogLogin-v1.rst
@@ -33,3 +33,5 @@ Output:
     The session ID is: b931877c-3cfb-460e-9e88-ed4257020477
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CatalogLogout-v1.rst b/Code/Mantid/docs/source/algorithms/CatalogLogout-v1.rst
index 5b41ec436da175870c472a7e259e92631e27c9a5..4c5e02a01cdfae4c14239a230460cd52c5a9554c 100644
--- a/Code/Mantid/docs/source/algorithms/CatalogLogout-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CatalogLogout-v1.rst
@@ -26,3 +26,5 @@ Usage
     CatalogLogout(session)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CatalogMyDataSearch-v1.rst b/Code/Mantid/docs/source/algorithms/CatalogMyDataSearch-v1.rst
index 1803d0cf7b2262eb9558c5b1bf83a273daadc630..f530ebda9153adea71225a254e4b96bd5ef7093c 100644
--- a/Code/Mantid/docs/source/algorithms/CatalogMyDataSearch-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CatalogMyDataSearch-v1.rst
@@ -37,3 +37,5 @@ Output:
     The title of the investigation is: Mantid Test Investigation
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CatalogPublish-v1.rst b/Code/Mantid/docs/source/algorithms/CatalogPublish-v1.rst
index e1339fc557e232404ce1d5698be2310113eeafe7..3e17d508178ef9aaf781c0cd4f0601cf8db47edd 100644
--- a/Code/Mantid/docs/source/algorithms/CatalogPublish-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CatalogPublish-v1.rst
@@ -54,3 +54,5 @@ Usage
     )
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CatalogSearch-v1.rst b/Code/Mantid/docs/source/algorithms/CatalogSearch-v1.rst
index a8f58ca7aa7830006d8b5c47ce9563d136ea7ed7..ac4cdab9431366b8956b4ed5bbc6c040415e3ba2 100644
--- a/Code/Mantid/docs/source/algorithms/CatalogSearch-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CatalogSearch-v1.rst
@@ -64,3 +64,7 @@ Output:
      The number of search results returned was: 109
 
 .. categories::
+
+.. sourcelink::
+     :h: Framework/ICat/inc/MantidICat/CatalogSearch.h
+     :cpp: Framework/ICat/src/CatalogSearch.cpp
\ No newline at end of file
diff --git a/Code/Mantid/docs/source/algorithms/CentroidPeaks-v1.rst b/Code/Mantid/docs/source/algorithms/CentroidPeaks-v1.rst
index cba09f9377bfe1b6c10a3c57b6965da3283e872a..be3b2e2468a66681ca5045f3242ebc6a8d838f68 100644
--- a/Code/Mantid/docs/source/algorithms/CentroidPeaks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CentroidPeaks-v1.rst
@@ -34,3 +34,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CentroidPeaksMD-v1.rst b/Code/Mantid/docs/source/algorithms/CentroidPeaksMD-v1.rst
index 925e43e41a03758a0cba60ba3bf186116b6cceb9..e36680d16e927bd77cdac68941edf68619477896 100644
--- a/Code/Mantid/docs/source/algorithms/CentroidPeaksMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CentroidPeaksMD-v1.rst
@@ -21,3 +21,5 @@ Use :ref:`algm-CentroidPeaksMD-v2` for any new scripts.
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CentroidPeaksMD-v2.rst b/Code/Mantid/docs/source/algorithms/CentroidPeaksMD-v2.rst
index 11b2ae716790c7901b62590c5b6c9c8875f59b19..a41e51de139f38e8806dc6f9ec09b6dbc7436984 100644
--- a/Code/Mantid/docs/source/algorithms/CentroidPeaksMD-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/CentroidPeaksMD-v2.rst
@@ -111,3 +111,5 @@ FindPeaksMD algorithm.
    
    
    .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ChangeBinOffset-v1.rst b/Code/Mantid/docs/source/algorithms/ChangeBinOffset-v1.rst
index 719de26d666e62bb57c7bb7c9ebc34db66a003fc..96f4c884cf842aa6b2d67e08d9668e23e54343cc 100644
--- a/Code/Mantid/docs/source/algorithms/ChangeBinOffset-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ChangeBinOffset-v1.rst
@@ -49,3 +49,5 @@ Usage
   True
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ChangeLogTime-v1.rst b/Code/Mantid/docs/source/algorithms/ChangeLogTime-v1.rst
index 44b1afbfb0b016377535cd88ba8f9587393add6e..f225a29aa74974e2a73079fe007973146572a190 100644
--- a/Code/Mantid/docs/source/algorithms/ChangeLogTime-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ChangeLogTime-v1.rst
@@ -45,3 +45,5 @@ Output:
     ModifiedTimes:  [2010-Mar-25 16:09:37.780000000,2010-Mar-25 16:10:11.560998229,2010-Mar-25 16:10:41.514001159,2010-Mar-25 16:11:35.498002319]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ChangePulsetime-v1.rst b/Code/Mantid/docs/source/algorithms/ChangePulsetime-v1.rst
index 4338bdb5b546d5813d289ff54d9d11a425942358..00cd7903937c1b51f2aed21480a6ae8895d3955b 100644
--- a/Code/Mantid/docs/source/algorithms/ChangePulsetime-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ChangePulsetime-v1.rst
@@ -14,3 +14,5 @@ spectra of an :ref:`EventWorkspace <EventWorkspace>`, by adding the given number
 of seconds as specified with ``TimeOffset``.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ChangeTimeZero-v1.rst b/Code/Mantid/docs/source/algorithms/ChangeTimeZero-v1.rst
index cd5ce6770684df16be10edd15d12de109036c26a..2496f234725228a04449eed6c02f0600ed9b6260 100644
--- a/Code/Mantid/docs/source/algorithms/ChangeTimeZero-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ChangeTimeZero-v1.rst
@@ -107,3 +107,5 @@ Output:
   Shifted pulse times:  2002-07-13T14:01:21.474029541  ,  2002-07-13T14:01:57.529106140  , ...
   
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CheckForSampleLogs-v1.rst b/Code/Mantid/docs/source/algorithms/CheckForSampleLogs-v1.rst
index 12660e93946057fb399f0e355b93fa9a4ef47f02..96bb43f5ef7331626b5bc77a3578c803c092eef2 100644
--- a/Code/Mantid/docs/source/algorithms/CheckForSampleLogs-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CheckForSampleLogs-v1.rst
@@ -42,3 +42,5 @@ Output:
     Property DJIA not found
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CheckWorkspacesMatch-v1.rst b/Code/Mantid/docs/source/algorithms/CheckWorkspacesMatch-v1.rst
index bece0f67830342dc5e93f91deb9175c181823290..76224ee11d1bc53c4aca471a63a43aead3a40229 100644
--- a/Code/Mantid/docs/source/algorithms/CheckWorkspacesMatch-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CheckWorkspacesMatch-v1.rst
@@ -73,3 +73,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/ChopData-v1.rst b/Code/Mantid/docs/source/algorithms/ChopData-v1.rst
index 7bbff2dc07d2c638cb2ed403788d63c977ed4677..5af47a23488e86ba259d7cb5bb5b10d60c25be19 100644
--- a/Code/Mantid/docs/source/algorithms/ChopData-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ChopData-v1.rst
@@ -77,3 +77,5 @@ Output:
    The number of bins in the 2nd chop is 48.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ClearInstrumentParameters-v1.rst b/Code/Mantid/docs/source/algorithms/ClearInstrumentParameters-v1.rst
index 4b9891c659f387c400dda159dc5e7364bc250de6..66e328426079aa480af2b3c0d35ace745a9365c0 100644
--- a/Code/Mantid/docs/source/algorithms/ClearInstrumentParameters-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ClearInstrumentParameters-v1.rst
@@ -66,3 +66,5 @@ Usage
   Bank2 was cleared successfully.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ClearMaskFlag-v1.rst b/Code/Mantid/docs/source/algorithms/ClearMaskFlag-v1.rst
index 0a965a329990115d4db600929dcdfb46b43fa01b..a7954af4bf56087bf03c467ee1bfa0471fbdd8a0 100644
--- a/Code/Mantid/docs/source/algorithms/ClearMaskFlag-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ClearMaskFlag-v1.rst
@@ -14,3 +14,5 @@ This algorithm clears the mask flag/bit on all spectra of a workspace.
 .. note:: It does not restore masked data.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ClearUB-v1.rst b/Code/Mantid/docs/source/algorithms/ClearUB-v1.rst
index 49fb6389f3ab3b529e60bd0bf534037310e44535..edf4a3b14df5024990fde3eb29f7abbf55900fed 100644
--- a/Code/Mantid/docs/source/algorithms/ClearUB-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ClearUB-v1.rst
@@ -45,3 +45,5 @@ Output:
    ClearUB has removed the oriented lattice.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CloneMDWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/CloneMDWorkspace-v1.rst
index 5f02b9fd8bc557f7ec3c8b0c4cd54d2192002525..3978dd6027783ad63014f92c8a353cdfc231622d 100644
--- a/Code/Mantid/docs/source/algorithms/CloneMDWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CloneMDWorkspace-v1.rst
@@ -25,3 +25,5 @@ with UpdateFileBackEnd=True (if necessary), followed by a simple LoadMD
 call to the file in question.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CloneWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/CloneWorkspace-v1.rst
index f708b5aa2a5a0332b10614a4cedfa529533cc912..d1b5458f355d7bade5f3fc35e693e3b86f0729c0 100644
--- a/Code/Mantid/docs/source/algorithms/CloneWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CloneWorkspace-v1.rst
@@ -17,3 +17,5 @@ workspace. It maintains events if the input is an
 :ref:`PeaksWorkspace <PeaksWorkspace>`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CollectHB3AExperimentInfo-v1.rst b/Code/Mantid/docs/source/algorithms/CollectHB3AExperimentInfo-v1.rst
index 778a11032cb2ea0028164c084cbb147675839960..8f3a05d7d27ee3d617f330b55f951ce88d0f9d74 100644
--- a/Code/Mantid/docs/source/algorithms/CollectHB3AExperimentInfo-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CollectHB3AExperimentInfo-v1.rst
@@ -85,3 +85,5 @@ Output:
   Virtual detectors are from ID = 1 to ID = 131072
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CombinePeaksWorkspaces-v1.rst b/Code/Mantid/docs/source/algorithms/CombinePeaksWorkspaces-v1.rst
index 413c5ed08d6f0636093c2f51abbb31efe4ff20ca..1d3bf040e34af59af0b1831ba25a1f4a5fe2eaf1 100644
--- a/Code/Mantid/docs/source/algorithms/CombinePeaksWorkspaces-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CombinePeaksWorkspaces-v1.rst
@@ -21,3 +21,5 @@ match is found (the search stops at the first match for each
 RHSWorkspace peak) then the peak in the LHSWorkspace is retained.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CompareMDWorkspaces-v1.rst b/Code/Mantid/docs/source/algorithms/CompareMDWorkspaces-v1.rst
index be06d8d7be6e21b6124c832057246cecb3dc29a9..4b25627e07715220bbb642b3a5324a12492dd87a 100644
--- a/Code/Mantid/docs/source/algorithms/CompareMDWorkspaces-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CompareMDWorkspaces-v1.rst
@@ -57,3 +57,5 @@ Usage
     Workspaces mdWs1 and mdWs2  are equal? : False : Comparison result: Box signal does not match (18360 vs 36720)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CompressEvents-v1.rst b/Code/Mantid/docs/source/algorithms/CompressEvents-v1.rst
index adfa3d22c916b4b03575739d97b7fdb97b98abbe..af0a11a7a80f6750521c788f5c773dab12f25c1f 100644
--- a/Code/Mantid/docs/source/algorithms/CompressEvents-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CompressEvents-v1.rst
@@ -61,3 +61,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ComputeSensitivity-v1.rst b/Code/Mantid/docs/source/algorithms/ComputeSensitivity-v1.rst
index e9c4e8a2fb62a5b32ba9654951aba751f8227da4..4d634d0189281f6bdc5c59d7d8f4ddf19d2e835a 100644
--- a/Code/Mantid/docs/source/algorithms/ComputeSensitivity-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ComputeSensitivity-v1.rst
@@ -24,3 +24,5 @@ Usage
 This is a part of the EQSANS workflow algorithm and is not intended to be executed seperately.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConjoinFiles-v1.rst b/Code/Mantid/docs/source/algorithms/ConjoinFiles-v1.rst
index a55cd9280ed3e8f151a4a335495d41efb8ce3cf2..fe9ff5b0622735c19ee3b9e92aa8c5887686be22 100644
--- a/Code/Mantid/docs/source/algorithms/ConjoinFiles-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConjoinFiles-v1.rst
@@ -56,3 +56,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConjoinSpectra-v1.rst b/Code/Mantid/docs/source/algorithms/ConjoinSpectra-v1.rst
index 36a7908de4a997d121a53e58d3e45f2e3f8b9bb0..b1bb1bf6f1b89b3f2c99f3fe1c2b97adebbc5cb5 100644
--- a/Code/Mantid/docs/source/algorithms/ConjoinSpectra-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConjoinSpectra-v1.rst
@@ -82,3 +82,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConjoinWorkspaces-v1.rst b/Code/Mantid/docs/source/algorithms/ConjoinWorkspaces-v1.rst
index c240f292bd0ef8cf61a30def978ed787e261734f..73f522d83fb3ab42814114ec5e3c10d2f025d4fd 100644
--- a/Code/Mantid/docs/source/algorithms/ConjoinWorkspaces-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConjoinWorkspaces-v1.rst
@@ -78,3 +78,5 @@ Output:
     Number of spectra after ConjoinWorkspaces 5
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertAxesToRealSpace-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertAxesToRealSpace-v1.rst
index ac754eb183bf846dd204cce1b95887fe9844a2d5..11f850a241c451df78bf29916dc4a9eb2d234f37 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertAxesToRealSpace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertAxesToRealSpace-v1.rst
@@ -84,3 +84,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/ConvertAxisByFormula-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertAxisByFormula-v1.rst
index b3307a8582dccfa9fc842b555ed3c772e89fef90..38f9d167cfe54248671d8b5be282f33cd1362424 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertAxisByFormula-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertAxisByFormula-v1.rst
@@ -112,3 +112,5 @@ Output:
    New Y title: Doubled Y
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertCWPDMDToSpectra-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertCWPDMDToSpectra-v1.rst
index 6e0de2616029e79ccd5167e976f467bcecadcc6a..f58d3cff9cdebcd91cbe2c86d37469b1d05c5016 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertCWPDMDToSpectra-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertCWPDMDToSpectra-v1.rst
@@ -217,3 +217,5 @@ Output:
   2theta = 127.800000, Y = 0.237738, E = 0.027303
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertCWSDExpToMomentum-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertCWSDExpToMomentum-v1.rst
index 1effec872821d9a797c572b1afbc29147547cf4d..5eff1ac7803867a0801c5d824ff19e0f024f1e8f 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertCWSDExpToMomentum-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertCWSDExpToMomentum-v1.rst
@@ -151,3 +151,5 @@ Output:
   In Q-sample frame, center of peak 0 is at (-6.95467, -0.06937, 8.14106) at detector with ID 29072
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertDiffCal-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertDiffCal-v1.rst
index 283f63f50082c23cf2ff1337fa3b4e65c33d5afe..37ddd84ceabd61ee6ef7f7669f2b991b41998ec6 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertDiffCal-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertDiffCal-v1.rst
@@ -37,3 +37,5 @@ data download due to its size. It be downloaded from
                           OutputWorkspace="PG3_cal")
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertEmptyToTof-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertEmptyToTof-v1.rst
index cce8d972a22fac287af25ec83b649be6885716c3..917c8f09d348c5800db4385427c31d3b894eb453 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertEmptyToTof-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertEmptyToTof-v1.rst
@@ -27,3 +27,5 @@ Instead of using the fields above (ListOfSpectraIndices and ListOfChannelIndices
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertFromDistribution-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertFromDistribution-v1.rst
index 87dd5d009176e1988aed4fb1ac648fe7537ad616..ac1b22ff62284bc7752bd4b55aa19f8bf5f055fe 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertFromDistribution-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertFromDistribution-v1.rst
@@ -46,3 +46,5 @@ Output:
     Is the workspace a distribution? False
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertMDHistoToMatrixWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertMDHistoToMatrixWorkspace-v1.rst
index 9810cb87c197471004798677331d59d89a34dbc7..15652a49f96807ca6833e0f431221f6e32e4c06f 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertMDHistoToMatrixWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertMDHistoToMatrixWorkspace-v1.rst
@@ -61,3 +61,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertSnsRoiFileToMask-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertSnsRoiFileToMask-v1.rst
index e2e1af532c180b10739a3af854666d95fb9a9e80..6607db9e665bf7c7549cc8fcd1ec2c6022cffee9 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertSnsRoiFileToMask-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertSnsRoiFileToMask-v1.rst
@@ -56,3 +56,5 @@ Output:
     os.remove(os.path.join(".", mask_file))
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertSpectrumAxis-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertSpectrumAxis-v1.rst
index 40354d149e21e7601b4ebbec97c683ba816c9efc..9172723007ca8fb8ac484ffc63b90aa53a56e482 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertSpectrumAxis-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertSpectrumAxis-v1.rst
@@ -45,3 +45,5 @@ Usage
    Final theta value: 0.129645 (degrees)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertSpectrumAxis-v2.rst b/Code/Mantid/docs/source/algorithms/ConvertSpectrumAxis-v2.rst
index af1c3cfc86ed8fac25180aa84677e8dc89de0a39..64b01e96d9989ce3021564b8a04c0afe3a74ff04 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertSpectrumAxis-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertSpectrumAxis-v2.rst
@@ -59,3 +59,5 @@ Usage
    Final Q value: 0.006088 (A^-1)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertSpiceDataToRealSpace-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertSpiceDataToRealSpace-v1.rst
index 242bb26224c6662663c046bf45a257b6cd7afa80..a8dd3a8f6e40ebe480482a80a5bc4f8f5001277c 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertSpiceDataToRealSpace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertSpiceDataToRealSpace-v1.rst
@@ -207,3 +207,5 @@ Output:
   Number of events = 2684
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertTableToMatrixWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertTableToMatrixWorkspace-v1.rst
index 5b0b74172a73b1c2ebf2a1a1b8f1b9e4534eb8c1..549f6a604a753b56dd1a21bc0f6eec078491edee 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertTableToMatrixWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertTableToMatrixWorkspace-v1.rst
@@ -46,4 +46,6 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
 
diff --git a/Code/Mantid/docs/source/algorithms/ConvertToDetectorFaceMD-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertToDetectorFaceMD-v1.rst
index 51007f3ee26607e605cd7c3c106557c5578736f2..67ceea7278cea2e58213ac2fccc7ed167923c45c 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertToDetectorFaceMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertToDetectorFaceMD-v1.rst
@@ -53,3 +53,5 @@ a 4D `MDEventWorkspace <http://www.mantidproject.org/MDEventWorkspace>`_. The fo
 number, allowing you to easily pick a bank to view.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertToDiffractionMDWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertToDiffractionMDWorkspace-v1.rst
index 21a59d9438ee803b71d981df86e8d23bce373615..788e1a09da1dbc94f80910766011520054db2f20 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertToDiffractionMDWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertToDiffractionMDWorkspace-v1.rst
@@ -111,3 +111,5 @@ Usage
    Workspace Type is:  MDEventWorkspace<MDLeanEvent,3>
    
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertToDiffractionMDWorkspace-v2.rst b/Code/Mantid/docs/source/algorithms/ConvertToDiffractionMDWorkspace-v2.rst
index 829317c03af0d85d06e9ee6628c60c60c5aceeba..9f21b032cb39a98564714f4e3df82905bae0a5d3 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertToDiffractionMDWorkspace-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertToDiffractionMDWorkspace-v2.rst
@@ -87,3 +87,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertToDistribution-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertToDistribution-v1.rst
index 0fe52f0238ccfc67d202608e305a824f30faf066..fc6885753f777e12b7b8ea6d85f628e340b5ac31 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertToDistribution-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertToDistribution-v1.rst
@@ -50,3 +50,5 @@ Output:
     The largest of which is 0.0415 counts.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertToEventWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertToEventWorkspace-v1.rst
index 2abb449109e14642d1731ddb72862c8001a0a6e5..15217a14e9ce8d18b937d3c942f87b2264222be7 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertToEventWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertToEventWorkspace-v1.rst
@@ -29,3 +29,5 @@ Note that using ``GenerateZeros`` or ``GenerateMultipleEvents`` may use a
 lot of memory!
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertToHistogram-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertToHistogram-v1.rst
index 07918b263a5bdb2664504203f28efd9a4096822c..ba86710722ecba4f09ceb4f5f6fbb87932be2c87 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertToHistogram-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertToHistogram-v1.rst
@@ -15,3 +15,5 @@ Once executed, the ``OutputWorkspace`` will contain histogram data where the
 bin width is guessed from the spacing between the input X points.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertToMD-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertToMD-v1.rst
index 69ae6b171053adc796871bea5539eaa674a3f50f..5c5568c605567a0b81efea401841a87de571be04 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertToMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertToMD-v1.rst
@@ -285,3 +285,5 @@ This example produces 3-dimensional dataset, with a temperature axis.
    --------------------------------------------
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertToMDMinMaxGlobal-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertToMDMinMaxGlobal-v1.rst
index 7dfccf820fdcf64d567b141f9c3a3239a24617ee..f61b6e7430f752a6ff2e0858d9490d6dd123a601 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertToMDMinMaxGlobal-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertToMDMinMaxGlobal-v1.rst
@@ -129,3 +129,5 @@ Usage
 
    
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertToMDMinMaxLocal-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertToMDMinMaxLocal-v1.rst
index bd00e76fcb6b7ce338d64887b2c6d0bd661d00df..5483d625eb8c2a3df87cd62d4f196da3fc2b284c 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertToMDMinMaxLocal-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertToMDMinMaxLocal-v1.rst
@@ -120,3 +120,5 @@ Usage
    
   
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertToMatrixWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertToMatrixWorkspace-v1.rst
index 447d34f8f5f145f0b79520a64baecc54292c7106..72b35b5bc5c5e32938cf61614d6ab2254dd2bfd0 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertToMatrixWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertToMatrixWorkspace-v1.rst
@@ -54,3 +54,5 @@ Output:
    51200 17
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertToPointData-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertToPointData-v1.rst
index d993f47ca18a7e3fbedb80580a6bdaa56369e525..2eff633e845b951fa22402a418a595fd5b8aace2 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertToPointData-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertToPointData-v1.rst
@@ -14,3 +14,5 @@ The ``InputWorkspace`` must contain histogram data. Once executed the
 the centre points of the input bins.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertToReflectometryQ-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertToReflectometryQ-v1.rst
index 1d1019710f14315fca467fd298d022be0cca8e94..311ac23b8ac5995a200da527383a2ffb6cd5985a 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertToReflectometryQ-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertToReflectometryQ-v1.rst
@@ -53,3 +53,5 @@ You will usually want to rebin using :ref:`algm-BinMD` or
 are not regularly binned.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertToYSpace-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertToYSpace-v1.rst
index f7a31c70c222f9743af2c2e9604351e396388bac..765cbb88cc22cc80eb5061dafa250c36b48a30b5 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertToYSpace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertToYSpace-v1.rst
@@ -78,3 +78,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertUnits-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertUnits-v1.rst
index 36a85f1b025457faa50f17e739d5e63660dc7640..60952aacd6ee20b8e598c01362264cc18b286a95 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertUnits-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertUnits-v1.rst
@@ -70,3 +70,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ConvertUnitsUsingDetectorTable-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertUnitsUsingDetectorTable-v1.rst
index 3512511edb838b5dc60fe9a5bf634284b8ab5811..a642bc823f6b7e10f5fd43412f4195c006455a6a 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertUnitsUsingDetectorTable-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertUnitsUsingDetectorTable-v1.rst
@@ -66,3 +66,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/ConvolveWorkspaces-v1.rst b/Code/Mantid/docs/source/algorithms/ConvolveWorkspaces-v1.rst
index 98ddadb2df6469b539c7b0e7dbe65010eb139339..482f8004d334671c50eab77a6c8fa9c1c75f231a 100644
--- a/Code/Mantid/docs/source/algorithms/ConvolveWorkspaces-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvolveWorkspaces-v1.rst
@@ -37,3 +37,5 @@ Output:
       146.57078223]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CopyDetectorMapping-v1.rst b/Code/Mantid/docs/source/algorithms/CopyDetectorMapping-v1.rst
index 86b8a8df305235aa4c1762aab69a92b55db5edc6..c554bf61f9a3d6aa8084c762f76fd1d609172470 100644
--- a/Code/Mantid/docs/source/algorithms/CopyDetectorMapping-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CopyDetectorMapping-v1.rst
@@ -57,3 +57,5 @@ Output:
     Spectrum 0 detectors after copy: set(3,4,5,6,7)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CopyInstrumentParameters-v1.rst b/Code/Mantid/docs/source/algorithms/CopyInstrumentParameters-v1.rst
index 0be8e549b8320686311a51e5f27bdb0d07f8626c..b3b0f53b92d3a34bf19fa27b497c23450b13c807 100644
--- a/Code/Mantid/docs/source/algorithms/CopyInstrumentParameters-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CopyInstrumentParameters-v1.rst
@@ -77,3 +77,5 @@ Output:
    Position of Detector ID=1103 in 2nd workspace after CopyInstrumentParameters: 12,3,6
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CopyLogs-v1.rst b/Code/Mantid/docs/source/algorithms/CopyLogs-v1.rst
index 6a94de02a671d7e7e87f0d6208e69c7e4d5f890b..1a4ff51ae67055357d2ae6d665740daa74a33846 100644
--- a/Code/Mantid/docs/source/algorithms/CopyLogs-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CopyLogs-v1.rst
@@ -213,3 +213,5 @@ Output:
    2nd workspace log values x = hello world , y = 1 , z = [2]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CopySample-v1.rst b/Code/Mantid/docs/source/algorithms/CopySample-v1.rst
index 742d6c44c64a92acd119758c751ea05cc88bd135..6aa09357be42d23bf2a4c37130265c19ed9e906b 100644
--- a/Code/Mantid/docs/source/algorithms/CopySample-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CopySample-v1.rst
@@ -62,3 +62,5 @@ Output:
     
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CorelliCrossCorrelate-v1.rst b/Code/Mantid/docs/source/algorithms/CorelliCrossCorrelate-v1.rst
index 44d77859cb3dcb49aa8e88a5869371fe957030cb..a07e4b2c0876cb745ca79b5b0f22e06457f74b3c 100644
--- a/Code/Mantid/docs/source/algorithms/CorelliCrossCorrelate-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CorelliCrossCorrelate-v1.rst
@@ -48,3 +48,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/CorrectFlightPaths-v1.rst b/Code/Mantid/docs/source/algorithms/CorrectFlightPaths-v1.rst
index 264885042720d917eef7257aa32a3a581e9f9e05..c8738cf9895e84e2208c8b71effe930a8969c8af 100644
--- a/Code/Mantid/docs/source/algorithms/CorrectFlightPaths-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CorrectFlightPaths-v1.rst
@@ -23,3 +23,5 @@ This algorithm was coded as a proof of concept. It may be deprecated in the futu
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CorrectKiKf-v1.rst b/Code/Mantid/docs/source/algorithms/CorrectKiKf-v1.rst
index 5735c8a270ef60c9b29dd3141b931e3f1d3d0a5b..26641b9fc1788a5a62279af5be55d4e0bee54bc0 100644
--- a/Code/Mantid/docs/source/algorithms/CorrectKiKf-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CorrectKiKf-v1.rst
@@ -53,3 +53,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CorrectLogTimes-v1.rst b/Code/Mantid/docs/source/algorithms/CorrectLogTimes-v1.rst
index d5f864fd33e52690df0f043b745208cbe781fbd3..a17c2a34a1fcfc85ca1d1bb0a7d24cff59157002 100644
--- a/Code/Mantid/docs/source/algorithms/CorrectLogTimes-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CorrectLogTimes-v1.rst
@@ -47,3 +47,5 @@ Output:
     Corrected start time for 'Speed5': 2010-03-25T16:08:37 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CorrectToFile-v1.rst b/Code/Mantid/docs/source/algorithms/CorrectToFile-v1.rst
index 28005e38efbe8eeee21a3ab16a8ff96031632713..08d0ec0525bbd3d5b2e349d0700d26c1b3407fe6 100644
--- a/Code/Mantid/docs/source/algorithms/CorrectToFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CorrectToFile-v1.rst
@@ -22,3 +22,5 @@ spectra (e.g. flood correction files) FirstColumnValue must be set to
 must match.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateCalFileByNames-v1.rst b/Code/Mantid/docs/source/algorithms/CreateCalFileByNames-v1.rst
index 2495e33d5e0483f0b802ed693731a0a3b11a41fa..5ad877b4afe10314597841805625c4f5e425364e 100644
--- a/Code/Mantid/docs/source/algorithms/CreateCalFileByNames-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateCalFileByNames-v1.rst
@@ -68,3 +68,5 @@ Output:
 
    
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateChopperModel-v1.rst b/Code/Mantid/docs/source/algorithms/CreateChopperModel-v1.rst
index 05eb314dc5f5115cfaae8b8c686ed45e2a780225..0494f9b68c45e02bc5e7a92fe34bec1cd6910136 100644
--- a/Code/Mantid/docs/source/algorithms/CreateChopperModel-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateChopperModel-v1.rst
@@ -30,3 +30,5 @@ Available models with parameter names:
    -  Ei - The Ei for this run as a value or log name
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateChunkingFromInstrument-v1.rst b/Code/Mantid/docs/source/algorithms/CreateChunkingFromInstrument-v1.rst
index 2d7963ff0e6c489acf418bc7fe8eded4c23e35d8..952d5eb664dc87e4ddb41850a3b3228f92cff214 100644
--- a/Code/Mantid/docs/source/algorithms/CreateChunkingFromInstrument-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateChunkingFromInstrument-v1.rst
@@ -50,6 +50,8 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
 
 
 
diff --git a/Code/Mantid/docs/source/algorithms/CreateDummyCalFile-v1.rst b/Code/Mantid/docs/source/algorithms/CreateDummyCalFile-v1.rst
index 55215d54bfdb42eaa808d39895273d1f5684dbea..f42aef4dbd3aa98a15f7ecd36497887b636fadad 100644
--- a/Code/Mantid/docs/source/algorithms/CreateDummyCalFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateDummyCalFile-v1.rst
@@ -74,3 +74,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateEmptyTableWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/CreateEmptyTableWorkspace-v1.rst
index d47578f35ed3b0b4a8064a80b813f1cf9073c1da..aaf525aff073392a766a70ce5bd21f23fcdbfc4f 100644
--- a/Code/Mantid/docs/source/algorithms/CreateEmptyTableWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateEmptyTableWorkspace-v1.rst
@@ -50,3 +50,5 @@ Output:
    Remember, the table is a workspace.  It's name is "my_table".
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateFlatEventWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/CreateFlatEventWorkspace-v1.rst
index a26431278eea3027feae5a4a01371dde78144d8a..305a3ea415f62c3972b8c10105f53c527690901a 100644
--- a/Code/Mantid/docs/source/algorithms/CreateFlatEventWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateFlatEventWorkspace-v1.rst
@@ -52,3 +52,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateGroupingWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/CreateGroupingWorkspace-v1.rst
index 7057dee151f963eaee0fbf75eb227054e3cfdf5b..afdebe3f470942d0d01e5705a31979a994609740 100644
--- a/Code/Mantid/docs/source/algorithms/CreateGroupingWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateGroupingWorkspace-v1.rst
@@ -113,3 +113,5 @@ Output:
    Number of groups: 5
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateLeBailFitInput-v1.rst b/Code/Mantid/docs/source/algorithms/CreateLeBailFitInput-v1.rst
index b0193eebac37450cf085dae5ab15940e416f7e9c..69835244f9da3370525f9e282864b9749b4ec6d7 100644
--- a/Code/Mantid/docs/source/algorithms/CreateLeBailFitInput-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateLeBailFitInput-v1.rst
@@ -78,3 +78,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateLogPropertyTable-v1.rst b/Code/Mantid/docs/source/algorithms/CreateLogPropertyTable-v1.rst
index 936d24a4ad61b89693467c7b0bee288f55390ff9..dde3cf8515849385252372f4f5ae90d63eac3d64 100644
--- a/Code/Mantid/docs/source/algorithms/CreateLogPropertyTable-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateLogPropertyTable-v1.rst
@@ -94,3 +94,5 @@ Output:
     The values of the ImportantParameter are: ['1', '2', '3']
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateLogTimeCorrection-v1.rst b/Code/Mantid/docs/source/algorithms/CreateLogTimeCorrection-v1.rst
index 7f82f5336f2e7fbe240549d890eb14f95ef28ad8..ee168a6b951866278aa263a879e09f9045736f2a 100644
--- a/Code/Mantid/docs/source/algorithms/CreateLogTimeCorrection-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateLogTimeCorrection-v1.rst
@@ -77,3 +77,5 @@ Output:
   detector (ID: 102798) correction = 0.95036
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateMD-v1.rst b/Code/Mantid/docs/source/algorithms/CreateMD-v1.rst
index 47861d53291b8c4ec029497fa1e045fa0e17de28..c819972bd17b32ff71b029c376c872fa916fe358 100644
--- a/Code/Mantid/docs/source/algorithms/CreateMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateMD-v1.rst
@@ -142,3 +142,5 @@ Output
    DeltaE
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateMDHistoWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/CreateMDHistoWorkspace-v1.rst
index a2fc1145538a8038a1d7f092dc0bba4d2197796e..1d3b7a79855f4b5083b8f5a3914fa1b9e082dc79 100644
--- a/Code/Mantid/docs/source/algorithms/CreateMDHistoWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateMDHistoWorkspace-v1.rst
@@ -71,3 +71,5 @@ Usage
    dimension 1 has ID: Dim2; nBins=10; min: -10.0; max: 10.0 in units of: EnergyTransfer
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateMDWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/CreateMDWorkspace-v1.rst
index d7681ea0e6feb0ca9a6780332710838b7c4f9824..15f6f0a322f9ad16455cffa30f104fd09c4bf198 100644
--- a/Code/Mantid/docs/source/algorithms/CreateMDWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateMDWorkspace-v1.rst
@@ -27,3 +27,5 @@ You can create a file-backed MDEventWorkspace by specifying the Filename
 and Memory parameters.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateModeratorModel-v1.rst b/Code/Mantid/docs/source/algorithms/CreateModeratorModel-v1.rst
index f0d7439f60c567cc423e31514646a103dc41b0ab..b6419df33d868dc23924942913cbf38b894afae0 100644
--- a/Code/Mantid/docs/source/algorithms/CreateModeratorModel-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateModeratorModel-v1.rst
@@ -23,3 +23,5 @@ Available models with parameter names:
    -  R - The mixing coefficient
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreatePSDBleedMask-v1.rst b/Code/Mantid/docs/source/algorithms/CreatePSDBleedMask-v1.rst
index 63136938f0df1ea27c4bf0f413416d43b0ba1b82..65b36dc5f7d3610439d564bbe24cad3c6dd075ff 100644
--- a/Code/Mantid/docs/source/algorithms/CreatePSDBleedMask-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreatePSDBleedMask-v1.rst
@@ -84,3 +84,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreatePeaksWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/CreatePeaksWorkspace-v1.rst
index 4c92ed66857ff3b7ae30fef36724d7774f7454c2..e9e54e0a58e0b28d0af60bff428e941789ba27b1 100644
--- a/Code/Mantid/docs/source/algorithms/CreatePeaksWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreatePeaksWorkspace-v1.rst
@@ -48,3 +48,5 @@ Output:
     Created a PeaksWorkspace with 3 rows
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateSampleShape-v1.rst b/Code/Mantid/docs/source/algorithms/CreateSampleShape-v1.rst
index 8ff6c6c7532e338a76f68bb8a5ba813f68813c76..e5ba9aff3f6b762f2e6bbba9e4de51ff3291f35a 100644
--- a/Code/Mantid/docs/source/algorithms/CreateSampleShape-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateSampleShape-v1.rst
@@ -48,3 +48,5 @@ Usage
     CreateSampleShape(ws,shape_xml)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateSampleWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/CreateSampleWorkspace-v1.rst
index a55661036f80bc734605af273a5f0bd5de7acc1e..a9421cddc954432378488435e8163bebc6a2392d 100644
--- a/Code/Mantid/docs/source/algorithms/CreateSampleWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateSampleWorkspace-v1.rst
@@ -147,5 +147,7 @@ Output:
    
 .. categories::
 
+.. sourcelink::
+
 
 
diff --git a/Code/Mantid/docs/source/algorithms/CreateSimulationWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/CreateSimulationWorkspace-v1.rst
index fab1a6e469c06bc1e6b61a18a18179753ca20abf..2f3bb5ede9ad1017ebd33666fd7eafd09c0ef85f 100644
--- a/Code/Mantid/docs/source/algorithms/CreateSimulationWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateSimulationWorkspace-v1.rst
@@ -21,3 +21,5 @@ number of histograms as detectors in the instrument (not including
 monitors)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateSingleValuedWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/CreateSingleValuedWorkspace-v1.rst
index e8156edfd6f47662cadebea2430509a01cec2d14..4aeed835db5affd02b4961f3a21819ea66a0418b 100644
--- a/Code/Mantid/docs/source/algorithms/CreateSingleValuedWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateSingleValuedWorkspace-v1.rst
@@ -72,3 +72,5 @@ Output:
    e value: [ 0.1]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateTransmissionWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/CreateTransmissionWorkspace-v1.rst
index 0adf0c37c04176967a40504324df45ce912fcf25..7e9c7a646f6146bbb6b078d2c803749b19a33f3f 100644
--- a/Code/Mantid/docs/source/algorithms/CreateTransmissionWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateTransmissionWorkspace-v1.rst
@@ -95,3 +95,5 @@ Output:
     0.0580
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateTransmissionWorkspaceAuto-v1.rst b/Code/Mantid/docs/source/algorithms/CreateTransmissionWorkspaceAuto-v1.rst
index 9373bc41dd8a0aa061645087b82c60e4b888b8a1..dbd74b710529e7df2a42bf803de9c23a407e17a9 100644
--- a/Code/Mantid/docs/source/algorithms/CreateTransmissionWorkspaceAuto-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateTransmissionWorkspaceAuto-v1.rst
@@ -97,3 +97,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CreateWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/CreateWorkspace-v1.rst
index 403cc5b91451def3c3c8b6d263d1ec07081564a5..2cc4a677c8887680df4d445cfa76fe8d358cd83e 100644
--- a/Code/Mantid/docs/source/algorithms/CreateWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CreateWorkspace-v1.rst
@@ -38,3 +38,5 @@ Usage
      dataWS = CreateWorkspace(DataX=dataX, DataY=dataY, DataE=dataE, NSpec=4,UnitX="Wavelength")
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CropWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/CropWorkspace-v1.rst
index 205b96ecdc952ab7c62258efc8a493c16d980881..c7d1b279c4c9bfed10b0dc8aa9116d641293a3a7 100644
--- a/Code/Mantid/docs/source/algorithms/CropWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CropWorkspace-v1.rst
@@ -50,3 +50,5 @@ Output:
    TOF After CropWorkspace [ 10.  20.  30.  40.]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CrossCorrelate-v1.rst b/Code/Mantid/docs/source/algorithms/CrossCorrelate-v1.rst
index 099e148fc2719e7cb8b7e229b632ee30406befcf..c906e32f125cf955f92c6a9f7279a5701a0fa3f8 100644
--- a/Code/Mantid/docs/source/algorithms/CrossCorrelate-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CrossCorrelate-v1.rst
@@ -44,3 +44,5 @@ Usage
    CrossCorrelation [-0.68136257  0.16838401  0.45685055]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CuboidGaugeVolumeAbsorption-v1.rst b/Code/Mantid/docs/source/algorithms/CuboidGaugeVolumeAbsorption-v1.rst
index dd3f153998f9a4d4b75afa3f201bcc4a4aab74b1..a5d91184e46a4493f8d207e3dc622d8dba08966d 100644
--- a/Code/Mantid/docs/source/algorithms/CuboidGaugeVolumeAbsorption-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CuboidGaugeVolumeAbsorption-v1.rst
@@ -75,3 +75,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CutMD-v1.rst b/Code/Mantid/docs/source/algorithms/CutMD-v1.rst
index 98a4ea6d220acfcd280efbf0d60f9277ec26f3c0..25d111b1d3746017119933cbab3797e527ff1019 100644
--- a/Code/Mantid/docs/source/algorithms/CutMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CutMD-v1.rst
@@ -162,3 +162,5 @@ Output:
    Half the volume should give half the signal = 50.00
    
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CylinderAbsorption-v1.rst b/Code/Mantid/docs/source/algorithms/CylinderAbsorption-v1.rst
index 65da7e3abcc5c90ad279c9c84d646c430eb19ae8..8de3994299d12ae6a81078f00505c0956b0956f3 100644
--- a/Code/Mantid/docs/source/algorithms/CylinderAbsorption-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CylinderAbsorption-v1.rst
@@ -114,3 +114,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CylinderPaalmanPingsCorrection-v1.rst b/Code/Mantid/docs/source/algorithms/CylinderPaalmanPingsCorrection-v1.rst
index 7786c6f41db4db779fa0fdf03535a128aed642b9..5eb1c10606b5eeb6754802d02a397fd2450410f6 100644
--- a/Code/Mantid/docs/source/algorithms/CylinderPaalmanPingsCorrection-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/CylinderPaalmanPingsCorrection-v1.rst
@@ -63,3 +63,5 @@ Output:
     Correction workspaces: corr_ass, corr_assc, corr_acsc, corr_acc
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/CylinderPaalmanPingsCorrection-v2.rst b/Code/Mantid/docs/source/algorithms/CylinderPaalmanPingsCorrection-v2.rst
index 6c3eac156f0caa46938f5351f8bc71d09b92254e..3a6379f72e6a037f8a15a3f099e118885fa598ca 100644
--- a/Code/Mantid/docs/source/algorithms/CylinderPaalmanPingsCorrection-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/CylinderPaalmanPingsCorrection-v2.rst
@@ -62,3 +62,5 @@ Output:
     Correction workspaces: corr_ass, corr_assc, corr_acsc, corr_acc
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DSFinterp-v1.rst b/Code/Mantid/docs/source/algorithms/DSFinterp-v1.rst
index 94b2d8e98e7f27ff7a64d246aa5cdd2b3a88ec80..e438ab9f95a221da4dba5ea64aea8f4d8886224c 100644
--- a/Code/Mantid/docs/source/algorithms/DSFinterp-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DSFinterp-v1.rst
@@ -84,3 +84,5 @@ for each channel and aggregates them into an interpolated structure factor.
    Interpolated structure factor :math:`S(K,E|Q)`, in logarithm scaling, at fixed :math:`Q=0.9A^{-1}`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DakotaChiSquared-v1.rst b/Code/Mantid/docs/source/algorithms/DakotaChiSquared-v1.rst
index aeef462f0eee7ed626c47ca673ec3d804ce7e84d..dd80686ee7c0669fbe1117226bd57fb3f7c80b04 100644
--- a/Code/Mantid/docs/source/algorithms/DakotaChiSquared-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DakotaChiSquared-v1.rst
@@ -64,3 +64,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DefineGaugeVolume-v1.rst b/Code/Mantid/docs/source/algorithms/DefineGaugeVolume-v1.rst
index 26a000209334569c9392d5ef83e43bd6b8838c75..4b4369f7432139ad6f4145afbc62e0723f8c77be 100644
--- a/Code/Mantid/docs/source/algorithms/DefineGaugeVolume-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DefineGaugeVolume-v1.rst
@@ -62,3 +62,5 @@ Output:
     The created workspace has one entry for each spectra: 1
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DeleteLog-v1.rst b/Code/Mantid/docs/source/algorithms/DeleteLog-v1.rst
index b0e8521dfde59ea3f4f8f6d4cf9755060c5d8b1e..b975163571afd0333bb4466af0b1cc87f6cb972d 100644
--- a/Code/Mantid/docs/source/algorithms/DeleteLog-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DeleteLog-v1.rst
@@ -42,3 +42,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DeleteTableRows-v1.rst b/Code/Mantid/docs/source/algorithms/DeleteTableRows-v1.rst
index 7d74ddbac9183a45b2eecee1a43325d824617bec..6e5cd0821c0fc1425cf7ba0054a98e3befdc94a9 100644
--- a/Code/Mantid/docs/source/algorithms/DeleteTableRows-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DeleteTableRows-v1.rst
@@ -49,3 +49,5 @@ Output:
     [1.0, 2.0, 4.0, 6.0, 8.0, 10.0, 11.0, 19.0]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DeleteWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/DeleteWorkspace-v1.rst
index a293848c56e8e433347d18ac46ac6741733ca3af..6d17903faac30c8257149922e2d20a855ccbc2bf 100644
--- a/Code/Mantid/docs/source/algorithms/DeleteWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DeleteWorkspace-v1.rst
@@ -49,3 +49,5 @@ Output:
    single_value exists in mantid: False
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DensityOfStates-v1.rst b/Code/Mantid/docs/source/algorithms/DensityOfStates-v1.rst
index 6e0ae211b1858a86925b5d6b791a9fc9b7bcdb64..c44fccf60d3d6b0b8a86953421ae8f18bb5a046a 100644
--- a/Code/Mantid/docs/source/algorithms/DensityOfStates-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DensityOfStates-v1.rst
@@ -83,3 +83,5 @@ Output:
     O
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DetectorDiagnostic-v1.rst b/Code/Mantid/docs/source/algorithms/DetectorDiagnostic-v1.rst
index 06532c07b8818df7f7fe52791800edc713954472..9404c8d50f14f139bf599febe406742fe92f7688 100644
--- a/Code/Mantid/docs/source/algorithms/DetectorDiagnostic-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DetectorDiagnostic-v1.rst
@@ -47,3 +47,5 @@ to form the NumberOfFailures output by the main algorithm.
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DetectorEfficiencyCor-v1.rst b/Code/Mantid/docs/source/algorithms/DetectorEfficiencyCor-v1.rst
index e33b087a19bbdffe9c3f333675f980d71aedfcff..093c69dc837c1dc9b7db1a818c8be257606f5f90 100644
--- a/Code/Mantid/docs/source/algorithms/DetectorEfficiencyCor-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DetectorEfficiencyCor-v1.rst
@@ -92,3 +92,5 @@ Usage
    8.0 1.0 1.31118984059 1.0 1.31118984059
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DetectorEfficiencyCorUser-v1.rst b/Code/Mantid/docs/source/algorithms/DetectorEfficiencyCorUser-v1.rst
index 873d8a4ee930c03a8d9a5c3a89065883073dbcec..ff77bf431e5187658443cfb7b05e1fdfa22ef9dd 100644
--- a/Code/Mantid/docs/source/algorithms/DetectorEfficiencyCorUser-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DetectorEfficiencyCorUser-v1.rst
@@ -65,3 +65,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DetectorEfficiencyVariation-v1.rst b/Code/Mantid/docs/source/algorithms/DetectorEfficiencyVariation-v1.rst
index 3868f0069d2563030168e2316025510f5bf71e05..578eefd15fee2ea525e0b0581fd9db220391b0ba 100644
--- a/Code/Mantid/docs/source/algorithms/DetectorEfficiencyVariation-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DetectorEfficiencyVariation-v1.rst
@@ -62,3 +62,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DetermineChunking-v1.rst b/Code/Mantid/docs/source/algorithms/DetermineChunking-v1.rst
index d2bd9a102338e553d3d553d1c1bfeb887de29ebe..7741b969db4cc4a36760ba46c6f0d7a26219f6e2 100644
--- a/Code/Mantid/docs/source/algorithms/DetermineChunking-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DetermineChunking-v1.rst
@@ -35,3 +35,5 @@ Output:
     A max chunck size of 0.0010 created 6 chunks.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DgsAbsoluteUnitsReduction-v1.rst b/Code/Mantid/docs/source/algorithms/DgsAbsoluteUnitsReduction-v1.rst
index e563d679de49ee411950d51012ec2c7aac344077..cf8ade09d03a29b7f12b41fae554b050eb2b4bfd 100644
--- a/Code/Mantid/docs/source/algorithms/DgsAbsoluteUnitsReduction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DgsAbsoluteUnitsReduction-v1.rst
@@ -76,3 +76,5 @@ Usage
     within :ref:`DgsReduction <algm-DgsReduction>`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DgsConvertToEnergyTransfer-v1.rst b/Code/Mantid/docs/source/algorithms/DgsConvertToEnergyTransfer-v1.rst
index bfc2f3172b2551a0419946d7a3f747d154b00925..7d319df7841690cf051e18b6fbe0f6cd6bea5bbc 100644
--- a/Code/Mantid/docs/source/algorithms/DgsConvertToEnergyTransfer-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DgsConvertToEnergyTransfer-v1.rst
@@ -55,3 +55,5 @@ Usage
     within :ref:`DgsReduction <algm-DgsReduction>`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DgsDiagnose-v1.rst b/Code/Mantid/docs/source/algorithms/DgsDiagnose-v1.rst
index 0cc39b6a432ad0eb3905705d0e302be71872d022..027400ea8ceeec872c8e9a31471a9c0d4b888560 100644
--- a/Code/Mantid/docs/source/algorithms/DgsDiagnose-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DgsDiagnose-v1.rst
@@ -100,3 +100,5 @@ Usage
     within :ref:`DgsReduction <algm-DgsReduction>`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DgsPreprocessData-v1.rst b/Code/Mantid/docs/source/algorithms/DgsPreprocessData-v1.rst
index 70576727c50b7360a557af0bc38571fa2955c87b..8a6bafdf2087a2a19a6f43c80c96038e6cabf364 100644
--- a/Code/Mantid/docs/source/algorithms/DgsPreprocessData-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DgsPreprocessData-v1.rst
@@ -47,3 +47,5 @@ Usage
     within :ref:`DgsReduction <algm-DgsReduction>`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DgsProcessDetectorVanadium-v1.rst b/Code/Mantid/docs/source/algorithms/DgsProcessDetectorVanadium-v1.rst
index 4295d5f9d2ab1b839c7155137285771659074ab4..5431253860620c5fd1c978a999c977ee51501a47 100644
--- a/Code/Mantid/docs/source/algorithms/DgsProcessDetectorVanadium-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DgsProcessDetectorVanadium-v1.rst
@@ -48,3 +48,5 @@ Usage
     within :ref:`DgsReduction <algm-DgsReduction>`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DgsReduction-v1.rst b/Code/Mantid/docs/source/algorithms/DgsReduction-v1.rst
index cd0050dacbad961cf5a3a3e5c3bfb343c874ea87..2a682dd203c362edb2bed7475f3f2f10cddc0f2b 100644
--- a/Code/Mantid/docs/source/algorithms/DgsReduction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DgsReduction-v1.rst
@@ -131,3 +131,5 @@ Output:
     Number of events = 2178
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DgsRemap-v1.rst b/Code/Mantid/docs/source/algorithms/DgsRemap-v1.rst
index 8b4887ee8ac12a86f5fd8b6d70a9e631087bdd6c..de6578e7a544fbde064e28d54e1316306bf4932d 100644
--- a/Code/Mantid/docs/source/algorithms/DgsRemap-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DgsRemap-v1.rst
@@ -27,3 +27,5 @@ Usage
     within :ref:`DgsReduction <algm-DgsReduction>`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DiffPeaksWorkspaces-v1.rst b/Code/Mantid/docs/source/algorithms/DiffPeaksWorkspaces-v1.rst
index 067937d7325eeb4efc81ea320533909871c454b9..38eb213b99c53c5dc98d26745122b339edc2be0d 100644
--- a/Code/Mantid/docs/source/algorithms/DiffPeaksWorkspaces-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DiffPeaksWorkspaces-v1.rst
@@ -18,3 +18,5 @@ used, and the matching peak removed from the output before moving onto
 the next RHSWorkspace peak.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DiffractionEventCalibrateDetectors-v1.rst b/Code/Mantid/docs/source/algorithms/DiffractionEventCalibrateDetectors-v1.rst
index bddf2fc17084f5f0e1098d54f601dd3730ff6a29..6989dace535142a370bf21e74d7f782265c51daf 100644
--- a/Code/Mantid/docs/source/algorithms/DiffractionEventCalibrateDetectors-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DiffractionEventCalibrateDetectors-v1.rst
@@ -44,3 +44,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/DiffractionFocussing-v1.rst b/Code/Mantid/docs/source/algorithms/DiffractionFocussing-v1.rst
index 006090cf2b35bde38cf5c93258283cafcb2b274c..368ce4272a5edb9f44364aeaf0af9f586764cb17 100644
--- a/Code/Mantid/docs/source/algorithms/DiffractionFocussing-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DiffractionFocussing-v1.rst
@@ -53,3 +53,5 @@ all; binning can be performed as the very last step.
 .. |Example of RAW GEM data focused across the 5 detector banks| image:: /images/GEM_Focused.png
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DiffractionFocussing-v2.rst b/Code/Mantid/docs/source/algorithms/DiffractionFocussing-v2.rst
index e08095e07b0a2c043fc4a8b6fb2bc07f58146bd2..c101dc18d373b79e7d0c3ba536ed1dd9c3553713 100644
--- a/Code/Mantid/docs/source/algorithms/DiffractionFocussing-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/DiffractionFocussing-v2.rst
@@ -111,3 +111,5 @@ workspaces and only worked with CalFiles.
 .. |Example of RAW GEM data focused across the 5 detector banks| image:: /images/GEM_Focused.png
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Divide-v1.rst b/Code/Mantid/docs/source/algorithms/Divide-v1.rst
index 0a46d9180323d0e2628617be30fa7d06ac605c64..b7a6a5375120c5d3d4ddea6f3a3131b50b3491a0 100644
--- a/Code/Mantid/docs/source/algorithms/Divide-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Divide-v1.rst
@@ -138,3 +138,5 @@ Output:
     The updated Error values are: [ 0.   0.4  0.8  1.2  1.6  2.   2.4  2.8  3.2]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DivideMD-v1.rst b/Code/Mantid/docs/source/algorithms/DivideMD-v1.rst
index e3c2e2c9c575d05cdf461a7983831baf61fdad5e..258ee5dc796b76f22122b176e0756823d0e97070 100644
--- a/Code/Mantid/docs/source/algorithms/DivideMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DivideMD-v1.rst
@@ -33,3 +33,5 @@ The error of :math:`f = a / b` is propagated with
       meaning would be.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DownloadFile-v1.rst b/Code/Mantid/docs/source/algorithms/DownloadFile-v1.rst
index 301f538d03294c2a36a0c775f2f2745959c920af..f584baf1d0fea6ef3897dae2ddb011cf60690e91 100644
--- a/Code/Mantid/docs/source/algorithms/DownloadFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DownloadFile-v1.rst
@@ -63,3 +63,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/DownloadInstrument-v1.rst b/Code/Mantid/docs/source/algorithms/DownloadInstrument-v1.rst
index 66ee5e2361de0e3022a2254efa97c852d0281ef1..051d20ce1045289b872c0dde2f9ab1479bf50461 100644
--- a/Code/Mantid/docs/source/algorithms/DownloadInstrument-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DownloadInstrument-v1.rst
@@ -80,3 +80,5 @@ Output:
    The number of files updated was ...
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DownloadRemoteFile-v1.rst b/Code/Mantid/docs/source/algorithms/DownloadRemoteFile-v1.rst
index 024e71402e81b8d283a5ba5cdbcefdf2a206517c..baafb5ea5c99109b97878fd8f2045e2bb84c8eef 100644
--- a/Code/Mantid/docs/source/algorithms/DownloadRemoteFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/DownloadRemoteFile-v1.rst
@@ -15,3 +15,5 @@ For more details, see the `remote job submission API
 docs <http://www.mantidproject.org/Remote_Job_Submission_API>`_.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/DownloadRemoteFile-v2.rst b/Code/Mantid/docs/source/algorithms/DownloadRemoteFile-v2.rst
index 7aa0d0022b01dcd68232132e2ac1f0a0f6efb81f..11687fb4cf839a14bab989081118bd65b5a0b2d0 100644
--- a/Code/Mantid/docs/source/algorithms/DownloadRemoteFile-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/DownloadRemoteFile-v2.rst
@@ -32,3 +32,5 @@ the compute resource uses the Mantid remote job submission API as job
 manager (underlying remote job scheduling mechanism).
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/EQSANSAzimuthalAverage1D-v1.rst b/Code/Mantid/docs/source/algorithms/EQSANSAzimuthalAverage1D-v1.rst
index 96f5887cad93082bc7462f91705a65e71b825431..e6f083dbe8d52e5ddc08a1e68fbc1112ebca43e7 100644
--- a/Code/Mantid/docs/source/algorithms/EQSANSAzimuthalAverage1D-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EQSANSAzimuthalAverage1D-v1.rst
@@ -32,3 +32,5 @@ acquired in frame-skipping mode or not.
   *_frame_1_Iq* or *_frame_2_Iq*.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/EQSANSDarkCurrentSubtraction-v1.rst b/Code/Mantid/docs/source/algorithms/EQSANSDarkCurrentSubtraction-v1.rst
index 9b3f567a861fa50899afe73df244152923e99b9b..4e7f412815c4fffe355225b48c34a7cb62ee0c30 100644
--- a/Code/Mantid/docs/source/algorithms/EQSANSDarkCurrentSubtraction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EQSANSDarkCurrentSubtraction-v1.rst
@@ -32,3 +32,5 @@ The example above uses the counting time for normalization. If the proton charge
 available, the normalization will be done using the proton charge instead.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/EQSANSDirectBeamTransmission-v1.rst b/Code/Mantid/docs/source/algorithms/EQSANSDirectBeamTransmission-v1.rst
index f5b16b90926dd16ffc8d10980dacc6e8abf87234..21cbc6fb083e9ce708aee73ca9db2ca6b55fe86d 100644
--- a/Code/Mantid/docs/source/algorithms/EQSANSDirectBeamTransmission-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EQSANSDirectBeamTransmission-v1.rst
@@ -12,3 +12,5 @@ Description
 Compute the transmission using the direct beam method on EQSANS
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/EQSANSLoad-v1.rst b/Code/Mantid/docs/source/algorithms/EQSANSLoad-v1.rst
index 43d1ced9dcc3a9ead8472a7f2251fd74fa856c5a..755d3e89472e2172d17927f83bc670d8d9478515 100644
--- a/Code/Mantid/docs/source/algorithms/EQSANSLoad-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EQSANSLoad-v1.rst
@@ -43,3 +43,5 @@ This algorithm is rarely called directly. It is called by
 .. |LoadEQSANS.png| image:: /images/LoadEQSANS.png
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/EQSANSMonitorTOF-v1.rst b/Code/Mantid/docs/source/algorithms/EQSANSMonitorTOF-v1.rst
index a99f5f50b865e0930dae4b8878766e2ccc8e921e..3c87c117223b94da7cc7bea02d12d5893e7aa3f7 100644
--- a/Code/Mantid/docs/source/algorithms/EQSANSMonitorTOF-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EQSANSMonitorTOF-v1.rst
@@ -17,3 +17,5 @@ This algorithm is rarely called directly. It is called by
 :ref:`EQSANSNormalise <algm-EQSANSNormalise>`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/EQSANSNormalise-v1.rst b/Code/Mantid/docs/source/algorithms/EQSANSNormalise-v1.rst
index a97c1fc3a5c508b03a79cf9baba5a90b0fe8daf6..698fd88ac8a5a9e107f05671eb54e0d14b56ed1a 100644
--- a/Code/Mantid/docs/source/algorithms/EQSANSNormalise-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EQSANSNormalise-v1.rst
@@ -12,3 +12,5 @@ Description
 Normalise detector counts by accelerator current and beam spectrum.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/EQSANSPatchSensitivity-v1.rst b/Code/Mantid/docs/source/algorithms/EQSANSPatchSensitivity-v1.rst
index a4e67a2cd79f95e985d0fe0925ab22b136bd65df..b33bf402a501750cc5a477dc43b2d78fd41758e0 100644
--- a/Code/Mantid/docs/source/algorithms/EQSANSPatchSensitivity-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EQSANSPatchSensitivity-v1.rst
@@ -34,3 +34,5 @@ along a given tube, that pixel's sensitivity (Y-value) is set to:
 The output workspace is the patched version of the input workspace.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/EQSANSQ2D-v1.rst b/Code/Mantid/docs/source/algorithms/EQSANSQ2D-v1.rst
index 97365506403a26fa40a0119d06f685205a768f17..ce876f73c0327ef61c0257534d2be3d3a2f37415 100644
--- a/Code/Mantid/docs/source/algorithms/EQSANSQ2D-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EQSANSQ2D-v1.rst
@@ -16,3 +16,5 @@ This algorithm is rarely called directly. It is called by
 :ref:`SANSReduction <algm-SANSReduction>`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/EQSANSResolution-v1.rst b/Code/Mantid/docs/source/algorithms/EQSANSResolution-v1.rst
index c1a3248e227343fed251372cf43e1e387263939c..2bdcc43d8cd8ae67a49ce2fe5f817f2fa95da6d0 100644
--- a/Code/Mantid/docs/source/algorithms/EQSANSResolution-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EQSANSResolution-v1.rst
@@ -41,3 +41,5 @@ This algorithm is generally not called directly. It's called by
 after the calculation of I(Q). It can only be applied to an I(Q) workspace.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/EQSANSTofStructure-v1.rst b/Code/Mantid/docs/source/algorithms/EQSANSTofStructure-v1.rst
index 1d1197d0f7a4829af3c25f988165bddd0793b53a..1316f72372d633707aacb7d64f4ba6b5bb4fbc1b 100644
--- a/Code/Mantid/docs/source/algorithms/EQSANSTofStructure-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EQSANSTofStructure-v1.rst
@@ -21,3 +21,5 @@ This algorithm is rarely called directly. It is called by
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/EditInstrumentGeometry-v1.rst b/Code/Mantid/docs/source/algorithms/EditInstrumentGeometry-v1.rst
index c8c2f6b9f5f7b77272f9ad98720a081fb91fad00..bb6f81fa6eed66441afc9ac52e532ffa2750f719 100644
--- a/Code/Mantid/docs/source/algorithms/EditInstrumentGeometry-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EditInstrumentGeometry-v1.rst
@@ -56,3 +56,5 @@ Instruction
 | ``  to set up the focused detectors' parameters for spectrum 1, 3 and 2.``
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ElasticWindow-v1.rst b/Code/Mantid/docs/source/algorithms/ElasticWindow-v1.rst
index 84d9fc230ce4b60640cfae80b1cbd9bcbb3ee7a9..d4a8a2fad5cf9896c3fc14daef14c74b77008e41 100644
--- a/Code/Mantid/docs/source/algorithms/ElasticWindow-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ElasticWindow-v1.rst
@@ -57,3 +57,5 @@ Usage
     Q2
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ElasticWindowMultiple-v1.rst b/Code/Mantid/docs/source/algorithms/ElasticWindowMultiple-v1.rst
index 67495c84b80094895502dff4d78d91187fe49bc8..3595bcfcbaabb1f2b301b2303b84683ca44f7ffe 100644
--- a/Code/Mantid/docs/source/algorithms/ElasticWindowMultiple-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ElasticWindowMultiple-v1.rst
@@ -81,3 +81,5 @@ Usage
     ELF bin count: 7
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/EnginXCalibrate-v1.rst b/Code/Mantid/docs/source/algorithms/EnginXCalibrate-v1.rst
index 29a834b26111c641262b25b0edf2291db6829631..18dbf66ab8fc09f294037b5c4a6e0040540c6cee 100644
--- a/Code/Mantid/docs/source/algorithms/EnginXCalibrate-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EnginXCalibrate-v1.rst
@@ -37,6 +37,8 @@ workspace with that name, containing the two output parameters.
 
 .. categories::
 
+.. sourcelink::
+
 Usage
 -----
 
diff --git a/Code/Mantid/docs/source/algorithms/EnginXCalibrateFull-v1.rst b/Code/Mantid/docs/source/algorithms/EnginXCalibrateFull-v1.rst
index 904fb24f963669c5e480ad19bbdd3aa9acb944bd..5b6923ce5777f04815e918d5c5b80045452b7c72 100644
--- a/Code/Mantid/docs/source/algorithms/EnginXCalibrateFull-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EnginXCalibrateFull-v1.rst
@@ -61,6 +61,8 @@ pixel.
 
 .. categories::
 
+.. sourcelink::
+
 Usage
 -----
 
diff --git a/Code/Mantid/docs/source/algorithms/EnginXFitPeaks-v1.rst b/Code/Mantid/docs/source/algorithms/EnginXFitPeaks-v1.rst
index 76f2cc5e9e9637fda37aa348ee93ac7ce6dfdb69..823da4493b010bc03eb04009c22c5accf8134104 100644
--- a/Code/Mantid/docs/source/algorithms/EnginXFitPeaks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EnginXFitPeaks-v1.rst
@@ -86,3 +86,5 @@ Output:
    Parameters from the table, Difc: 18400.0, Zero: 46.0
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/EnginXFocus-v1.rst b/Code/Mantid/docs/source/algorithms/EnginXFocus-v1.rst
index ea7d0adce9693f9ee1e8f1663c12e54c52c288df..4a7092d52fd209f6efe83e248a6b9c2e4635e4b6 100644
--- a/Code/Mantid/docs/source/algorithms/EnginXFocus-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EnginXFocus-v1.rst
@@ -55,3 +55,5 @@ Output:
    For TOF of 38619.804 intensity is 17.397
    
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/EqualToMD-v1.rst b/Code/Mantid/docs/source/algorithms/EqualToMD-v1.rst
index 2b9a464fb9824ee3a1952bcc2cc1b53823a05e23..847c6031f09bd62409b31bf9c089ced4b1d6aec3 100644
--- a/Code/Mantid/docs/source/algorithms/EqualToMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EqualToMD-v1.rst
@@ -20,3 +20,5 @@ For a MDHistoWorkspace and a scalar, the operation is performed on each
 element of the output.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/EstimatePeakErrors-v1.rst b/Code/Mantid/docs/source/algorithms/EstimatePeakErrors-v1.rst
index 911eb9adcb33aa45b68b0dce86f815ec11417a45..f4783163738d039bc7cddf7f2b1fefa457fc435a 100644
--- a/Code/Mantid/docs/source/algorithms/EstimatePeakErrors-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EstimatePeakErrors-v1.rst
@@ -36,3 +36,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/EstimateResolutionDiffraction-v1.rst b/Code/Mantid/docs/source/algorithms/EstimateResolutionDiffraction-v1.rst
index 701da1d9791f9b0a15a62e077706791bf545426c..0e0e63f0b766cc81055c4c93910660fc710336ec 100644
--- a/Code/Mantid/docs/source/algorithms/EstimateResolutionDiffraction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EstimateResolutionDiffraction-v1.rst
@@ -89,3 +89,5 @@ Output:
 .. seealso :: Algorithms :ref:`algm-CalibrateRectangularDetectors` and :ref:`algm-GetDetOffsetsMultiPeaks`
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/EvaluateFunction-v1.rst b/Code/Mantid/docs/source/algorithms/EvaluateFunction-v1.rst
index 310b225cb1bfc8e001c2b218cb040ad8e6e797b7..dd4e3d51322ecfe56127ab95d44f4a5318d04bea 100644
--- a/Code/Mantid/docs/source/algorithms/EvaluateFunction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EvaluateFunction-v1.rst
@@ -38,3 +38,5 @@ Usage
     out = EvaluateFunction('name=UserFunctionMD,Formula=sin(x)*sin(y)','ws')
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/EvaluateMDFunction-v1.rst b/Code/Mantid/docs/source/algorithms/EvaluateMDFunction-v1.rst
index df5efd85d898f7dd41c952157ccb8a074a241cc6..9461445e1f602fd8c1d107e06885324ee67b2da9 100644
--- a/Code/Mantid/docs/source/algorithms/EvaluateMDFunction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/EvaluateMDFunction-v1.rst
@@ -54,3 +54,5 @@ Output
   Dim3
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ExaminePowderDiffProfile-v1.rst b/Code/Mantid/docs/source/algorithms/ExaminePowderDiffProfile-v1.rst
index 606f47ddd46a06d6c11bfc623a1b7670d2f52208..190f1c0d662e64bc21912609233d7c669835f125 100644
--- a/Code/Mantid/docs/source/algorithms/ExaminePowderDiffProfile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ExaminePowderDiffProfile-v1.rst
@@ -68,3 +68,5 @@ Output:
   Output workspace has 9 spectra
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Exponential-v1.rst b/Code/Mantid/docs/source/algorithms/Exponential-v1.rst
index 6320b29d89c45a0edc453e9ece6c1bab23bb0ef7..bd59e56c4b4886912ac0086b693c931ac3fdb53c 100644
--- a/Code/Mantid/docs/source/algorithms/Exponential-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Exponential-v1.rst
@@ -47,3 +47,5 @@ Output
   True
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ExponentialCorrection-v1.rst b/Code/Mantid/docs/source/algorithms/ExponentialCorrection-v1.rst
index 9971ff79a44777a30d816d7089363392d8911b5e..dc5d025c76d70be56c82a25d76108bc1fa191cfc 100644
--- a/Code/Mantid/docs/source/algorithms/ExponentialCorrection-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ExponentialCorrection-v1.rst
@@ -45,3 +45,5 @@ Output:
     The first Y value after multiply correction is: 3.08892013345e-131
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ExponentialMD-v1.rst b/Code/Mantid/docs/source/algorithms/ExponentialMD-v1.rst
index 34b901290fb46f4fae897f75e189548e13ed0270..2076609d36e4e3b8d68f910cc143184d7ccbcc60 100644
--- a/Code/Mantid/docs/source/algorithms/ExponentialMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ExponentialMD-v1.rst
@@ -21,3 +21,5 @@ This algorithm cannot be run on a
 :ref:`algm-Exponential`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ExportExperimentLog-v1.rst b/Code/Mantid/docs/source/algorithms/ExportExperimentLog-v1.rst
index 576654901c6dc9e8a57965397aacc4e0a92b93c5..29662f0fb2cbac9053b1cf8fc011291bcb74dd08 100644
--- a/Code/Mantid/docs/source/algorithms/ExportExperimentLog-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ExportExperimentLog-v1.rst
@@ -138,4 +138,6 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
 
diff --git a/Code/Mantid/docs/source/algorithms/ExportSampleLogsToCSVFile-v1.rst b/Code/Mantid/docs/source/algorithms/ExportSampleLogsToCSVFile-v1.rst
index a82ed84a8b693d6919f174771c213afa7d1b6f86..9d125f2cbe87e54576d924525613a98dab75f5a3 100644
--- a/Code/Mantid/docs/source/algorithms/ExportSampleLogsToCSVFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ExportSampleLogsToCSVFile-v1.rst
@@ -130,3 +130,5 @@ Output:
    Number of lines in Header file = 3
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ExportTimeSeriesLog-v1.rst b/Code/Mantid/docs/source/algorithms/ExportTimeSeriesLog-v1.rst
index 380e0da7a78405cb78324acba891f35dfe0c460d..ce1e60b4e32604b07ef70708ec89285d5c75e1d3 100644
--- a/Code/Mantid/docs/source/algorithms/ExportTimeSeriesLog-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ExportTimeSeriesLog-v1.rst
@@ -109,3 +109,5 @@ Output:
   Number of events = 40
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ExtractFFTSpectrum-v1.rst b/Code/Mantid/docs/source/algorithms/ExtractFFTSpectrum-v1.rst
index 7113ca73a4e4c6d165d91356dc9f15055d28e70a..a1509a1f2091277bcb8b1abe72fdd2b4e8be8169 100644
--- a/Code/Mantid/docs/source/algorithms/ExtractFFTSpectrum-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ExtractFFTSpectrum-v1.rst
@@ -95,3 +95,5 @@ Output:
     Theoretical Sigma = 1/(2*pi*sigma)=3.183 -- Fitted Sigma value is: 3.183
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ExtractMask-v1.rst b/Code/Mantid/docs/source/algorithms/ExtractMask-v1.rst
index 1a053dd9de1f573cf4e3b6a4da6f5047e37e62fb..c5daf4c305987c8492c38c97c90e93f7d073ec0a 100644
--- a/Code/Mantid/docs/source/algorithms/ExtractMask-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ExtractMask-v1.rst
@@ -61,3 +61,5 @@ Output:
     8 True  True
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ExtractMaskToTable-v1.rst b/Code/Mantid/docs/source/algorithms/ExtractMaskToTable-v1.rst
index 6e4548fcdd20d49a7f7d658c6616983b0de78bb8..64b17356e2b10f5252a8e6571858c647332274d1 100644
--- a/Code/Mantid/docs/source/algorithms/ExtractMaskToTable-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ExtractMaskToTable-v1.rst
@@ -109,3 +109,5 @@ Output:
   Row 2: Xmin = 12300.00000, Xmax = 24500.00000, DetectorIDsList =  27599-27698.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ExtractMonitorWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/ExtractMonitorWorkspace-v1.rst
index 89d10164dd5408be414faf759fe3ca23a9fc199c..0185717cdffeccf2a6d527dbcf3d703b218591ef 100644
--- a/Code/Mantid/docs/source/algorithms/ExtractMonitorWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ExtractMonitorWorkspace-v1.rst
@@ -30,6 +30,8 @@ Usage
 
 .. categories::
 
+.. sourcelink::
+
 
 
 
diff --git a/Code/Mantid/docs/source/algorithms/ExtractSingleSpectrum-v1.rst b/Code/Mantid/docs/source/algorithms/ExtractSingleSpectrum-v1.rst
index 36b141c527a68393e69d1efd7d8b0462e51f63ba..d53f48d9b63b3aa251875c0c95b4d5cf8a9f4bc4 100644
--- a/Code/Mantid/docs/source/algorithms/ExtractSingleSpectrum-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ExtractSingleSpectrum-v1.rst
@@ -45,3 +45,5 @@ Output:
     [  0.3   0.3   0.3   0.3   0.3  10.3   0.3   0.3   0.3   0.3]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ExtractSpectra-v1.rst b/Code/Mantid/docs/source/algorithms/ExtractSpectra-v1.rst
index 12057c11f370824e199d6d216195cd4b25bb15c0..17d925e805944a17493a1ede314bacf59b9610a4 100644
--- a/Code/Mantid/docs/source/algorithms/ExtractSpectra-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ExtractSpectra-v1.rst
@@ -43,3 +43,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/FFT-v1.rst b/Code/Mantid/docs/source/algorithms/FFT-v1.rst
index 8324c5ce746d3b4c2dd2822aa47954cb1497c1e4..0fabcf47df91bcddf2c20525fe1b30d25981610b 100644
--- a/Code/Mantid/docs/source/algorithms/FFT-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FFT-v1.rst
@@ -178,3 +178,7 @@ for the real (0), imaginary (1) parts, and the modulus (2).
 +-------------------+------------------+
 
 .. categories::
+
+.. sourcelink::
+    :h: Framework/Algorithms/inc/MantidAlgorithms/FFT.h
+    :cpp: Framework/Algorithms/src/FFT.cpp
\ No newline at end of file
diff --git a/Code/Mantid/docs/source/algorithms/FFTDerivative-v1.rst b/Code/Mantid/docs/source/algorithms/FFTDerivative-v1.rst
index d69712473789690530179dd45bb6714c3f994ef5..0042962b4b74bda57835c5e9424567d9561ebdd5 100644
--- a/Code/Mantid/docs/source/algorithms/FFTDerivative-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FFTDerivative-v1.rst
@@ -67,3 +67,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FFTSmooth-v1.rst b/Code/Mantid/docs/source/algorithms/FFTSmooth-v1.rst
index 7a4f1b7cf1409197a8d1b3a6e0bb74678e7d353e..b27eed6daf80497c24103281ad5676baea4118ea 100644
--- a/Code/Mantid/docs/source/algorithms/FFTSmooth-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FFTSmooth-v1.rst
@@ -72,3 +72,5 @@ Output:
     90  0.20  0.30 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FFTSmooth-v2.rst b/Code/Mantid/docs/source/algorithms/FFTSmooth-v2.rst
index 5ec9bf76190b6cd79c9b689df509b39d091dbdcb..a1d132f711315cdebba329bf70f637f5a065c3e9 100644
--- a/Code/Mantid/docs/source/algorithms/FFTSmooth-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/FFTSmooth-v2.rst
@@ -153,3 +153,5 @@ Usage
   smooth = FFTSmooth( ws, Filter='Butterworth', Params='5,2', AllSpectra=True )
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FakeISISEventDAE-v1.rst b/Code/Mantid/docs/source/algorithms/FakeISISEventDAE-v1.rst
index afbd288b68fc318dc95c20f9296cbca57e1aa58b..8c5eb452bcfe87e07d0fa45e4f2b9a5beeca9945 100644
--- a/Code/Mantid/docs/source/algorithms/FakeISISEventDAE-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FakeISISEventDAE-v1.rst
@@ -87,3 +87,5 @@ Output:
     The workspace contains ... events
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FakeISISHistoDAE-v1.rst b/Code/Mantid/docs/source/algorithms/FakeISISHistoDAE-v1.rst
index 2e0438300b23a99d077e24cef70057ca30981854..3b61adf99d78c9f9584481388dcbf28bcb58c6ba 100644
--- a/Code/Mantid/docs/source/algorithms/FakeISISHistoDAE-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FakeISISHistoDAE-v1.rst
@@ -81,3 +81,5 @@ Output:
     The workspace contains 100 histograms
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FakeMDEventData-v1.rst b/Code/Mantid/docs/source/algorithms/FakeMDEventData-v1.rst
index 775fbf6898f03a045b7b703a8e6cbd5a92f2bc37..f1ce1a4be7c5c4ed1d3b144653d98a92ab6c677d 100644
--- a/Code/Mantid/docs/source/algorithms/FakeMDEventData-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FakeMDEventData-v1.rst
@@ -110,3 +110,5 @@ on the resulting workspace to create a 3D workspace with L integrated, the outpu
 |
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FilterBadPulses-v1.rst b/Code/Mantid/docs/source/algorithms/FilterBadPulses-v1.rst
index a534468b47b78b5cc84953a2fb5475808955e923..af338711ecedcd3cce06e87bdc5578cb4ac46b8a 100644
--- a/Code/Mantid/docs/source/algorithms/FilterBadPulses-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FilterBadPulses-v1.rst
@@ -45,3 +45,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FilterByLogValue-v1.rst b/Code/Mantid/docs/source/algorithms/FilterByLogValue-v1.rst
index e32d9bbd5d37d90b39c5788ef2affeea7b3b04ea..5f12dab6a6384329314f75c6eaf382d374274ceb 100644
--- a/Code/Mantid/docs/source/algorithms/FilterByLogValue-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FilterByLogValue-v1.rst
@@ -113,3 +113,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FilterByTime-v1.rst b/Code/Mantid/docs/source/algorithms/FilterByTime-v1.rst
index 86c67b84519229d0eed0507b6ef10af03964f37b..3274a8a26f75197a28fee021a829c4938376d4fb 100644
--- a/Code/Mantid/docs/source/algorithms/FilterByTime-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FilterByTime-v1.rst
@@ -67,3 +67,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FilterByXValue-v1.rst b/Code/Mantid/docs/source/algorithms/FilterByXValue-v1.rst
index 23421903481c6a14c3499f2f74ac1c3d73a18a0b..fdfa8866e9e52217890382b7f8f613c04186643c 100644
--- a/Code/Mantid/docs/source/algorithms/FilterByXValue-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FilterByXValue-v1.rst
@@ -58,3 +58,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FilterEvents-v1.rst b/Code/Mantid/docs/source/algorithms/FilterEvents-v1.rst
index f5d1123a894f810f193460ace7aabeb91a29a50c..196e02fd18804cb3fd0f1b497f5e32e587addbdc 100644
--- a/Code/Mantid/docs/source/algorithms/FilterEvents-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FilterEvents-v1.rst
@@ -185,3 +185,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FilterEventsByLogValuePreNexus-v2.rst b/Code/Mantid/docs/source/algorithms/FilterEventsByLogValuePreNexus-v2.rst
index 62c7c96e4b35247f59f8aeba3e46ea63f2870ecd..f561ec03ba6462196d994dfd9949370d738e7b61 100644
--- a/Code/Mantid/docs/source/algorithms/FilterEventsByLogValuePreNexus-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/FilterEventsByLogValuePreNexus-v2.rst
@@ -31,3 +31,6 @@ section of the file; e.g. if these are 1 and 10 respectively only the
 first 10% of the events will be loaded.
 
 .. categories::
+
+.. sourcelink::
+  :filename: FilterEventsByLogValuePreNexus
diff --git a/Code/Mantid/docs/source/algorithms/FilterLogByTime-v1.rst b/Code/Mantid/docs/source/algorithms/FilterLogByTime-v1.rst
index 54f0d0fdf93ad6418422cdae01b72a2b61b83115..864db8bf78f8688a2b351c784ee8d58332134909 100644
--- a/Code/Mantid/docs/source/algorithms/FilterLogByTime-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FilterLogByTime-v1.rst
@@ -81,3 +81,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FilterPeaks-v1.rst b/Code/Mantid/docs/source/algorithms/FilterPeaks-v1.rst
index 9dff1994d5dbc30be10b3c1bb4a466a2f5c544fd..0e2c5e8510f26806ba88a884e7eb2ceb913f6ce7 100644
--- a/Code/Mantid/docs/source/algorithms/FilterPeaks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FilterPeaks-v1.rst
@@ -13,3 +13,5 @@ Filters a :ref:`PeaksWorkspace <PeaksWorkspace>` using a set number of
 queries. Outputs a filtered :ref:`PeaksWorkspace <PeaksWorkspace>`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FindCenterOfMassPosition-v1.rst b/Code/Mantid/docs/source/algorithms/FindCenterOfMassPosition-v1.rst
index 872bbcaf760465dcb3166d0da3041feae451fdcb..089aeba786c3e2a72c6e84e647f42645ee3cdaab 100644
--- a/Code/Mantid/docs/source/algorithms/FindCenterOfMassPosition-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FindCenterOfMassPosition-v1.rst
@@ -51,3 +51,5 @@ Usage
    FindCenterOfMassPosition('workspace', Output='center', Version=1)
    
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FindCenterOfMassPosition-v2.rst b/Code/Mantid/docs/source/algorithms/FindCenterOfMassPosition-v2.rst
index c95d06bd982ab7d075b60edcadf3f0fbb1069eb5..6e52fe5e4c59b50f61134e4523a07ecc2afcf5a2 100644
--- a/Code/Mantid/docs/source/algorithms/FindCenterOfMassPosition-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/FindCenterOfMassPosition-v2.rst
@@ -50,3 +50,5 @@ Usage
    FindCenterOfMassPosition('workspace', Output='center')
    
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FindClusterFaces-v1.rst b/Code/Mantid/docs/source/algorithms/FindClusterFaces-v1.rst
index cf5c1d3d03db4d4acfb797f55016b58307cc75bc..e9dc29408f41256c10c615ae87aebb124827b2dc 100644
--- a/Code/Mantid/docs/source/algorithms/FindClusterFaces-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FindClusterFaces-v1.rst
@@ -30,3 +30,5 @@ MaximumRows that you set, then it will emit a warning, and also, set the
 TruncatedOutput output property to false.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FindDeadDetectors-v1.rst b/Code/Mantid/docs/source/algorithms/FindDeadDetectors-v1.rst
index c2275060fee82de1fa149eadea4fdb0be6b2fc40..b7f410db0688cb9720866081733d07beddf37610 100644
--- a/Code/Mantid/docs/source/algorithms/FindDeadDetectors-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FindDeadDetectors-v1.rst
@@ -72,3 +72,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FindDetectorsInShape-v1.rst b/Code/Mantid/docs/source/algorithms/FindDetectorsInShape-v1.rst
index 5e65929bb2bc3f23588649d5b445a2f1bb007fc6..38b803444cb0a9984e17777fcc3da58f1103eb6c 100644
--- a/Code/Mantid/docs/source/algorithms/FindDetectorsInShape-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FindDetectorsInShape-v1.rst
@@ -64,3 +64,5 @@ Output:
    The wide cylinder contains 64 of the detectors.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FindDetectorsOutsideLimits-v1.rst b/Code/Mantid/docs/source/algorithms/FindDetectorsOutsideLimits-v1.rst
index 2af628378a075cec2db342cca3168ef70e28dfd4..5be1497385c246b69ee2717c3e6db51f29789587 100644
--- a/Code/Mantid/docs/source/algorithms/FindDetectorsOutsideLimits-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FindDetectorsOutsideLimits-v1.rst
@@ -67,3 +67,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FindDetectorsPar-v1.rst b/Code/Mantid/docs/source/algorithms/FindDetectorsPar-v1.rst
index 40d3293f8b2a95b453fc98dfbf4ced361b2cedae..bb6fa2e89a61ed04e9c46bb65101be7e8431e05b 100644
--- a/Code/Mantid/docs/source/algorithms/FindDetectorsPar-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FindDetectorsPar-v1.rst
@@ -113,3 +113,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FindPeakBackground-v1.rst b/Code/Mantid/docs/source/algorithms/FindPeakBackground-v1.rst
index 5137e03ad5a68d1682efc7a1a9908ac257ecc522..74a0ba5dbc1ecad94b04ff36568381c3d47b9d79 100644
--- a/Code/Mantid/docs/source/algorithms/FindPeakBackground-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FindPeakBackground-v1.rst
@@ -33,3 +33,5 @@ by T. |Straaso|, D. Mueter, H. O. |Sorensen| and J. Als-Nielsen Strass
    :trim:
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FindPeaks-v1.rst b/Code/Mantid/docs/source/algorithms/FindPeaks-v1.rst
index c7e6cc50cf994e80d140d00113b6c4dedb6322b1..42a3d9c34aec51e419d3d21839b6505786413603 100644
--- a/Code/Mantid/docs/source/algorithms/FindPeaks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FindPeaks-v1.rst
@@ -112,3 +112,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FindPeaksMD-v1.rst b/Code/Mantid/docs/source/algorithms/FindPeaksMD-v1.rst
index 6f085274443e5144848c4ea056f4b5bf50fe067a..58a5abbdbb4578bd65b9d097ecd103c5cbb9b704 100644
--- a/Code/Mantid/docs/source/algorithms/FindPeaksMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FindPeaksMD-v1.rst
@@ -115,3 +115,5 @@ file is availible in `Mantid system tests repository <https://github.com/mantidp
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FindReflectometryLines-v1.rst b/Code/Mantid/docs/source/algorithms/FindReflectometryLines-v1.rst
index 2ebb2e3fce444d560daf6e109691833d739bc200..600b75086d78b2a9c275f1752be96f0be15cf63b 100644
--- a/Code/Mantid/docs/source/algorithms/FindReflectometryLines-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FindReflectometryLines-v1.rst
@@ -46,3 +46,5 @@ Output:
     Transmission Spectrum Number 2
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FindSXPeaks-v1.rst b/Code/Mantid/docs/source/algorithms/FindSXPeaks-v1.rst
index 539ac52193853136d357fe0d06cc69f727a89d11..44f8018f8f413ff2a6af425df3c9ca26958b8fa7 100644
--- a/Code/Mantid/docs/source/algorithms/FindSXPeaks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FindSXPeaks-v1.rst
@@ -43,3 +43,5 @@ Output:
    Peaks found: 174
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FindUBUsingFFT-v1.rst b/Code/Mantid/docs/source/algorithms/FindUBUsingFFT-v1.rst
index a42a25652ab907b425f89003e364888706346f6f..dc20e3e9c9ef43c6d6120168f7e299693bf06079 100644
--- a/Code/Mantid/docs/source/algorithms/FindUBUsingFFT-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FindUBUsingFFT-v1.rst
@@ -66,3 +66,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FindUBUsingIndexedPeaks-v1.rst b/Code/Mantid/docs/source/algorithms/FindUBUsingIndexedPeaks-v1.rst
index 4e8ee793dce41b55f1e401981d3ab0bfa045dd40..14c934b71399f50fa3f5e3e88a6cfcb87f684057 100644
--- a/Code/Mantid/docs/source/algorithms/FindUBUsingIndexedPeaks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FindUBUsingIndexedPeaks-v1.rst
@@ -47,3 +47,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FindUBUsingLatticeParameters-v1.rst b/Code/Mantid/docs/source/algorithms/FindUBUsingLatticeParameters-v1.rst
index 6d01d2d6f8412d3f391bffc12da8311d0b9e6f9d..f67ed4fdad26ab510e308279a81eb767d24ca3bf 100644
--- a/Code/Mantid/docs/source/algorithms/FindUBUsingLatticeParameters-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FindUBUsingLatticeParameters-v1.rst
@@ -68,3 +68,5 @@ Output:
      [-0.05749773  0.03223779 -0.02737294]]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FindUBUsingMinMaxD-v1.rst b/Code/Mantid/docs/source/algorithms/FindUBUsingMinMaxD-v1.rst
index 3be0989f3203c2c11afcaa9832df4f995694ab18..f8377400779c982ac8690c31fa6a54b8db20dfeb 100644
--- a/Code/Mantid/docs/source/algorithms/FindUBUsingMinMaxD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FindUBUsingMinMaxD-v1.rst
@@ -54,3 +54,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Fit-v1.rst b/Code/Mantid/docs/source/algorithms/Fit-v1.rst
index 25b0315a012d9b0818b0210dde62b059198bd1c7..2fe35d7de4c0e2c3f30daae60fcc12b9138fd77f 100644
--- a/Code/Mantid/docs/source/algorithms/Fit-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Fit-v1.rst
@@ -326,3 +326,7 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
+ :h: Framework/CurveFitting/inc/MantidCurveFitting/Fit.h
+ :cpp: Framework/CurveFitting/src/Fit.cpp
\ No newline at end of file
diff --git a/Code/Mantid/docs/source/algorithms/FitPeak-v1.rst b/Code/Mantid/docs/source/algorithms/FitPeak-v1.rst
index d3847ba8e9a6de9548afcb1b85a8b5d067c3c4a2..1290d06595ad6847c05ee8493ccbdc35fd2115c7 100644
--- a/Code/Mantid/docs/source/algorithms/FitPeak-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FitPeak-v1.rst
@@ -162,3 +162,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FitPowderDiffPeaks-v1.rst b/Code/Mantid/docs/source/algorithms/FitPowderDiffPeaks-v1.rst
index 6905b0a41e4a3e5bb6e61e16f672c1620eef9910..f33f53b52adc31d64fda8d284f429e9cc3d7d4ac 100644
--- a/Code/Mantid/docs/source/algorithms/FitPowderDiffPeaks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FitPowderDiffPeaks-v1.rst
@@ -176,3 +176,5 @@ Output:
   Peak @ d = 0.95366, TOF_0 = 21540.56129, A = 0.12770, B = 0.08669, Sigma = 8.26518
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FitResolutionConvolvedModel-v1.rst b/Code/Mantid/docs/source/algorithms/FitResolutionConvolvedModel-v1.rst
index d126844d6577117c6f9816841443a34c175a5c18..2d8770ff4f101fb34cd88a979eaf9a4c54557db7 100644
--- a/Code/Mantid/docs/source/algorithms/FitResolutionConvolvedModel-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FitResolutionConvolvedModel-v1.rst
@@ -13,3 +13,5 @@ Fits a dataset using a resolution function convolved with a foreground
 model
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FixGSASInstrumentFile-v1.rst b/Code/Mantid/docs/source/algorithms/FixGSASInstrumentFile-v1.rst
index deff928a2e29f6e4638a7c35a2a27f3d3499c8c7..1080a5e13052d9537e58c56ad62393a0fea6537b 100644
--- a/Code/Mantid/docs/source/algorithms/FixGSASInstrumentFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FixGSASInstrumentFile-v1.rst
@@ -57,3 +57,5 @@ Output:
   Corrected File: Number of lines that are not equal to 80 characters =  0
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FlatPlateAbsorption-v1.rst b/Code/Mantid/docs/source/algorithms/FlatPlateAbsorption-v1.rst
index ef8c3987d973f04d30e33861ad46dfcdf0a7fa73..22219abe2ef404f7dfa1494f32494a433a7a131c 100644
--- a/Code/Mantid/docs/source/algorithms/FlatPlateAbsorption-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FlatPlateAbsorption-v1.rst
@@ -54,3 +54,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FlatPlatePaalmanPingsCorrection-v1.rst b/Code/Mantid/docs/source/algorithms/FlatPlatePaalmanPingsCorrection-v1.rst
index 47da311b90228afe23bd4799a76b12cdb1e909a9..f0f129c6e31aee97d919574b7b9c5c0c204385f0 100644
--- a/Code/Mantid/docs/source/algorithms/FlatPlatePaalmanPingsCorrection-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FlatPlatePaalmanPingsCorrection-v1.rst
@@ -64,3 +64,5 @@ Output:
     Correction workspaces: corr_ass, corr_assc, corr_acsc, corr_acc
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/FuryFitMultiple-v1.rst b/Code/Mantid/docs/source/algorithms/FuryFitMultiple-v1.rst
index bd5498168388bab68754f09ee806940fa44cf3e6..9b4f609532344889888be5bf2827a49d51e9494f 100644
--- a/Code/Mantid/docs/source/algorithms/FuryFitMultiple-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/FuryFitMultiple-v1.rst
@@ -41,3 +41,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GatherWorkspaces-v1.rst b/Code/Mantid/docs/source/algorithms/GatherWorkspaces-v1.rst
index 2e2aeefd5b0cd9fa7134146e9557e063e6656c1f..3e58b64aef50be660ed550ac2195a2e57d776df3 100644
--- a/Code/Mantid/docs/source/algorithms/GatherWorkspaces-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/GatherWorkspaces-v1.rst
@@ -16,3 +16,5 @@ It is up to the caller to ensure this results in the required ordering.
 Furthermore, there are all sorts of things that ought to be consistent for this algorithm to make sense (e.g. the instrument). The general philosophy, though, is to leave the responsibility for this to the user and only check the vital things (i.e. that the number of bins is consistent).
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GeneralisedSecondDifference-v1.rst b/Code/Mantid/docs/source/algorithms/GeneralisedSecondDifference-v1.rst
index a17dcbebb7cb6eee9a9886c4df8006540d5c3972..482f862c3d3f8a83a4be2a7cb3eb0bdb60ef8b7d 100644
--- a/Code/Mantid/docs/source/algorithms/GeneralisedSecondDifference-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/GeneralisedSecondDifference-v1.rst
@@ -41,3 +41,5 @@ Output:
    Peak at 15.0
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GenerateEventsFilter-v1.rst b/Code/Mantid/docs/source/algorithms/GenerateEventsFilter-v1.rst
index 207d22da111a534036212e64237212d3c8bc7509..4b56145661e6b2364206b0225c29b97448fde5d9 100644
--- a/Code/Mantid/docs/source/algorithms/GenerateEventsFilter-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/GenerateEventsFilter-v1.rst
@@ -256,3 +256,5 @@ Output:
     Number of rows in second TableWorkspace = 9
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GenerateGroupingPowder-v1.rst b/Code/Mantid/docs/source/algorithms/GenerateGroupingPowder-v1.rst
index cd85298cd80da7e0c661c985e58c338153381139..24ee9251e019dd0ffcd3cc0d8e7910628787fb20 100644
--- a/Code/Mantid/docs/source/algorithms/GenerateGroupingPowder-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/GenerateGroupingPowder-v1.rst
@@ -69,3 +69,5 @@ If one would use LoadDetectorsGroupingFile on powder.xml one would get a workspa
    :alt: GenerateGroupingPowder.png
    
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GenerateGroupingSNSInelastic-v1.rst b/Code/Mantid/docs/source/algorithms/GenerateGroupingSNSInelastic-v1.rst
index 7a18f450cfbd6de20f3758726f94d22a42485a56..1fb585687f5814fa670228d53f43d8d52e2bcfc1 100644
--- a/Code/Mantid/docs/source/algorithms/GenerateGroupingSNSInelastic-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/GenerateGroupingSNSInelastic-v1.rst
@@ -59,3 +59,5 @@ If one would use LoadDetectorsGroupingFile on cncs.xml one would get a workspace
    :alt: GenerateGroupingSNSInelastic.png
     
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GeneratePeaks-v1.rst b/Code/Mantid/docs/source/algorithms/GeneratePeaks-v1.rst
index 669176b61ab2281060c859d58a21b358bc9de266..66671e59a16106199db8cda51731e7e8b7701e56 100644
--- a/Code/Mantid/docs/source/algorithms/GeneratePeaks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/GeneratePeaks-v1.rst
@@ -160,3 +160,5 @@ Output:
   X = 0.950000, Y = 15.642332
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GeneratePythonScript-v1.rst b/Code/Mantid/docs/source/algorithms/GeneratePythonScript-v1.rst
index a65f4d025222989453a7d1b712a66359d5deacc4..1c552af835618ebbaf3e23886f27c31302dedc79 100644
--- a/Code/Mantid/docs/source/algorithms/GeneratePythonScript-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/GeneratePythonScript-v1.rst
@@ -151,3 +151,5 @@ Output:
     removeFiles(['myscript.py'])
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GetDetOffsetsMultiPeaks-v1.rst b/Code/Mantid/docs/source/algorithms/GetDetOffsetsMultiPeaks-v1.rst
index 9c0fde0e19174dd89c99dc9f126ef83bcef0a77c..96c447ba9ec3aad5041e925a53c5be71f1705a35 100644
--- a/Code/Mantid/docs/source/algorithms/GetDetOffsetsMultiPeaks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/GetDetOffsetsMultiPeaks-v1.rst
@@ -268,3 +268,5 @@ Output
 .. seealso :: Algorithm :ref:`algm-EstimateResolutionDiffraction`
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GetDetectorOffsets-v1.rst b/Code/Mantid/docs/source/algorithms/GetDetectorOffsets-v1.rst
index 1868345facda4032d787ae405bb96df0ad0a391e..e30dc68f7f771f960ad52fae1e4be1088294fa44 100644
--- a/Code/Mantid/docs/source/algorithms/GetDetectorOffsets-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/GetDetectorOffsets-v1.rst
@@ -78,3 +78,5 @@ Output
   os.remove( calFilePath )
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GetEi-v1.rst b/Code/Mantid/docs/source/algorithms/GetEi-v1.rst
index 82845da4cbe0bc351b4d6c3aa71c40b46e6ae564..f6f69d097d0931201f6322117c223c39016a5c08 100644
--- a/Code/Mantid/docs/source/algorithms/GetEi-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/GetEi-v1.rst
@@ -53,3 +53,5 @@ on one line and that the monitors have the same delay time.
     it is not deprecated.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GetEi-v2.rst b/Code/Mantid/docs/source/algorithms/GetEi-v2.rst
index a96e4b40798d53ec04da6ce25407563a20c35b66..4c0499263a2adbd552edf9531ca11f9c7f99aa3a 100644
--- a/Code/Mantid/docs/source/algorithms/GetEi-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/GetEi-v2.rst
@@ -122,3 +122,5 @@ Output:
     Time Zero = -61.7708018029 microseconds
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GetEiMonDet-v1.rst b/Code/Mantid/docs/source/algorithms/GetEiMonDet-v1.rst
index 2f8b9e473a2a12135f6e1f79a6ef90f7b8feee74..c9c6d867cfc04936c0708cc7f84cd9d2aad3239d 100644
--- a/Code/Mantid/docs/source/algorithms/GetEiMonDet-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/GetEiMonDet-v1.rst
@@ -23,3 +23,5 @@ algorithm. The output of this algorithm is identical to that of
     get a better estimate of Ei. The algorithm might soon be deprecated. 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GetEiT0atSNS-v1.rst b/Code/Mantid/docs/source/algorithms/GetEiT0atSNS-v1.rst
index 0cdebfdcd4613ccdeb2408c0214fb8e0d13c6961..4b5ff2cf16ce7f2e6b982bd88ebf354614c9d57d 100644
--- a/Code/Mantid/docs/source/algorithms/GetEiT0atSNS-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/GetEiT0atSNS-v1.rst
@@ -57,3 +57,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GetSpiceDataRawCountsFromMD-v1.rst b/Code/Mantid/docs/source/algorithms/GetSpiceDataRawCountsFromMD-v1.rst
index 2ec819a44654f93d4f6e4e675097cb1fd64e7d1b..7a010780525009c3e3425f38038f1fb68bc9ef61 100644
--- a/Code/Mantid/docs/source/algorithms/GetSpiceDataRawCountsFromMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/GetSpiceDataRawCountsFromMD-v1.rst
@@ -115,3 +115,5 @@ Output:
   X[60] = 63.23600, Y[60] = 0.00325
   
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GetTimeSeriesLogInformation-v1.rst b/Code/Mantid/docs/source/algorithms/GetTimeSeriesLogInformation-v1.rst
index d60729bc5106f86ac6edfe6887d9321047821987..f27d2d009209de21809791a1155126837c925e3f 100644
--- a/Code/Mantid/docs/source/algorithms/GetTimeSeriesLogInformation-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/GetTimeSeriesLogInformation-v1.rst
@@ -38,3 +38,5 @@ Output:
    Sigma(dt)  10.543
    
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GoniometerAnglesFromPhiRotation-v1.rst b/Code/Mantid/docs/source/algorithms/GoniometerAnglesFromPhiRotation-v1.rst
index 24b309ad6f68459b2a17a7cc024a94f978d2191c..62223d4781cba432ba87e3e75ad6d9529ff333fb 100644
--- a/Code/Mantid/docs/source/algorithms/GoniometerAnglesFromPhiRotation-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/GoniometerAnglesFromPhiRotation-v1.rst
@@ -44,3 +44,5 @@ Output:
    Chi: 90.0, Omega: 90.0, Indexed: 300, AvErrIndex: 0.2114 AvErrAll: 0.2114
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GreaterThanMD-v1.rst b/Code/Mantid/docs/source/algorithms/GreaterThanMD-v1.rst
index 6a85b8ec8c72793fe8e248d249a6baf477585440..1b4bfccb9239c108ef0355484b01f022c9d23d04 100644
--- a/Code/Mantid/docs/source/algorithms/GreaterThanMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/GreaterThanMD-v1.rst
@@ -20,3 +20,5 @@ For a MDHistoWorkspace and a scalar, the operation is performed on each
 element of the output.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GroupDetectors-v1.rst b/Code/Mantid/docs/source/algorithms/GroupDetectors-v1.rst
index 5d300deff4c8eeeae048689034ef38b15262928b..f6d278f4303893289b2355898b4ef4a494e24f27 100644
--- a/Code/Mantid/docs/source/algorithms/GroupDetectors-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/GroupDetectors-v1.rst
@@ -264,3 +264,5 @@ Output
   Number of detectors is 1
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GroupDetectors-v2.rst b/Code/Mantid/docs/source/algorithms/GroupDetectors-v2.rst
index 0bc2cf7258e491b6a52ac28c25fe6178a48ea3c7..23630d37e363905ace50552195854ed64fbda7e6 100644
--- a/Code/Mantid/docs/source/algorithms/GroupDetectors-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/GroupDetectors-v2.rst
@@ -514,3 +514,5 @@ Output:
    [ 10.]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/GroupWorkspaces-v1.rst b/Code/Mantid/docs/source/algorithms/GroupWorkspaces-v1.rst
index 00f09a58c25393b6f50b8837c9ab98fb314a71b9..5890d1ef58c11680ae561418c16820ff658a5c39 100644
--- a/Code/Mantid/docs/source/algorithms/GroupWorkspaces-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/GroupWorkspaces-v1.rst
@@ -41,3 +41,5 @@ Output
   Its second item is ws2
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/HFIRDarkCurrentSubtraction-v1.rst b/Code/Mantid/docs/source/algorithms/HFIRDarkCurrentSubtraction-v1.rst
index ecdd6ac52fa2549ac2977471f93dfdfc93c1e2aa..1fa07f3cabb735527478f8635962705286271e78 100644
--- a/Code/Mantid/docs/source/algorithms/HFIRDarkCurrentSubtraction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/HFIRDarkCurrentSubtraction-v1.rst
@@ -31,3 +31,5 @@ where the T-values are the counting times for the data set and the dark current
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/HFIRLoad-v1.rst b/Code/Mantid/docs/source/algorithms/HFIRLoad-v1.rst
index 592daa1b539313a75d1deed1b276276518047274..606aee6b338472cc982299233375642a0eabdbbd 100644
--- a/Code/Mantid/docs/source/algorithms/HFIRLoad-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/HFIRLoad-v1.rst
@@ -50,3 +50,5 @@ Output:
    SDD = 6000
    
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/HFIRSANSNormalise-v1.rst b/Code/Mantid/docs/source/algorithms/HFIRSANSNormalise-v1.rst
index 7e686dfb97862ca6e106b549619700a6f649bd27..600633def4b162d84204040485d67f254249b259 100644
--- a/Code/Mantid/docs/source/algorithms/HFIRSANSNormalise-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/HFIRSANSNormalise-v1.rst
@@ -30,3 +30,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/HFIRSANSReduction-v1.rst b/Code/Mantid/docs/source/algorithms/HFIRSANSReduction-v1.rst
index fbb2eaa0abc22c3a7b4a9cf56568da2f9f90b052..76fc0da3670304bd68d1bb4ffad9a3f789cded0b 100644
--- a/Code/Mantid/docs/source/algorithms/HFIRSANSReduction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/HFIRSANSReduction-v1.rst
@@ -55,3 +55,5 @@ The workflow proceeds as follows:
 .. |HFIRSANSReduction.png| image:: /images/HFIRSANSReduction.png
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/HRPDSlabCanAbsorption-v1.rst b/Code/Mantid/docs/source/algorithms/HRPDSlabCanAbsorption-v1.rst
index 713fd96ef76db9a0a4378b90783e7adec2246d8b..576fd4d71cb6629b5a026d96615faca06fb06089 100644
--- a/Code/Mantid/docs/source/algorithms/HRPDSlabCanAbsorption-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/HRPDSlabCanAbsorption-v1.rst
@@ -66,3 +66,5 @@ Output:
     The created workspace has one entry for each spectra: 1
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/HasUB-v1.rst b/Code/Mantid/docs/source/algorithms/HasUB-v1.rst
index 189338a056e2a0aa43616f2174acc7899189202c..271542a4af7ecb324cba68811a2f51577f8613de 100644
--- a/Code/Mantid/docs/source/algorithms/HasUB-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/HasUB-v1.rst
@@ -47,3 +47,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/He3TubeEfficiency-v1.rst b/Code/Mantid/docs/source/algorithms/He3TubeEfficiency-v1.rst
index 80bea43849359d0ba35fe2daa78a2d054a4581fe..a211cdd98021c079a566bc7e365ec4e0c488433a 100644
--- a/Code/Mantid/docs/source/algorithms/He3TubeEfficiency-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/He3TubeEfficiency-v1.rst
@@ -64,3 +64,5 @@ Output:
     Corrected counts: [ 417.07353051  139.35837696   83.81566631   60.01187609   46.787726  ]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ILLIN16BCalibration-v1.rst b/Code/Mantid/docs/source/algorithms/ILLIN16BCalibration-v1.rst
index 560c6f7e42c069ca9f6067c5ca41a8a1dbf099d8..223bf01cd4467846fa55417d8825249cd611a321 100644
--- a/Code/Mantid/docs/source/algorithms/ILLIN16BCalibration-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ILLIN16BCalibration-v1.rst
@@ -42,3 +42,5 @@ Output:
     Calibration workspace has 24 spectra and 1 bin(s)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IQTransform-v1.rst b/Code/Mantid/docs/source/algorithms/IQTransform-v1.rst
index 18ce53195b62c5bf1ddd79504f6b2b12bd904d36..377c8adcd42e53919bcfeddc593544bf78a0d1f4 100644
--- a/Code/Mantid/docs/source/algorithms/IQTransform-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IQTransform-v1.rst
@@ -123,3 +123,5 @@ Output:
    Output X: [  1.   8.  27.]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ISISIndirectDiffractionReduction-v1.rst b/Code/Mantid/docs/source/algorithms/ISISIndirectDiffractionReduction-v1.rst
index 120fa4a9075c982fb105f7ddedaccf2773f2db13..3359ac5852b41d16780aea9c203da4eb0fdfda81 100644
--- a/Code/Mantid/docs/source/algorithms/ISISIndirectDiffractionReduction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ISISIndirectDiffractionReduction-v1.rst
@@ -45,3 +45,5 @@ Output:
     Number of bins: 1935
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ISISIndirectEnergyTransfer-v1.rst b/Code/Mantid/docs/source/algorithms/ISISIndirectEnergyTransfer-v1.rst
index c0d2f42e1b5f8cfbb3ea59ab7e3d820e60e5fbd5..ee5c57e1b7cb1f74728b728724294290a4968ed2 100644
--- a/Code/Mantid/docs/source/algorithms/ISISIndirectEnergyTransfer-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ISISIndirectEnergyTransfer-v1.rst
@@ -45,3 +45,5 @@ Output:
    IRS21360_graphite002_red
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IdentifyNoisyDetectors-v1.rst b/Code/Mantid/docs/source/algorithms/IdentifyNoisyDetectors-v1.rst
index a48ebf4324d853fee70f12b5d5efeef4556eb844..0d02bb2c84c9719b4eec4c5bd38f6db4a1cd0928 100644
--- a/Code/Mantid/docs/source/algorithms/IdentifyNoisyDetectors-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IdentifyNoisyDetectors-v1.rst
@@ -71,3 +71,5 @@ Output:
     15 good spectra left from an original 200.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ImportMDEventWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/ImportMDEventWorkspace-v1.rst
index 7e859a318c57e8c3e6d3b1d78e8656e38ce74455..b840b1ff0e109ca2508028eb3507bcc57f2ca941 100644
--- a/Code/Mantid/docs/source/algorithms/ImportMDEventWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ImportMDEventWorkspace-v1.rst
@@ -98,3 +98,5 @@ Output:
     Workspace type = MDEventWorkspace<MDEvent,2>
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ImportMDHistoWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/ImportMDHistoWorkspace-v1.rst
index 2c6cb12f8efaafd98042024b24f0bde16a6d8019..866d5322023b0265ca1dc6e0ee4c4ee9656668ec 100644
--- a/Code/Mantid/docs/source/algorithms/ImportMDHistoWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ImportMDHistoWorkspace-v1.rst
@@ -86,3 +86,5 @@ Output:
     Error Squared at (1, 2) = 50.41
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IndexPeaks-v1.rst b/Code/Mantid/docs/source/algorithms/IndexPeaks-v1.rst
index ad807f0ed0c0a29b6975e736dd61ab4fb2e7bc80..c425105cc4a7f280ea98946801ffde365deebe7f 100644
--- a/Code/Mantid/docs/source/algorithms/IndexPeaks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IndexPeaks-v1.rst
@@ -53,3 +53,5 @@ Output:
    Number of Indexed Peaks:  147
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IndexSXPeaks-v1.rst b/Code/Mantid/docs/source/algorithms/IndexSXPeaks-v1.rst
index 682bdd0bc92ab135d2c9b675f6aea222cdb6bf82..9ab69a98d8b893b1d8deeb57979de21f14b54246 100644
--- a/Code/Mantid/docs/source/algorithms/IndexSXPeaks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IndexSXPeaks-v1.rst
@@ -31,3 +31,5 @@ Usage
     :ref:`FindPeaksMD <algm-FindPeaksMD>`
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IndirectAnnulusAbsorption-v1.rst b/Code/Mantid/docs/source/algorithms/IndirectAnnulusAbsorption-v1.rst
index 2f1343fcdcf645d6de0258c38027a3b4c1bbb9ea..731fa681384464a74a91d102a0345656e50d7803 100644
--- a/Code/Mantid/docs/source/algorithms/IndirectAnnulusAbsorption-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IndirectAnnulusAbsorption-v1.rst
@@ -107,3 +107,5 @@ Usage
   Acc workspace is Attenuation factor against Wavelength
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IndirectCalibration-v1.rst b/Code/Mantid/docs/source/algorithms/IndirectCalibration-v1.rst
index 3286f550878dde55e66429f46b23ec0778c769e3..1dff27bc7d3550a74bf48289b5258b167ad4c72a 100644
--- a/Code/Mantid/docs/source/algorithms/IndirectCalibration-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IndirectCalibration-v1.rst
@@ -47,3 +47,5 @@ Output:
    Calibration workspace has 1 bin(s) and 51 spectra.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IndirectCylinderAbsorption-v1.rst b/Code/Mantid/docs/source/algorithms/IndirectCylinderAbsorption-v1.rst
index ef2b38b704093025d74550b2c0ede9033bfca67e..4ca238948f611a89aa6be63618807fb5ea638d88 100644
--- a/Code/Mantid/docs/source/algorithms/IndirectCylinderAbsorption-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IndirectCylinderAbsorption-v1.rst
@@ -104,3 +104,5 @@ Usage
    Acc workspace is Attenuation factor against Wavelength
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IndirectFlatPlateAbsorption-v1.rst b/Code/Mantid/docs/source/algorithms/IndirectFlatPlateAbsorption-v1.rst
index 7e83f5ec675d28a666b8a34aedc750e328be1114..69ff254aa4f4335945a43e75e31879c2e9d2ba51 100644
--- a/Code/Mantid/docs/source/algorithms/IndirectFlatPlateAbsorption-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IndirectFlatPlateAbsorption-v1.rst
@@ -107,3 +107,5 @@ Usage
    Acc workspace is Attenuation factor against Wavelength
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IndirectILLReduction-v1.rst b/Code/Mantid/docs/source/algorithms/IndirectILLReduction-v1.rst
index 9acb6607c00a48c1b53063462bb7946a18be4a9e..ec8fcf499d92710b59aea9e7714c00b352143396 100644
--- a/Code/Mantid/docs/source/algorithms/IndirectILLReduction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IndirectILLReduction-v1.rst
@@ -65,3 +65,5 @@ Output:
     Reduced right workspace has 24 spectra
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IndirectResolution-v1.rst b/Code/Mantid/docs/source/algorithms/IndirectResolution-v1.rst
index e6cd028b5b7ee68a14a088a5d688c498a3ab2b0c..4f72b1b0dc528b8ef64d3765d86292f8ead4f851 100644
--- a/Code/Mantid/docs/source/algorithms/IndirectResolution-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IndirectResolution-v1.rst
@@ -46,3 +46,5 @@ Output:
     Number of bins: 175
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IndirectTransmission-v1.rst b/Code/Mantid/docs/source/algorithms/IndirectTransmission-v1.rst
index f705195562b0622f386e41a856ace47894a740b6..54b518bec73db5070329b3871b03101b9bd0e94a 100644
--- a/Code/Mantid/docs/source/algorithms/IndirectTransmission-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IndirectTransmission-v1.rst
@@ -74,3 +74,5 @@ Output:
     Total scattering : 0.565169943961
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IndirectTransmissionMonitor-v1.rst b/Code/Mantid/docs/source/algorithms/IndirectTransmissionMonitor-v1.rst
index 7f9589a7b1298743784320efe00b5f211d0b51e6..a081de39a7f061cbfe56b9da9906d86909c5d0da 100644
--- a/Code/Mantid/docs/source/algorithms/IndirectTransmissionMonitor-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IndirectTransmissionMonitor-v1.rst
@@ -45,3 +45,5 @@ Usage
    sample_ws_Sam, sample_ws_Can, sample_ws_Trans
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IntegrateByComponent-v1.rst b/Code/Mantid/docs/source/algorithms/IntegrateByComponent-v1.rst
index 4b3bc92600f6bda2ab93737c38b503f2ae0d5461..0d6a3d0cbea98afd78ae2c13c7d21ebe431852f0 100644
--- a/Code/Mantid/docs/source/algorithms/IntegrateByComponent-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IntegrateByComponent-v1.rst
@@ -75,3 +75,5 @@ Output:
      - two pixels in different bankss have the same value  True
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IntegrateEllipsoids-v1.rst b/Code/Mantid/docs/source/algorithms/IntegrateEllipsoids-v1.rst
index 28bbc9f39371d863c08494577e5b5af3edea3ffe..6c9b414ca4608dc14e753e00b664a578bc905f07 100644
--- a/Code/Mantid/docs/source/algorithms/IntegrateEllipsoids-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IntegrateEllipsoids-v1.rst
@@ -238,3 +238,5 @@ file is availible in `Mantid system tests repository <https://github.com/mantidp
   
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IntegrateFlux-v1.rst b/Code/Mantid/docs/source/algorithms/IntegrateFlux-v1.rst
index 8fab83650ea9829b6276219c95d0abd96be257b9..9266edd18e894d8df96512db7766b000fc4c6600 100644
--- a/Code/Mantid/docs/source/algorithms/IntegrateFlux-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IntegrateFlux-v1.rst
@@ -41,3 +41,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/IntegrateMDHistoWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/IntegrateMDHistoWorkspace-v1.rst
index 06bac0efb53609183d103dbbb53bee59e5400941..12a7081c2f2366dc768898b86315464f758f5a96 100644
--- a/Code/Mantid/docs/source/algorithms/IntegrateMDHistoWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IntegrateMDHistoWorkspace-v1.rst
@@ -107,3 +107,5 @@ Output:
   
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/IntegratePeakTimeSlices-v1.rst b/Code/Mantid/docs/source/algorithms/IntegratePeakTimeSlices-v1.rst
index 55824d870925470970bfe0431ed691a84b083da5..6d54a0efafc380b13e939586e47dd64ef225baf2 100644
--- a/Code/Mantid/docs/source/algorithms/IntegratePeakTimeSlices-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IntegratePeakTimeSlices-v1.rst
@@ -62,3 +62,5 @@ Usage
     print "Intensity and SigmaIntensity of peak 0  = ",int,sig
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IntegratePeaksHybrid-v1.rst b/Code/Mantid/docs/source/algorithms/IntegratePeaksHybrid-v1.rst
index d72de7af49c15bb076eb30119459cc15d56da7e0..ce322bc845ad3ce4031f917f7afd9d79667f2452 100644
--- a/Code/Mantid/docs/source/algorithms/IntegratePeaksHybrid-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IntegratePeaksHybrid-v1.rst
@@ -73,3 +73,5 @@ Usage
    integrated_peaks, cluster_images = IntegratePeaksHybrid(InputWorkspace=mdew, PeaksWorkspace=peaks, BackgroundOuterRadius=0.4)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IntegratePeaksMD-v1.rst b/Code/Mantid/docs/source/algorithms/IntegratePeaksMD-v1.rst
index 1ab1f93e6b2db827964e4a93d771d397925499ff..b0fb9c10c7579bf2aef89a03d71a94d589cd94c4 100644
--- a/Code/Mantid/docs/source/algorithms/IntegratePeaksMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IntegratePeaksMD-v1.rst
@@ -16,3 +16,5 @@ The V1 of the algorithm is deprecated and left for compartibility with the scrip
 *CoordinatesToUse* set. Use :ref:`algm-IntegratePeaksMD-v2` for any new scripts.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IntegratePeaksMD-v2.rst b/Code/Mantid/docs/source/algorithms/IntegratePeaksMD-v2.rst
index 20ec4aae8a90ee567c814fd446119c9c6716dd14..c77e93d6eec4a7bbbf986e8c0f78434171bed2b2 100644
--- a/Code/Mantid/docs/source/algorithms/IntegratePeaksMD-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/IntegratePeaksMD-v2.rst
@@ -195,3 +195,5 @@ file is availible in `Mantid system tests repository <https://github.com/mantidp
    |     3132  |  1218594  |    0.000  |    0.000  |    0.000  |    1.016  |   79.240  | 4740.921  |    0.776  | 2999.159  |   35.467  |  901.000  | bank18    |   34.000  |  152.000  | [4.9551,3.59367,5.30453]  | [7.96049,1.19466,0.899379]  |
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/IntegratePeaksUsingClusters-v1.rst b/Code/Mantid/docs/source/algorithms/IntegratePeaksUsingClusters-v1.rst
index 1d6e1510eee73f3194a6807d7c07bdddd26b87a4..633e94fc34ce0315166505502806c3f9d49014c4 100644
--- a/Code/Mantid/docs/source/algorithms/IntegratePeaksUsingClusters-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/IntegratePeaksUsingClusters-v1.rst
@@ -108,3 +108,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Integration-v1.rst b/Code/Mantid/docs/source/algorithms/Integration-v1.rst
index bfc0e907c7dcff5fa017a3e639e7780b806b0433..efef5dda4c525255c86d7cd218b02ac778f93460 100644
--- a/Code/Mantid/docs/source/algorithms/Integration-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Integration-v1.rst
@@ -42,12 +42,12 @@ output will be a :ref:`MatrixWorkspace <MatrixWorkspace>`.
 :ref:`algm-Rebin` is recommended if you want to keep the workspace as an
 EventWorkspace.
 
-**Integraton for event workspaces refers to internal binning, provided by 
+**Integration for event workspaces refers to internal binning, provided by 
 :ref:`algm-Rebin` or load algorithm and may ignore limits, provided as algorithm 
-input.**  For example, attemtp to integrate loaded ISIS event workspace in the 
-range [18000,20000] yields workspace inegrated in the range [0,200000],
+input.**  For example, attempt to integrate loaded ISIS event workspace in the 
+range [18000,20000] yields workspace integrated in the range [0,200000],
 assuming the data were collected in the time range [0,20000]. This happens because
-the event data would have single hisogram workspace bin in range [0,20000].
+the event data would have single histogram workspace bin in range [0,20000].
 To obtain integral in the desired range, user have to :ref:`algm-Rebin` first, 
 and one of the binning intervals have to start from 18000 and another (or the same) 
 end at 20000.
@@ -83,3 +83,7 @@ Output
   Integration range is [ 0.0 , 20000.0 ]
 
 .. categories::
+
+.. sourcelink::
+    :cpp: Framework/Algorithms/src/Integration.cpp
+    :h: Framework/Algorithms/inc/MantidAlgorithms/Integration.h
\ No newline at end of file
diff --git a/Code/Mantid/docs/source/algorithms/InterpolatingRebin-v1.rst b/Code/Mantid/docs/source/algorithms/InterpolatingRebin-v1.rst
index c9950f6cf0e7e387dfa040d4fdda03b64e062daf..7eca9e7ed712bba32e85c69a815bb5f4273509e8 100644
--- a/Code/Mantid/docs/source/algorithms/InterpolatingRebin-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/InterpolatingRebin-v1.rst
@@ -74,3 +74,5 @@ Output:
 For further examples with more complex parameter strings see :ref:`Rebin examples <rebin-usage>`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/InvertMDDim-v1.rst b/Code/Mantid/docs/source/algorithms/InvertMDDim-v1.rst
index 880c7e535b8bfb6dc1ae9be140f2919aeac8c4ce..954b2b1da7b16bc8ba722165d3392723c67c969f 100644
--- a/Code/Mantid/docs/source/algorithms/InvertMDDim-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/InvertMDDim-v1.rst
@@ -64,3 +64,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/InvertMask-v1.rst b/Code/Mantid/docs/source/algorithms/InvertMask-v1.rst
index 0c645186b64b05f89527274f03b78e2e5f0c4001..0ec4f9f9151f4b2c6299e1fae96af866007cebdf 100644
--- a/Code/Mantid/docs/source/algorithms/InvertMask-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/InvertMask-v1.rst
@@ -58,3 +58,5 @@ Output:
   Source Mask workspace # Detectors masked =  32258
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LRPrimaryFraction-v1.rst b/Code/Mantid/docs/source/algorithms/LRPrimaryFraction-v1.rst
index 476f57cd51e1b21b51114827f3c69681763a5cb7..a3e47703b88593bd43a69d87d6ac5fbe4844d714 100644
--- a/Code/Mantid/docs/source/algorithms/LRPrimaryFraction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LRPrimaryFraction-v1.rst
@@ -15,3 +15,5 @@ The primary fraction is the fraction of the counts within a specified range
 that should contain the reflected beam to the total number of counts on the detector. 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LRScalingFactors-v1.rst b/Code/Mantid/docs/source/algorithms/LRScalingFactors-v1.rst
index 5c5e42558ad61c3a8ab8ab19edae9ab299301461..cb585ea707839ab5d06a79ba982e9a57c82e72a3 100644
--- a/Code/Mantid/docs/source/algorithms/LRScalingFactors-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LRScalingFactors-v1.rst
@@ -38,3 +38,5 @@ Here's an example of runs and how they are related to F.
 -  run: 55897, att: 2, s1: 1.05, s2: 0.35 --> F = 55897 / 55896 * 55895 / 55890
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LRSubtractAverageBackground-v1.rst b/Code/Mantid/docs/source/algorithms/LRSubtractAverageBackground-v1.rst
index 9256c1b11db04fbfddb92c3b9b464315effcd090..920fb7fb011eab48506b2b7c804015edbfea27ab 100644
--- a/Code/Mantid/docs/source/algorithms/LRSubtractAverageBackground-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LRSubtractAverageBackground-v1.rst
@@ -13,3 +13,5 @@ Used in the Liquids Reflectometer reduction at the SNS, this algorithm
 compute and subtracts the background from the reflectivity peak. 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LeBailFit-v1.rst b/Code/Mantid/docs/source/algorithms/LeBailFit-v1.rst
index 3d0945b19056729f0e02bea243f94b63d13604da..f99d6824839303df92fad52ea081cb9e9ffb6f9a 100644
--- a/Code/Mantid/docs/source/algorithms/LeBailFit-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LeBailFit-v1.rst
@@ -64,3 +64,5 @@ Further Information
 See `Le Bail Fit <Le Bail Fit>`__.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LessThanMD-v1.rst b/Code/Mantid/docs/source/algorithms/LessThanMD-v1.rst
index 1f0afec3d42acdc5c1e93fc9b42746ff3841a884..380bfbe88460262f45768b8b6d6abcb3e71826f4 100644
--- a/Code/Mantid/docs/source/algorithms/LessThanMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LessThanMD-v1.rst
@@ -20,3 +20,5 @@ For a MDHistoWorkspace and a scalar, the operation is performed on each
 element of the output.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LiquidsRelectometryReduction-v1.rst b/Code/Mantid/docs/source/algorithms/LiquidsRelectometryReduction-v1.rst
index 7403666008f6d574a716136f23c5baab824b273d..16639389fddf38c2aeb8814b4f02ba2934cfeba8 100644
--- a/Code/Mantid/docs/source/algorithms/LiquidsRelectometryReduction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LiquidsRelectometryReduction-v1.rst
@@ -37,3 +37,5 @@ The workflow proceeds as follows:
 12. Rebin the Q axis to the specified binning and crop out the first and last Q point.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Load-v1.rst b/Code/Mantid/docs/source/algorithms/Load-v1.rst
index cf9ac6f0cd6dab1b7ba5d4fcd319ccf2480f5c13..034e707b901ba44b92a1682b4c9bf9e69f7eb00f 100644
--- a/Code/Mantid/docs/source/algorithms/Load-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Load-v1.rst
@@ -96,3 +96,5 @@ Output:
    The number of histograms (spectra) is: 6
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadAscii-v1.rst b/Code/Mantid/docs/source/algorithms/LoadAscii-v1.rst
index e48be06f873c3d6571eb71cfbc0af23f9336e7be..ccc54ae7f350e2f3adb3727307d5a03923debc67 100644
--- a/Code/Mantid/docs/source/algorithms/LoadAscii-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadAscii-v1.rst
@@ -38,3 +38,5 @@ This algorithm cannot load a file created by :ref:`algm-SaveAscii`
 if it has X errors written and several spectra.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadAscii-v2.rst b/Code/Mantid/docs/source/algorithms/LoadAscii-v2.rst
index f03e99398fa040e4b6801da95934db324f6add27..5e8c231fc53d6f2407e9e2c2aafba767660779ff 100644
--- a/Code/Mantid/docs/source/algorithms/LoadAscii-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadAscii-v2.rst
@@ -79,3 +79,5 @@ Output:
    Success!
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadBBY-v1.rst b/Code/Mantid/docs/source/algorithms/LoadBBY-v1.rst
index 95598398e2c76a7d92f47246319c456e28f4cc2e..ab81113c1339fe0c77221366809ac92caad09d54 100644
--- a/Code/Mantid/docs/source/algorithms/LoadBBY-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadBBY-v1.rst
@@ -13,6 +13,8 @@ Load data from the Bilby beamline at ANSTO. The workspace generated is a TOF Eve
 
 .. categories::
 
+.. sourcelink::
+
 Usage
 -----
 
diff --git a/Code/Mantid/docs/source/algorithms/LoadCalFile-v1.rst b/Code/Mantid/docs/source/algorithms/LoadCalFile-v1.rst
index d7e512b55989b9e5c2118a549381cf8588335580..06edd070ca0e8742f8f56daf1b93dde2ada069cd 100644
--- a/Code/Mantid/docs/source/algorithms/LoadCalFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadCalFile-v1.rst
@@ -50,3 +50,5 @@ Output:
     Workspace 4 type = TableWorkspace
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadCanSAS1D-v1.rst b/Code/Mantid/docs/source/algorithms/LoadCanSAS1D-v1.rst
index 97f62e32ae58bc1cea53274c732f5dae8d9726f2..10f1666845005f2d0e502c2c479f1296fc8e3c20 100644
--- a/Code/Mantid/docs/source/algorithms/LoadCanSAS1D-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadCanSAS1D-v1.rst
@@ -53,3 +53,5 @@ Output:
    Contents of the file = [ 9.  5.  7.].
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadCanSAS1D-v2.rst b/Code/Mantid/docs/source/algorithms/LoadCanSAS1D-v2.rst
index d6e674f20361f20f63d81e6fed5562d31452febe..2dfaee2e69e62d1be0c00de597c4608db21b8067 100644
--- a/Code/Mantid/docs/source/algorithms/LoadCanSAS1D-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadCanSAS1D-v2.rst
@@ -52,3 +52,5 @@ Output:
    Contents of the file = [ 9.  5.  7.].
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadDNSLegacy-v1.rst b/Code/Mantid/docs/source/algorithms/LoadDNSLegacy-v1.rst
index ed825958bf18294086397f2a608b9206f8c3c25d..f55151509fa5136112ef1d80c9da5b3025163072 100644
--- a/Code/Mantid/docs/source/algorithms/LoadDNSLegacy-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadDNSLegacy-v1.rst
@@ -37,3 +37,5 @@ Output:
    This workspace has 2 dimensions and has 24 histograms.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadDaveGrp-v1.rst b/Code/Mantid/docs/source/algorithms/LoadDaveGrp-v1.rst
index 58ed70c3eb10813ea9437e15f6319619a743aeed..355da06a843b22dff39958e513742c74f15634d7 100644
--- a/Code/Mantid/docs/source/algorithms/LoadDaveGrp-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadDaveGrp-v1.rst
@@ -14,3 +14,5 @@ been generated at the SNS for all the inelastic beamlines, hence the
 choice in the defaults for the axis units.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadDetectorInfo-v1.rst b/Code/Mantid/docs/source/algorithms/LoadDetectorInfo-v1.rst
index 85f0997ae7e031bc3f4d4832016a3bad9b196246..6407d572fa29388d71db6d907b1e4e99fd795b9a 100644
--- a/Code/Mantid/docs/source/algorithms/LoadDetectorInfo-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadDetectorInfo-v1.rst
@@ -419,3 +419,5 @@ that the first three detectors (monitors) were not touched and the next three we
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/LoadDetectorsGroupingFile-v1.rst b/Code/Mantid/docs/source/algorithms/LoadDetectorsGroupingFile-v1.rst
index 25974962a0baef9546ac442e25a2d876cec118d3..9aa68324fb835710290ee5464600bf87839b17a2 100644
--- a/Code/Mantid/docs/source/algorithms/LoadDetectorsGroupingFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadDetectorsGroupingFile-v1.rst
@@ -231,3 +231,5 @@ Output:
    Spectrum 125 belongs to group 3.0
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadDiffCal-v1.rst b/Code/Mantid/docs/source/algorithms/LoadDiffCal-v1.rst
index dbc8995073dde4807a59e47b3ae3176754efacf1..ab0de5220caba8291074ba92d80d0bf0b0aaac23 100644
--- a/Code/Mantid/docs/source/algorithms/LoadDiffCal-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadDiffCal-v1.rst
@@ -15,3 +15,5 @@ This algorithm loads a :ref:`diffraction calibration workspace
 ``GroupingWorkspace`` from a hdf5 file.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadDspacemap-v1.rst b/Code/Mantid/docs/source/algorithms/LoadDspacemap-v1.rst
index c8f2c1cb124bbd8904b35ecda9a37961eefc3770..84d42a5d39cae793e1f1c45ba7727ca5f8d66da3 100644
--- a/Code/Mantid/docs/source/algorithms/LoadDspacemap-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadDspacemap-v1.rst
@@ -35,3 +35,5 @@ Output:
     Workspace type = OffsetsWorkspace
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadEmptyInstrument-v1.rst b/Code/Mantid/docs/source/algorithms/LoadEmptyInstrument-v1.rst
index 3925a252d12d355d5e3fd02f31b5e9eeb7a54d06..1e5f559136bdcfdbc60d473065f31eff2fd9a538 100644
--- a/Code/Mantid/docs/source/algorithms/LoadEmptyInstrument-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadEmptyInstrument-v1.rst
@@ -40,3 +40,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadEventNexus-v1.rst b/Code/Mantid/docs/source/algorithms/LoadEventNexus-v1.rst
index 39d2b3973ead99af5a19d00a764416baf49bd8b6..df478f2857e59748cabda76545a5e320f16e825c 100644
--- a/Code/Mantid/docs/source/algorithms/LoadEventNexus-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadEventNexus-v1.rst
@@ -87,3 +87,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadEventPreNexus-v1.rst b/Code/Mantid/docs/source/algorithms/LoadEventPreNexus-v1.rst
index 435a520cc65addbf67570519e89dde660800a51b..dce0a4de6679514a2008c7c886cf17d2a1195ae8 100644
--- a/Code/Mantid/docs/source/algorithms/LoadEventPreNexus-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadEventPreNexus-v1.rst
@@ -24,3 +24,5 @@ are guessed at automatically from the neutron filename, if not
 specified.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadEventPreNexus-v2.rst b/Code/Mantid/docs/source/algorithms/LoadEventPreNexus-v2.rst
index f77b7d42fb04092f3162e1b9527be53208262cb0..9a27afe7943ba7331e02fe686873fda4db32e287 100644
--- a/Code/Mantid/docs/source/algorithms/LoadEventPreNexus-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadEventPreNexus-v2.rst
@@ -31,3 +31,5 @@ section of the file; e.g. if these are 1 and 10 respectively only the
 first 10% of the events will be loaded.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadFITS-v1.rst b/Code/Mantid/docs/source/algorithms/LoadFITS-v1.rst
index 11ebc6c5768f5fda89884c1650fbecc31e1691b1..10faa2e600e9ef3c46fa8b019513ea7be5973d9e 100644
--- a/Code/Mantid/docs/source/algorithms/LoadFITS-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadFITS-v1.rst
@@ -155,3 +155,5 @@ Output:
    Number of spectra in the output workspace: 262144
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadFlexiNexus-v1.rst b/Code/Mantid/docs/source/algorithms/LoadFlexiNexus-v1.rst
index ab60538a785ddfc25f82d9b1b3c266c4b800888e..501f490d4c9d989fb22430978ced5681689a4fa7 100644
--- a/Code/Mantid/docs/source/algorithms/LoadFlexiNexus-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadFlexiNexus-v1.rst
@@ -88,3 +88,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadFullprofFile-v1.rst b/Code/Mantid/docs/source/algorithms/LoadFullprofFile-v1.rst
index 799564332b19ccda99513daefb8b4f617c30cfc8..0ebb92e5017ef8560e26218b9a8fa273477a5bce 100644
--- a/Code/Mantid/docs/source/algorithms/LoadFullprofFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadFullprofFile-v1.rst
@@ -114,3 +114,5 @@ Output:
   Peak 75 of (9, 3, 0): Alpha = 0.25569, Beta = 0.13821, FWHM = 14.67480
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadFullprofResolution-v1.rst b/Code/Mantid/docs/source/algorithms/LoadFullprofResolution-v1.rst
index db212fc8db3bddc9ac8d95b992b3a1a501e7fc0a..13ed7d7e49376e4258a017c241958b3e4fcec7e6 100644
--- a/Code/Mantid/docs/source/algorithms/LoadFullprofResolution-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadFullprofResolution-v1.rst
@@ -84,3 +84,5 @@ Output:
    SigmaSquared type = fitting
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadGSASInstrumentFile-v1.rst b/Code/Mantid/docs/source/algorithms/LoadGSASInstrumentFile-v1.rst
index 7e1340f2dfcb57e2e232123000d59cc998967100..36758f817987eb816de4250f3674acf745f2f528 100644
--- a/Code/Mantid/docs/source/algorithms/LoadGSASInstrumentFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadGSASInstrumentFile-v1.rst
@@ -85,3 +85,5 @@ Output:
    SigmaSquared parameter exists:  True
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadGSS-v1.rst b/Code/Mantid/docs/source/algorithms/LoadGSS-v1.rst
index 4dbacfd89201fb5d50dc778da6a94224f0f217fe..9b2162be7288a664bb0b528c3c2639e08df6226c 100644
--- a/Code/Mantid/docs/source/algorithms/LoadGSS-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadGSS-v1.rst
@@ -17,3 +17,5 @@ Two types of GSAS files (.fxye) are supported
 | ``* SLOG``
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadHKL-v1.rst b/Code/Mantid/docs/source/algorithms/LoadHKL-v1.rst
index 255dcf46e5641646f3735d8902d2bdbcb242f5b0..e772121e42ef831f577b8fe3d1330c38838da71d 100644
--- a/Code/Mantid/docs/source/algorithms/LoadHKL-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadHKL-v1.rst
@@ -67,3 +67,5 @@ Usage
     os.remove(filePath)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadIDFFromNexus-v1.rst b/Code/Mantid/docs/source/algorithms/LoadIDFFromNexus-v1.rst
index 632a5783dbdcd587a366b99dbdaace061e0c0768..c2c90b0b65ca33ee5b29c221a192aab71c6930e9 100644
--- a/Code/Mantid/docs/source/algorithms/LoadIDFFromNexus-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadIDFFromNexus-v1.rst
@@ -52,3 +52,5 @@ Output:
    Unmodified component name = both rings
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadILL-v1.rst b/Code/Mantid/docs/source/algorithms/LoadILL-v1.rst
index 7bdc9b5e89e10400f69436849a4ad1c0cf2d43d5..ba201b791ee9635d5a102eada15b7e90cfbea12e 100644
--- a/Code/Mantid/docs/source/algorithms/LoadILL-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadILL-v1.rst
@@ -90,3 +90,5 @@ Output:
 	The Data workspace has 2 dimensions and has 98305 histograms.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadILLAscii-v1.rst b/Code/Mantid/docs/source/algorithms/LoadILLAscii-v1.rst
index 65817267b599ee2b682394510f2567550d8ed33a..21633b51589e74c9db39dbe96baa9113592d934b 100644
--- a/Code/Mantid/docs/source/algorithms/LoadILLAscii-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadILLAscii-v1.rst
@@ -32,3 +32,5 @@ Output:
 	This workspace has 3 dimensions and 409600 events.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadILLIndirect-v1.rst b/Code/Mantid/docs/source/algorithms/LoadILLIndirect-v1.rst
index 2c6fdded0796481735e52bae9fe006ee33546eb2..f1e3bb0cf16654865fd855241e0b810ca37cf83b 100644
--- a/Code/Mantid/docs/source/algorithms/LoadILLIndirect-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadILLIndirect-v1.rst
@@ -33,3 +33,5 @@ Output:
 	This workspace has 2 dimensions and has 2057 histograms.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadILLReflectometry-v1.rst b/Code/Mantid/docs/source/algorithms/LoadILLReflectometry-v1.rst
index 5171caebaeeedc5f3a7dd0dcb1dbff3b31845542..18b662290e935bec4181f684d0cb6872310661dd 100644
--- a/Code/Mantid/docs/source/algorithms/LoadILLReflectometry-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadILLReflectometry-v1.rst
@@ -34,3 +34,5 @@ Output:
 	This workspace has 2 dimensions and has 258 histograms.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadILLSANS-v1.rst b/Code/Mantid/docs/source/algorithms/LoadILLSANS-v1.rst
index 7310cce7dcde4d1630c5ac38a086135a02ad856f..0f6f937e30bdf94e776374cf4fbe5ceb29978e3b 100644
--- a/Code/Mantid/docs/source/algorithms/LoadILLSANS-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadILLSANS-v1.rst
@@ -32,3 +32,5 @@ Output:
 	This workspace has 2 dimensions and has 65538 histograms.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadISISNexus-v2.rst b/Code/Mantid/docs/source/algorithms/LoadISISNexus-v2.rst
index 14688aaa39fd06287975fe14093f6d2281ada371..8edce491dba00f9be23c9a7e8ecfe0d956e97699 100644
--- a/Code/Mantid/docs/source/algorithms/LoadISISNexus-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadISISNexus-v2.rst
@@ -62,3 +62,5 @@ Output:
    The number of histograms (spectra) is: 246
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadInstrument-v1.rst b/Code/Mantid/docs/source/algorithms/LoadInstrument-v1.rst
index 61c8b3720d9fc4d907f8a016ff22a1b486ecbef1..067cba2fadcd8e92e93b27f1ccf3f08112fde97e 100644
--- a/Code/Mantid/docs/source/algorithms/LoadInstrument-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadInstrument-v1.rst
@@ -58,3 +58,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadInstrumentFromNexus-v1.rst b/Code/Mantid/docs/source/algorithms/LoadInstrumentFromNexus-v1.rst
index d1715bac3fcf7a55b21189b94ab4a9f7ac95aee4..476675cffe35e2499bfb0813946bccf444affe7f 100644
--- a/Code/Mantid/docs/source/algorithms/LoadInstrumentFromNexus-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadInstrumentFromNexus-v1.rst
@@ -43,3 +43,5 @@ Output:
    The source postion is at:  [0,-10,0].
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadInstrumentFromRaw-v1.rst b/Code/Mantid/docs/source/algorithms/LoadInstrumentFromRaw-v1.rst
index 14ecdaa6750f0c38e12dedf6f3403d822c1fe5ba..83402d78258ab4aad7f63bbce67537792e33ae9d 100644
--- a/Code/Mantid/docs/source/algorithms/LoadInstrumentFromRaw-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadInstrumentFromRaw-v1.rst
@@ -51,3 +51,5 @@ Output:
    Is detector 8 a monitor? False
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadIsawDetCal-v1.rst b/Code/Mantid/docs/source/algorithms/LoadIsawDetCal-v1.rst
index f258d97268f39ec6ab33e6891a762eb5726d2d72..b6a8d6f23f03123bb27052f03574f08db4c6953e 100644
--- a/Code/Mantid/docs/source/algorithms/LoadIsawDetCal-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadIsawDetCal-v1.rst
@@ -42,3 +42,5 @@ Output:
     Position after LoadDetCal : [0.5,0.167548,-0.167548]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadIsawPeaks-v1.rst b/Code/Mantid/docs/source/algorithms/LoadIsawPeaks-v1.rst
index 63e9d0b0f54a091d901014a219839ae983957cae..6a92e732406551e93f1057e3258a343428b6c45c 100644
--- a/Code/Mantid/docs/source/algorithms/LoadIsawPeaks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadIsawPeaks-v1.rst
@@ -36,3 +36,5 @@ Output:
     Number of peaks entries 36
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadIsawSpectrum-v1.rst b/Code/Mantid/docs/source/algorithms/LoadIsawSpectrum-v1.rst
index 6ded13bf41997fefbbb3cf6e25ae9a932ebba36f..15697d18bfe71e8a1c62024c38e7b23332f3a65e 100644
--- a/Code/Mantid/docs/source/algorithms/LoadIsawSpectrum-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadIsawSpectrum-v1.rst
@@ -60,3 +60,5 @@ Output:
     y= [-0.00471167 -0.00471167 -0.00471187 -0.00471187 -0.00471187 -0.00433439]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadIsawUB-v1.rst b/Code/Mantid/docs/source/algorithms/LoadIsawUB-v1.rst
index 81bdd38d2179e5b2cab01f2d02242ca6847cde0f..1f8aac4809976b959614f0cabba0a7e806f80d86 100644
--- a/Code/Mantid/docs/source/algorithms/LoadIsawUB-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadIsawUB-v1.rst
@@ -75,3 +75,5 @@ Output:
     The following vectors are in the horizontal plane:  [0,0,5] [2,0,0]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadLLB-v1.rst b/Code/Mantid/docs/source/algorithms/LoadLLB-v1.rst
index 15c054d6eb91f4d8ee9389adb0735fd60998bd42..f82fff1d47556e23316ea957d57d2a9711ecb746 100644
--- a/Code/Mantid/docs/source/algorithms/LoadLLB-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadLLB-v1.rst
@@ -34,3 +34,5 @@ Output:
    This workspace has 2 dimensions and its title is: Lysozyme/D2O (c=80 mg/ml) Treg=293 K, Tch=288 K  wl=5.2A  sous pression (4.5 kbar)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadLiveData-v1.rst b/Code/Mantid/docs/source/algorithms/LoadLiveData-v1.rst
index d0e2ce5260f95db0bc15bfac5223e09dd90a1fc2..6f117435643a5fde42538e739f4fa4aeaa97ce9e 100644
--- a/Code/Mantid/docs/source/algorithms/LoadLiveData-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadLiveData-v1.rst
@@ -101,3 +101,5 @@ LoadLiveData is not intended for usage directly, it is part of he process that i
     
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadLog-v1.rst b/Code/Mantid/docs/source/algorithms/LoadLog-v1.rst
index 0462bb351aea84b12afb7e0f7376003edd5f660e..68300da4ed1a5f8bdba6e66dd43afd84e5ed072b 100644
--- a/Code/Mantid/docs/source/algorithms/LoadLog-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadLog-v1.rst
@@ -102,3 +102,5 @@ Output:
     ts2beamcurrent
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadLogPropertyTable-v1.rst b/Code/Mantid/docs/source/algorithms/LoadLogPropertyTable-v1.rst
index 525f616d96ff2ff102d71e4621dd1af6714849a6..e359f22ff0826b58d89b1e2781ddbd3dcdf4a974 100644
--- a/Code/Mantid/docs/source/algorithms/LoadLogPropertyTable-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadLogPropertyTable-v1.rst
@@ -78,3 +78,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadLogsForSNSPulsedMagnet-v1.rst b/Code/Mantid/docs/source/algorithms/LoadLogsForSNSPulsedMagnet-v1.rst
index 1f30311815f5c4d86524e3eda90682b28b8aae1c..ebcd2d46148beaa2cee7a0d54caa2262a09372a0 100644
--- a/Code/Mantid/docs/source/algorithms/LoadLogsForSNSPulsedMagnet-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadLogsForSNSPulsedMagnet-v1.rst
@@ -14,3 +14,5 @@ Description
     This algorithm is deprecated and should not be used.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadMD-v1.rst b/Code/Mantid/docs/source/algorithms/LoadMD-v1.rst
index 8ab2b33e056c368240990d27e6bdbc131d4333d4..24f28172c64aacaf0b4920d1096abc2ef8903566 100644
--- a/Code/Mantid/docs/source/algorithms/LoadMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadMD-v1.rst
@@ -51,3 +51,5 @@ Output:
    Workspace has: 4 dimensions and contains:    0 MD events
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadMappingTable-v1.rst b/Code/Mantid/docs/source/algorithms/LoadMappingTable-v1.rst
index cabd520bab8bfb1d4cd2016a487d460c2293c691..5871864103f6f668c4892894d5edb3633135f6cb 100644
--- a/Code/Mantid/docs/source/algorithms/LoadMappingTable-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadMappingTable-v1.rst
@@ -35,3 +35,5 @@ Usage
   LoadMappingTable('HRP39180.RAW',ws)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadMask-v1.rst b/Code/Mantid/docs/source/algorithms/LoadMask-v1.rst
index eb758a74357decf2625ea715072cfe7819f5d145..33d8258412a079749193b07fa15aa29cf088bf8f 100644
--- a/Code/Mantid/docs/source/algorithms/LoadMask-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadMask-v1.rst
@@ -96,3 +96,5 @@ Output:
     Is detector 20475 masked: True
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadMcStas-v1.rst b/Code/Mantid/docs/source/algorithms/LoadMcStas-v1.rst
index ff1d90b17754767e99c7d28766bf8fccb4310655..81b0bb05edc0ba0daa2b7988ca85056ec685b4d5 100644
--- a/Code/Mantid/docs/source/algorithms/LoadMcStas-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadMcStas-v1.rst
@@ -84,3 +84,5 @@ scattering instruments and experiments visit the McStas homepage http://www.mcst
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadMcStasNexus-v1.rst b/Code/Mantid/docs/source/algorithms/LoadMcStasNexus-v1.rst
index 2678e81e93bdb8478e50da7f8afaf35141af5681..230d0405dbb00b6d96de72c484c0aa061ec68332 100644
--- a/Code/Mantid/docs/source/algorithms/LoadMcStasNexus-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadMcStasNexus-v1.rst
@@ -21,3 +21,5 @@ general usage for simulating neutron scattering instruments and
 experiments visit the McStas homepage http://www.mcstas.org.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadMultipleGSS-v1.rst b/Code/Mantid/docs/source/algorithms/LoadMultipleGSS-v1.rst
index 4fb48a9e03c60d51397c0368c204325831d9a4a3..71e518feb69d48a270a332a2b1747263e65bf79f 100644
--- a/Code/Mantid/docs/source/algorithms/LoadMultipleGSS-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadMultipleGSS-v1.rst
@@ -42,3 +42,5 @@ Output:
     It has 1 histogram, with 731 bins
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadMuonLog-v1.rst b/Code/Mantid/docs/source/algorithms/LoadMuonLog-v1.rst
index 0fec6bd8b5720e603fb2e09354a72e9126ad9766..aa3890b7f5320b41845af5c2a1052c4ecc5a4b8b 100644
--- a/Code/Mantid/docs/source/algorithms/LoadMuonLog-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadMuonLog-v1.rst
@@ -46,3 +46,5 @@ Output:
    The first entry is 50.000000.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadMuonNexus-v1.rst b/Code/Mantid/docs/source/algorithms/LoadMuonNexus-v1.rst
index 0b34dc75d2b168252e01cd4eaf87052e8a21c8bc..acd6e582bb31550062f1022df13e320769f1b1b6 100644
--- a/Code/Mantid/docs/source/algorithms/LoadMuonNexus-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadMuonNexus-v1.rst
@@ -151,3 +151,5 @@ Output:
    [17 32]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadMuonNexus-v2.rst b/Code/Mantid/docs/source/algorithms/LoadMuonNexus-v2.rst
index fdc90996e8124fa1f9d35201b7028ff10483227f..0ca954061e4aad8e1f7858f51b8fbd86d6ad6d88 100644
--- a/Code/Mantid/docs/source/algorithms/LoadMuonNexus-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadMuonNexus-v2.rst
@@ -81,3 +81,5 @@ file it will call the previous version of the algorithm to perform the
 task.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadNXSPE-v1.rst b/Code/Mantid/docs/source/algorithms/LoadNXSPE-v1.rst
index 39b9704aed8bed048cc51c4b327d82e9bee352fa..b9ceaccf93c1d18c39230ca2dd07d3fef538ba19 100644
--- a/Code/Mantid/docs/source/algorithms/LoadNXSPE-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadNXSPE-v1.rst
@@ -22,3 +22,5 @@ Usage
 See :ref:`algm-SaveNXSPE` usage examples where Save and Load NXSPE operations are tested together.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadNexus-v1.rst b/Code/Mantid/docs/source/algorithms/LoadNexus-v1.rst
index 4a220bb66693a782afcfd0f4b120e88d6a466e7a..bb19ae94917cfeacf2e8d44b9e9be11fe9426515 100644
--- a/Code/Mantid/docs/source/algorithms/LoadNexus-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadNexus-v1.rst
@@ -79,3 +79,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadNexusLogs-v1.rst b/Code/Mantid/docs/source/algorithms/LoadNexusLogs-v1.rst
index 4ee796d956cbbc2596f60860e0aecd3699157c22..76afbd861aa57bf98fa0a21fec15e02d2491d992 100644
--- a/Code/Mantid/docs/source/algorithms/LoadNexusLogs-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadNexusLogs-v1.rst
@@ -58,3 +58,5 @@ Output:
     Phase1 log size = 46
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadNexusMonitors-v1.rst b/Code/Mantid/docs/source/algorithms/LoadNexusMonitors-v1.rst
index 153115566d990250a91a55e02437df7dde5051cd..f7118912b2f8d2fb05564fce4ebe14ae9567bb2c 100644
--- a/Code/Mantid/docs/source/algorithms/LoadNexusMonitors-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadNexusMonitors-v1.rst
@@ -36,3 +36,5 @@ Output:
     Number of monitors = 3
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadNexusProcessed-v1.rst b/Code/Mantid/docs/source/algorithms/LoadNexusProcessed-v1.rst
index 0fa41c95b394d415ccb107d6ba6f5e142d287cab..d12674be469757d885f53cd03a230d451ccfd65f 100644
--- a/Code/Mantid/docs/source/algorithms/LoadNexusProcessed-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadNexusProcessed-v1.rst
@@ -76,3 +76,5 @@ Output:
    Success!
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadPDFgetNFile-v1.rst b/Code/Mantid/docs/source/algorithms/LoadPDFgetNFile-v1.rst
index 72ecdcdb9cd4fcbcab3c40a7ade57e98fce02e09..fa232ab4999bab2023aa4f9ee5b6faed2e2d2db2 100644
--- a/Code/Mantid/docs/source/algorithms/LoadPDFgetNFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadPDFgetNFile-v1.rst
@@ -26,3 +26,5 @@ The file types include
 | `` * .gr``
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadParameterFile-v1.rst b/Code/Mantid/docs/source/algorithms/LoadParameterFile-v1.rst
index 15d9a529ff9260fae95da5cf3620097857a370ba..fda8e1da56297b9ac58ec2b82dcbd8f2d4ad2c29 100644
--- a/Code/Mantid/docs/source/algorithms/LoadParameterFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadParameterFile-v1.rst
@@ -39,3 +39,5 @@ parameter named 'test2' for a component whose detector has an id of '14'.
     </parameter-file>
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadPreNexus-v1.rst b/Code/Mantid/docs/source/algorithms/LoadPreNexus-v1.rst
index 5b1e575e2ff598df643d540ef307d4bc17cf3da7..b78e915c4ee570ec048ea63a4e0a2264cd143d34 100644
--- a/Code/Mantid/docs/source/algorithms/LoadPreNexus-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadPreNexus-v1.rst
@@ -12,3 +12,5 @@ Description
 Workflow algorithm to load all of the preNeXus files.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadPreNexusMonitors-v1.rst b/Code/Mantid/docs/source/algorithms/LoadPreNexusMonitors-v1.rst
index 0d8075e0b23a49f9de8101299c580da6ae83e8e1..b39bb795ee197bba43b8902167f715d71f46a50c 100644
--- a/Code/Mantid/docs/source/algorithms/LoadPreNexusMonitors-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadPreNexusMonitors-v1.rst
@@ -33,3 +33,5 @@ Output:
    The resulting workspace contains 3 spectra -- one for each monitor.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadQKK-v1.rst b/Code/Mantid/docs/source/algorithms/LoadQKK-v1.rst
index c4554e52ebb2f888fcd67c262dfcbdd19d22bef4..857c87654c0c654c7be88e6ab2e5f30a16608888 100644
--- a/Code/Mantid/docs/source/algorithms/LoadQKK-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadQKK-v1.rst
@@ -12,3 +12,5 @@ Description
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadRKH-v1.rst b/Code/Mantid/docs/source/algorithms/LoadRKH-v1.rst
index 08ca3dcd5635ee92ee4100f9ab90aa25d6f5b422..759de92cb3d0b5cc984ad876a901068ac67de742 100644
--- a/Code/Mantid/docs/source/algorithms/LoadRKH-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadRKH-v1.rst
@@ -51,3 +51,5 @@ Output:
    Contents of the file  = [ 8.  4.  9.  7.]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadRaw-v3.rst b/Code/Mantid/docs/source/algorithms/LoadRaw-v3.rst
index 8cb305cfedf75087f718e74f1e13575bbec6b5a2..2ed1b9feb55c9624aa6b0250d7a7826f6b0aa4a5 100644
--- a/Code/Mantid/docs/source/algorithms/LoadRaw-v3.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadRaw-v3.rst
@@ -187,3 +187,5 @@ Output
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadRawBin0-v1.rst b/Code/Mantid/docs/source/algorithms/LoadRawBin0-v1.rst
index 06d799b0659628bd2570e37bd822d4cfb35a83fd..9b1a7f32593467b643caeb656f18a2e6fbb49b96 100644
--- a/Code/Mantid/docs/source/algorithms/LoadRawBin0-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadRawBin0-v1.rst
@@ -34,3 +34,5 @@ Output:
    Bin0 contained 55 counts.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadRawSpectrum0-v1.rst b/Code/Mantid/docs/source/algorithms/LoadRawSpectrum0-v1.rst
index c062a8cd620f0ee16cc6fa85b1b77142575d1248..1d964fe7e5869909d83a311f5e10df4b024c5680 100644
--- a/Code/Mantid/docs/source/algorithms/LoadRawSpectrum0-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadRawSpectrum0-v1.rst
@@ -34,3 +34,5 @@ Output:
     Spectrum0 contained 0 counts
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadReflTBL-v1.rst b/Code/Mantid/docs/source/algorithms/LoadReflTBL-v1.rst
index d26a5169ce3528f68d055e59b5bcd98ea44ffae6..1f416c34fde5500adb479920b9754a90e442634b 100644
--- a/Code/Mantid/docs/source/algorithms/LoadReflTBL-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadReflTBL-v1.rst
@@ -22,3 +22,5 @@ becomes
 A, B, C, D, E, P, Q, Z F, G, H, I, J, P, Q, Z K, L, M, N, O, P, Q, Z
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadSINQ-v1.rst b/Code/Mantid/docs/source/algorithms/LoadSINQ-v1.rst
index f1c26bea898efb8bd6379a103d1274b605a696a0..6a8e12a3799ab928dd70c1ef2425f36b150e4ec0 100644
--- a/Code/Mantid/docs/source/algorithms/LoadSINQ-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadSINQ-v1.rst
@@ -37,3 +37,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadSINQFile-v1.rst b/Code/Mantid/docs/source/algorithms/LoadSINQFile-v1.rst
index 917f820caf7aeccb8fbe3d2773dd777939d8bc1e..b7a6bf7f0d6b7156bf148e5d6ec8ee8e5668b8c7 100644
--- a/Code/Mantid/docs/source/algorithms/LoadSINQFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadSINQFile-v1.rst
@@ -33,3 +33,5 @@ Output:
     Poldi sample 6904 has 400 histograms.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadSINQFocus-v1.rst b/Code/Mantid/docs/source/algorithms/LoadSINQFocus-v1.rst
index 16859f22ed0f6caf4cebafa28e821697847ed11d..993beba527742e6b5a46da3c79c2aeb7f315bf9b 100644
--- a/Code/Mantid/docs/source/algorithms/LoadSINQFocus-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadSINQFocus-v1.rst
@@ -49,3 +49,5 @@ Creating a color fill plot of the resulting workspace should result in an image
    FOCUS data of water at 320 K.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadSNSspec-v1.rst b/Code/Mantid/docs/source/algorithms/LoadSNSspec-v1.rst
index fa214d9650264eb8f9a7bb7e7d64eab00fbf4cc6..1f5ccfbd558a3883efbf9ad48148ea189b8094cf 100644
--- a/Code/Mantid/docs/source/algorithms/LoadSNSspec-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadSNSspec-v1.rst
@@ -74,3 +74,5 @@ This will create a Workspace2D with 1 spectrum.
 This text file will create a Workspace2D with 3 spectra.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadSPE-v1.rst b/Code/Mantid/docs/source/algorithms/LoadSPE-v1.rst
index 69e01b35abe35891cfb6080df546f624a55bd7c1..941084c966c6fcadbba28dce7d9a6d354cc9f646 100644
--- a/Code/Mantid/docs/source/algorithms/LoadSPE-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadSPE-v1.rst
@@ -39,3 +39,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadSQW-v1.rst b/Code/Mantid/docs/source/algorithms/LoadSQW-v1.rst
index 073cac14a2594350c96303191fc0a05ea7277455..4f2f63dd6ff6ed47e657ddbc1230c37d1cfac4fb 100644
--- a/Code/Mantid/docs/source/algorithms/LoadSQW-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadSQW-v1.rst
@@ -191,3 +191,5 @@ Output:
    Workspace has: 4 dimensions and contains:  580 MD events
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadSampleDetailsFromRaw-v1.rst b/Code/Mantid/docs/source/algorithms/LoadSampleDetailsFromRaw-v1.rst
index 5b5431a15e1ffee6a13de6551a18a0c1f938fb69..8d394327da15ed05092da0816047099c27e30b93 100644
--- a/Code/Mantid/docs/source/algorithms/LoadSampleDetailsFromRaw-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadSampleDetailsFromRaw-v1.rst
@@ -50,3 +50,5 @@ Output:
     Dimensions H,W,D 20,15,11
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadSassena-v1.rst b/Code/Mantid/docs/source/algorithms/LoadSassena-v1.rst
index f5b232387908d878dade11b3bf9b9d40ad09b1ed..c66d4566ff2e3d6175a7808936288e869acb7d5d 100644
--- a/Code/Mantid/docs/source/algorithms/LoadSassena-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadSassena-v1.rst
@@ -90,3 +90,5 @@ Output:
     The 989th y-value of the fitted curve: 0.673
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadSavuTomoConfig-v1.rst b/Code/Mantid/docs/source/algorithms/LoadSavuTomoConfig-v1.rst
index 77dba9bb7a13dfe018ef52a72283030fb14199d4..3ba9bc8ffb70c6ac65c06059350e81ef5d2ac836 100644
--- a/Code/Mantid/docs/source/algorithms/LoadSavuTomoConfig-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadSavuTomoConfig-v1.rst
@@ -72,3 +72,5 @@ Output:
     Cell 2,3: Not available
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadSpec-v1.rst b/Code/Mantid/docs/source/algorithms/LoadSpec-v1.rst
index cd801abc91463874ede56aa0f0b206d2fd672fed..b37969d58cf7ec25653300ca8972574a4db4a0e4 100644
--- a/Code/Mantid/docs/source/algorithms/LoadSpec-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadSpec-v1.rst
@@ -74,3 +74,5 @@ This will create a :ref:`Workspace2D <Workspace2D>` with 1 spectrum.
 This text file will create a :ref:`Workspace2D <Workspace2D>` with 3 spectra.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadSpice2D-v1.rst b/Code/Mantid/docs/source/algorithms/LoadSpice2D-v1.rst
index c4554e52ebb2f888fcd67c262dfcbdd19d22bef4..857c87654c0c654c7be88e6ab2e5f30a16608888 100644
--- a/Code/Mantid/docs/source/algorithms/LoadSpice2D-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadSpice2D-v1.rst
@@ -12,3 +12,5 @@ Description
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadSpiceAscii-v1.rst b/Code/Mantid/docs/source/algorithms/LoadSpiceAscii-v1.rst
index 4f91c1e8c1bd17f4234bdc458adf8cefe524c7a2..589da7a30c83875e02442fb6078dc7e3bb40f440 100644
--- a/Code/Mantid/docs/source/algorithms/LoadSpiceAscii-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadSpiceAscii-v1.rst
@@ -114,3 +114,5 @@ Output:
   Center of Mass = 9.00076 +/- 0.00921
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadSpiceXML2DDet-v1.rst b/Code/Mantid/docs/source/algorithms/LoadSpiceXML2DDet-v1.rst
index 6d56064dba3370f72d2eb277b786ae92350c76a6..dff1bf08a691894b0cf68a89c3b7fcd0f9148a0f 100644
--- a/Code/Mantid/docs/source/algorithms/LoadSpiceXML2DDet-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadSpiceXML2DDet-v1.rst
@@ -112,3 +112,5 @@ Output:
   Y[143, 140] = 2.00000
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadTOFRawNexus-v1.rst b/Code/Mantid/docs/source/algorithms/LoadTOFRawNexus-v1.rst
index 2dd2e346f612b579cf6d29b0e29d431123e2c9d0..c9709cb383d334d9abccaf9e3a9b63863da29478 100644
--- a/Code/Mantid/docs/source/algorithms/LoadTOFRawNexus-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadTOFRawNexus-v1.rst
@@ -30,3 +30,5 @@ change!):
    *dspacing*
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadVTK-v1.rst b/Code/Mantid/docs/source/algorithms/LoadVTK-v1.rst
index d9967862ee877134c182f2313282a89b6bbf4ead..1ab52491815d4a7e7297e9da16e12f37c37b1d57 100644
--- a/Code/Mantid/docs/source/algorithms/LoadVTK-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadVTK-v1.rst
@@ -64,5 +64,7 @@ These example is for illustation only. The file used is very large and not publi
 
 .. categories::
 
+.. sourcelink::
+
 
 
diff --git a/Code/Mantid/docs/source/algorithms/LoadVesuvio-v1.rst b/Code/Mantid/docs/source/algorithms/LoadVesuvio-v1.rst
index 384d8833ea93acd9c115603d2b7c951233e682bc..cd2c39a433d997d0405cdf8bc2141e36ffa6859a 100644
--- a/Code/Mantid/docs/source/algorithms/LoadVesuvio-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadVesuvio-v1.rst
@@ -89,3 +89,5 @@ Output::
    Number of spectra: 1
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LoadVulcanCalFile-v1.rst b/Code/Mantid/docs/source/algorithms/LoadVulcanCalFile-v1.rst
index e98cf40e30767e3e601d1f1a2f9a2615732d8ef2..3777b67d3e15c706196e89889ddbe958e96fbe47 100644
--- a/Code/Mantid/docs/source/algorithms/LoadVulcanCalFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LoadVulcanCalFile-v1.rst
@@ -108,3 +108,5 @@ Output:
   Size of mask workspace = 7392
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Logarithm-v1.rst b/Code/Mantid/docs/source/algorithms/Logarithm-v1.rst
index 9b51413550a1a1a0addce1bf25ce19c6a3cdf3e1..7515ff5ad49bc0adfb3a8b521888761d23e16455 100644
--- a/Code/Mantid/docs/source/algorithms/Logarithm-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Logarithm-v1.rst
@@ -59,3 +59,5 @@ Usage
    Log10 for Err spectra 0:  [ 0.      0.0434  0.434   0.434 ]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LogarithmMD-v1.rst b/Code/Mantid/docs/source/algorithms/LogarithmMD-v1.rst
index ea6ad6348955429c9fd1f304939f16b097fce693..8e569665a65d53f9410ef3ceb32b2f7d46dd022b 100644
--- a/Code/Mantid/docs/source/algorithms/LogarithmMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LogarithmMD-v1.rst
@@ -21,3 +21,5 @@ This algorithm cannot be run on a
 :ref:`algm-Logarithm`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/LorentzCorrection-v1.rst b/Code/Mantid/docs/source/algorithms/LorentzCorrection-v1.rst
index 8022a4b00d231a7efaba3e94ce7a5a1f35340c10..626c5e5cc385267fe544896a03eb0d0040f57273 100644
--- a/Code/Mantid/docs/source/algorithms/LorentzCorrection-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/LorentzCorrection-v1.rst
@@ -46,3 +46,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/Lorentzian1D-v1.rst b/Code/Mantid/docs/source/algorithms/Lorentzian1D-v1.rst
index 3152104e01c0167a2f6d73ba27b03a87081f32fe..79a0048103b7c1e436034ddf951a997eed2e607c 100644
--- a/Code/Mantid/docs/source/algorithms/Lorentzian1D-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Lorentzian1D-v1.rst
@@ -37,3 +37,5 @@ a TOF peak:
    LorentzianWithConstBackground.png
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MDHistoToWorkspace2D-v1.rst b/Code/Mantid/docs/source/algorithms/MDHistoToWorkspace2D-v1.rst
index 77c80845485fcb83dd65c84eefe07a3d6816820f..2eed6b1753b1a3f364b0aa55c83faddbe69ffa99 100644
--- a/Code/Mantid/docs/source/algorithms/MDHistoToWorkspace2D-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MDHistoToWorkspace2D-v1.rst
@@ -46,3 +46,5 @@ Output:
    corresponding part of 2D workspace [ 0.  4.  5.  0.]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MDNormDirectSC-v1.rst b/Code/Mantid/docs/source/algorithms/MDNormDirectSC-v1.rst
index 5fc6aa1a2ff7ac9d3ec6f636d4085df427479a10..c47842c280d16b3d020a126de16f25bd3c62e7c8 100644
--- a/Code/Mantid/docs/source/algorithms/MDNormDirectSC-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MDNormDirectSC-v1.rst
@@ -80,3 +80,5 @@ The output would look like:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/MDNormSCD-v1.rst b/Code/Mantid/docs/source/algorithms/MDNormSCD-v1.rst
index cd50f7a29cca351f32225a26dc3c13d49a7c3d0c..ce11177e1043f0c90409d9cac3aabae71829c570 100644
--- a/Code/Mantid/docs/source/algorithms/MDNormSCD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MDNormSCD-v1.rst
@@ -88,3 +88,5 @@ Usage
     
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/MSDFit-v1.rst b/Code/Mantid/docs/source/algorithms/MSDFit-v1.rst
index 358c9f42d8af1ced158ad28fab7c3aecffd57870..f756cc93c08ddde496d99b5d3fbd6e1dbfd25fd2 100644
--- a/Code/Mantid/docs/source/algorithms/MSDFit-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MSDFit-v1.rst
@@ -45,3 +45,5 @@ Output:
     A1: [ 0.11014908]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MaskAngle-v1.rst b/Code/Mantid/docs/source/algorithms/MaskAngle-v1.rst
index c9915693bf890bfe73d5ae9dc70dd5c4e7612f80..9452eccdf4786ee176bb2a122b97072e4b2727d6 100644
--- a/Code/Mantid/docs/source/algorithms/MaskAngle-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MaskAngle-v1.rst
@@ -54,3 +54,5 @@ The instrument view would look like:
    :alt: MaskAngle.png    
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MaskBTP-v1.rst b/Code/Mantid/docs/source/algorithms/MaskBTP-v1.rst
index 378594b7a1d9885a2a3e2f40af65480213e4a261..05b2a47ad34a25516f3d0733f2fa236c7f48c822 100644
--- a/Code/Mantid/docs/source/algorithms/MaskBTP-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MaskBTP-v1.rst
@@ -82,3 +82,5 @@ The instrument view should look like
    :alt: MaskBTP.png
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MaskBins-v1.rst b/Code/Mantid/docs/source/algorithms/MaskBins-v1.rst
index 48fb101d43af616d6e171f7e69d1c7ac4e4c3f3d..9978adbf23ee0177cc42ed68e9e05b1ef5cc89be 100644
--- a/Code/Mantid/docs/source/algorithms/MaskBins-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MaskBins-v1.rst
@@ -72,3 +72,5 @@ data these values are simply missed out of the summing that is
 performed.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MaskBinsFromTable-v1.rst b/Code/Mantid/docs/source/algorithms/MaskBinsFromTable-v1.rst
index 95b0252badaf7d47ef70912fffcc69db638da514..f0a4ef4c14254478d5439bf79dbfde8ba8284244 100644
--- a/Code/Mantid/docs/source/algorithms/MaskBinsFromTable-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MaskBinsFromTable-v1.rst
@@ -69,3 +69,5 @@ in the workspace (though the workspace does not have to have common X
 values in all spectra).
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MaskDetectors-v1.rst b/Code/Mantid/docs/source/algorithms/MaskDetectors-v1.rst
index 856d5913457b81275d9528920120bd15d5aba70c..b158f414e14032fd74525decf8a093bc749b6d47 100644
--- a/Code/Mantid/docs/source/algorithms/MaskDetectors-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MaskDetectors-v1.rst
@@ -311,3 +311,5 @@ Output
   Detector 104 is masked: False
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MaskDetectorsIf-v1.rst b/Code/Mantid/docs/source/algorithms/MaskDetectorsIf-v1.rst
index 301947bad5134b50b73682c1d95d588b1cc94412..276b40f34ea95c0e63690b257950703c01236c7c 100644
--- a/Code/Mantid/docs/source/algorithms/MaskDetectorsIf-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MaskDetectorsIf-v1.rst
@@ -15,3 +15,5 @@ the contributing detectors in the output calfile. All other aspects of
 the ``InputCalFile`` are copied over to the ``OutputCalFile``.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MaskDetectorsInShape-v1.rst b/Code/Mantid/docs/source/algorithms/MaskDetectorsInShape-v1.rst
index f44542100f09c6136cdabb310cba6b969079120a..88c69b4c32ca204cad2f6806f7a557b53b7529c6 100644
--- a/Code/Mantid/docs/source/algorithms/MaskDetectorsInShape-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MaskDetectorsInShape-v1.rst
@@ -82,3 +82,5 @@ Output
   True
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MaskMD-v1.rst b/Code/Mantid/docs/source/algorithms/MaskMD-v1.rst
index 70925af9ec09438235f0c3e2abe9508a3cdb3f1f..c0b3e099e7df41c06cb5b480a0c1c3ec5d431e93 100644
--- a/Code/Mantid/docs/source/algorithms/MaskMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MaskMD-v1.rst
@@ -41,3 +41,5 @@ to the last {X,Y,Z}. Applying this masking will result in two completely
 separate areas masked in a single call to the algorithm.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MaskPeaksWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/MaskPeaksWorkspace-v1.rst
index 7fbdac5fe09b7f2dd0f12b23a6577df8fb7bc29c..b771d01ddbdb419d0b66dc532d7263a45207f140 100644
--- a/Code/Mantid/docs/source/algorithms/MaskPeaksWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MaskPeaksWorkspace-v1.rst
@@ -35,3 +35,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MaskWorkspaceToCalFile-v1.rst b/Code/Mantid/docs/source/algorithms/MaskWorkspaceToCalFile-v1.rst
index 8164734fbf7b7e305156ede229fb737edc44baaa..9fc0667507484719143819aa0b1c831b19e650b8 100644
--- a/Code/Mantid/docs/source/algorithms/MaskWorkspaceToCalFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MaskWorkspaceToCalFile-v1.rst
@@ -63,3 +63,5 @@ Output
   os.remove( calFilePath )
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Max-v1.rst b/Code/Mantid/docs/source/algorithms/Max-v1.rst
index cda3da7d3ee17d01afdbcd5ecd57f3b1694ca9c3..5528c0cc9acff2406ff17dd21aac1bfa3e255517 100644
--- a/Code/Mantid/docs/source/algorithms/Max-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Max-v1.rst
@@ -49,3 +49,5 @@ Output
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/MaxMin-v1.rst b/Code/Mantid/docs/source/algorithms/MaxMin-v1.rst
index feeeed6d6a864dc32143fef73c02350e61ef7adc..de8329a15ceeea04738181d155a95a28ba241761 100644
--- a/Code/Mantid/docs/source/algorithms/MaxMin-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MaxMin-v1.rst
@@ -80,3 +80,5 @@ Output:
    [ 0.3]
    
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Mean-v1.rst b/Code/Mantid/docs/source/algorithms/Mean-v1.rst
index e8ad20b79acc58d16210736ee55609cfa369b838..ae79c7182c6224f1aca38bf72a1a126fabc807b9 100644
--- a/Code/Mantid/docs/source/algorithms/Mean-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Mean-v1.rst
@@ -52,3 +52,5 @@ Output:
    Mean of y values in second spectrum: [ 6.  7.  8.  9.]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MedianDetectorTest-v1.rst b/Code/Mantid/docs/source/algorithms/MedianDetectorTest-v1.rst
index 8774646f65c5845bef4563b3072146d400fc8831..a995af4766ef20f42f8d89d522e3e191bf958d9b 100644
--- a/Code/Mantid/docs/source/algorithms/MedianDetectorTest-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MedianDetectorTest-v1.rst
@@ -44,3 +44,5 @@ Uses the :ref:`algm-SolidAngle`, :ref:`algm-Integration` and
 :ref:`algm-ConvertToDistribution` algorithms.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MergeCalFiles-v1.rst b/Code/Mantid/docs/source/algorithms/MergeCalFiles-v1.rst
index e2710bcc065a6909bcaa96a48c82ee91429c35b0..a3fa528eff8a6f8219edd3fdb42097d10f16cc2b 100644
--- a/Code/Mantid/docs/source/algorithms/MergeCalFiles-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MergeCalFiles-v1.rst
@@ -145,3 +145,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MergeLogs-v1.rst b/Code/Mantid/docs/source/algorithms/MergeLogs-v1.rst
index fd1f2ad4578e78ca09bebe1cfda76944962f5eaf..eabe9d72b6af2e757a2b93f6591b943e4e407b02 100644
--- a/Code/Mantid/docs/source/algorithms/MergeLogs-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MergeLogs-v1.rst
@@ -66,3 +66,5 @@ Output:
   Mixed Phase 1 and 2 Time[4] = 2012-08-14T18:55:55.640000000 .
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MergeMD-v1.rst b/Code/Mantid/docs/source/algorithms/MergeMD-v1.rst
index a90271b6c3ab52c5f6fac4e29effbfdf71ccafbe..f9f4aaecdda0b5feb35485c813c2115119f9b5d5 100644
--- a/Code/Mantid/docs/source/algorithms/MergeMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MergeMD-v1.rst
@@ -82,3 +82,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MergeMDFiles-v1.rst b/Code/Mantid/docs/source/algorithms/MergeMDFiles-v1.rst
index 7207f2dde4fdeb95dc9b6fe39a5a28c6d8758072..6d008a3ee0638a3fa859b6250ebc6f5d1d1ea623 100644
--- a/Code/Mantid/docs/source/algorithms/MergeMDFiles-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MergeMDFiles-v1.rst
@@ -37,3 +37,5 @@ See also: :ref:`algm-MergeMD`, for merging any MDWorkspaces in system
 memory (faster, but needs more memory).
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MergeRuns-v1.rst b/Code/Mantid/docs/source/algorithms/MergeRuns-v1.rst
index 310aba539e97208606ade5163e02a0582c05d357..f1d49d83e5a071ab20a956a053d59b52be4e4c90 100644
--- a/Code/Mantid/docs/source/algorithms/MergeRuns-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MergeRuns-v1.rst
@@ -82,7 +82,7 @@ Usage
    a = CreateWorkspace(dataX, dataY)
    b = CreateWorkspace(dataX, dataY)
 
-   merged = MergeRuns(InputWorkspaces="a, b")
+   merged = MergeRuns(InputWorkspaces="a, b")  
 
    print "a      = " + str(a.readY(0))
    print "b      = " + str(b.readY(0))
@@ -128,3 +128,5 @@ Usage
    merged   = [ 24.  60.  84.  36.]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Min-v1.rst b/Code/Mantid/docs/source/algorithms/Min-v1.rst
index 7037c97f8cd5bdbd0509433a523df0299282cd9e..dfe615e660cbf21a87318bf8775c7d0ab98d4054 100644
--- a/Code/Mantid/docs/source/algorithms/Min-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Min-v1.rst
@@ -42,3 +42,5 @@ Output:
     The new output workspace has  1  histogram, with the minimum Y =  2.0  and it occurs at X between  2.0  and  3.0
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Minus-v1.rst b/Code/Mantid/docs/source/algorithms/Minus-v1.rst
index 6f3fa8afba1523afb16abb95d204bc0161b155a5..915fd3e465fd4c62a1ca6c8914a29b213731570b 100644
--- a/Code/Mantid/docs/source/algorithms/Minus-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Minus-v1.rst
@@ -140,3 +140,5 @@ Output:
     The updated Error values are: [ 0.  1.  2.  3.  4.  5.  6.  7.  8.]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MinusMD-v1.rst b/Code/Mantid/docs/source/algorithms/MinusMD-v1.rst
index dffb8e271d8046f5a1af475589c67f1310e59070..df468c762969a6875724fa5dd33bd8514f130960 100644
--- a/Code/Mantid/docs/source/algorithms/MinusMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MinusMD-v1.rst
@@ -39,3 +39,5 @@ MDHistoWorkspace and a scalar.
    -  This is not possible.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ModeratorTzero-v1.rst b/Code/Mantid/docs/source/algorithms/ModeratorTzero-v1.rst
index 208f9922eaf76ebabe374a8e8013f4611ac56634..7ec77175e2a9ac8db63bd5432e34339a919318f9 100644
--- a/Code/Mantid/docs/source/algorithms/ModeratorTzero-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ModeratorTzero-v1.rst
@@ -81,3 +81,5 @@ conditions, use of :ref:`algm-ModeratorTzeroLinear` is
 preferred.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ModeratorTzeroLinear-v1.rst b/Code/Mantid/docs/source/algorithms/ModeratorTzeroLinear-v1.rst
index 8ae7606a818b3af749d531105828d9769fc7fbd6..f2352550059403f6aa2f313cc15fededbc0a41f8 100644
--- a/Code/Mantid/docs/source/algorithms/ModeratorTzeroLinear-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ModeratorTzeroLinear-v1.rst
@@ -63,3 +63,5 @@ sample to detector :math:`t_f = 0` and with the initial fligh path
 :math:`L_i` as the distance from source to monitor.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ModifyDetectorDotDatFile-v1.rst b/Code/Mantid/docs/source/algorithms/ModifyDetectorDotDatFile-v1.rst
index 0d8be54cc2a2721cfb61346d248fdf00b704cbad..904b08bc62f1ed0e748171fb9791b7f4065d1ffc 100644
--- a/Code/Mantid/docs/source/algorithms/ModifyDetectorDotDatFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ModifyDetectorDotDatFile-v1.rst
@@ -81,3 +81,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MolDyn-v1.rst b/Code/Mantid/docs/source/algorithms/MolDyn-v1.rst
index 53dcbf959f2649e6048060fe8c661427a14d112f..dfd8ce920b023e3169401e457ba881dfad6a6486 100644
--- a/Code/Mantid/docs/source/algorithms/MolDyn-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MolDyn-v1.rst
@@ -42,3 +42,5 @@ Output:
     NaF_DISF_Sqw-total
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MonitorLiveData-v1.rst b/Code/Mantid/docs/source/algorithms/MonitorLiveData-v1.rst
index 9396035220f86f21350501350ace2b2fdaea6430..cb3401f0a2f30263d61f66253ccab0c88f424b2e 100644
--- a/Code/Mantid/docs/source/algorithms/MonitorLiveData-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MonitorLiveData-v1.rst
@@ -27,3 +27,5 @@ Usage
 LoadLiveData is not intended for usage directly, it is part of he process that is started using :ref:`algm-StartLiveData`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MonteCarloAbsorption-v1.rst b/Code/Mantid/docs/source/algorithms/MonteCarloAbsorption-v1.rst
index 6d9c53e8857540a0ab014ca785be7a4715c95dc6..c6ef1e7593353b1220c2554c54454809c5fac6c3 100644
--- a/Code/Mantid/docs/source/algorithms/MonteCarloAbsorption-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MonteCarloAbsorption-v1.rst
@@ -85,3 +85,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MoveInstrumentComponent-v1.rst b/Code/Mantid/docs/source/algorithms/MoveInstrumentComponent-v1.rst
index 6dd0c72b754b5632eef5497dadd6401634138921..e1260852a0df19c78854be1fa54f64a38a438a8f 100644
--- a/Code/Mantid/docs/source/algorithms/MoveInstrumentComponent-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MoveInstrumentComponent-v1.rst
@@ -91,3 +91,5 @@ Output
   [1.08882,-0.108221,-0.145]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MultipleScatteringCylinderAbsorption-v1.rst b/Code/Mantid/docs/source/algorithms/MultipleScatteringCylinderAbsorption-v1.rst
index c4c166a21f41c583cef16c3022887da95f813961..8e3667b7c43896da561be750777666c22dd5d9bd 100644
--- a/Code/Mantid/docs/source/algorithms/MultipleScatteringCylinderAbsorption-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MultipleScatteringCylinderAbsorption-v1.rst
@@ -42,3 +42,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Multiply-v1.rst b/Code/Mantid/docs/source/algorithms/Multiply-v1.rst
index aa754a47dc03fab67d8552e786a8aaa4780d8307..c762700441d8d33c98bf5490376b14fe0d9a8f76 100644
--- a/Code/Mantid/docs/source/algorithms/Multiply-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Multiply-v1.rst
@@ -138,3 +138,5 @@ Output:
     The updated Error values are: [  0.    2.5   5.    7.5  10.   12.5  15.   17.5  20. ]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MultiplyMD-v1.rst b/Code/Mantid/docs/source/algorithms/MultiplyMD-v1.rst
index 272f359d5e9859a17395a4fa1b3cba4dbd9cdb67..ab23a28de8f3206f73c804abba911459bcb8975f 100644
--- a/Code/Mantid/docs/source/algorithms/MultiplyMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MultiplyMD-v1.rst
@@ -29,3 +29,5 @@ The error of :math:`f = a * b` is propagated with
       meaning would be.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MultiplyRange-v1.rst b/Code/Mantid/docs/source/algorithms/MultiplyRange-v1.rst
index c6d1c2e5a71d3c3e196a23a25bc4f75bc60ab76f..e5dced2f1a05b2eba6f3d8b3d823e91d473c6ec6 100644
--- a/Code/Mantid/docs/source/algorithms/MultiplyRange-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MultiplyRange-v1.rst
@@ -40,3 +40,5 @@ Output
   [ 3.  3.  3.  3.  3.  3.  1.  1.  1.  1.]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MuonCalculateAsymmetry-v1.rst b/Code/Mantid/docs/source/algorithms/MuonCalculateAsymmetry-v1.rst
index dfd89f3bc18e71ea25e5705c24ec4ce04636d44d..5b1448917dbe67939745a0b49a75c7ec99dd5d83 100644
--- a/Code/Mantid/docs/source/algorithms/MuonCalculateAsymmetry-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MuonCalculateAsymmetry-v1.rst
@@ -75,3 +75,5 @@ Output:
    Output: [-0.28634067  0.60594273  0.26255546]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MuonGroupDetectors-v1.rst b/Code/Mantid/docs/source/algorithms/MuonGroupDetectors-v1.rst
index aa690e34087bac8b0e1257815646fa6a00eeb51a..d91570f70f949365c06bdc15a651e73573618ba3 100644
--- a/Code/Mantid/docs/source/algorithms/MuonGroupDetectors-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MuonGroupDetectors-v1.rst
@@ -86,3 +86,5 @@ Output:
    No. of grouped spectra in second period: 2
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MuonLoad-v1.rst b/Code/Mantid/docs/source/algorithms/MuonLoad-v1.rst
index 88f1768100e8d416ba8614473ca3dfbd800a8a11..91989d14336d69a960fd81e04a3835801e15d18b 100644
--- a/Code/Mantid/docs/source/algorithms/MuonLoad-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MuonLoad-v1.rst
@@ -66,3 +66,5 @@ Output:
    Integrated asymmetry for the run: 1.701
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MuscatData-v1.rst b/Code/Mantid/docs/source/algorithms/MuscatData-v1.rst
index a48ce29d6f138d0569fffd469b7d1003ac747227..810162435cd4e2bbb04812cd345f478e17c261d8 100644
--- a/Code/Mantid/docs/source/algorithms/MuscatData-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MuscatData-v1.rst
@@ -52,3 +52,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/MuscatFunc-v1.rst b/Code/Mantid/docs/source/algorithms/MuscatFunc-v1.rst
index 50af9e4a7990af542e091f002ce0b7af80184b53..a972a285f446d065247c007f154bb9a4aabd3135 100644
--- a/Code/Mantid/docs/source/algorithms/MuscatFunc-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/MuscatFunc-v1.rst
@@ -52,3 +52,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/NexusTester-v1.rst b/Code/Mantid/docs/source/algorithms/NexusTester-v1.rst
index 07f49899e2068a5cb45af45b613ef3dd10e76c21..6314e9a18afc2eaa2694b0696ce88a0934dea449 100644
--- a/Code/Mantid/docs/source/algorithms/NexusTester-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/NexusTester-v1.rst
@@ -24,3 +24,5 @@ The ``SaveSpeed`` and ``LoadSpeed`` output properties are set to the saving
 and loading rates, in MB per second.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/NormaliseByCurrent-v1.rst b/Code/Mantid/docs/source/algorithms/NormaliseByCurrent-v1.rst
index 9c8d7b66d6fdcd5bb9854c6a8592bcbfddd405dc..45c3e3fb2d065804f9b00307da242bb404686fd9 100644
--- a/Code/Mantid/docs/source/algorithms/NormaliseByCurrent-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/NormaliseByCurrent-v1.rst
@@ -77,3 +77,5 @@ Output:
    Normalisation factor 10.0   
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/NormaliseByDetector-v1.rst b/Code/Mantid/docs/source/algorithms/NormaliseByDetector-v1.rst
index 89fbc14b991b748baa33af38bdd65c7c9c6ae89b..92c2c43bde8b9ebd10bb4070e6ff9ec028e114f4 100644
--- a/Code/Mantid/docs/source/algorithms/NormaliseByDetector-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/NormaliseByDetector-v1.rst
@@ -227,3 +227,5 @@ Output:
   The correct value in bin 90 is 0.03 compared to 0.30
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/NormaliseByPeakArea-v1.rst b/Code/Mantid/docs/source/algorithms/NormaliseByPeakArea-v1.rst
index c971b3d7608bb983d7b8e1d0f33953ecd829cdce..1bb9291d2e5a81e58212388ec197a5976b89a7b1 100644
--- a/Code/Mantid/docs/source/algorithms/NormaliseByPeakArea-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/NormaliseByPeakArea-v1.rst
@@ -88,3 +88,5 @@ Usage
     Number of symmetrised spectra is: 1
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/NormaliseByThickness-v1.rst b/Code/Mantid/docs/source/algorithms/NormaliseByThickness-v1.rst
index e989098e9c8a0a7dc09f459a7b7e4049b0a21664..8843002d2daddccb7e1dd17274339bb04eb0660d 100644
--- a/Code/Mantid/docs/source/algorithms/NormaliseByThickness-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/NormaliseByThickness-v1.rst
@@ -48,3 +48,5 @@ Output:
     Max(norm)= 1.03
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/NormaliseToMonitor-v1.rst b/Code/Mantid/docs/source/algorithms/NormaliseToMonitor-v1.rst
index e07bfa9d59c4ff0b030f67e92ebdb964bcd8fd26..61a340bcd1e99d2bce15d43a8b31a6c137211b24 100644
--- a/Code/Mantid/docs/source/algorithms/NormaliseToMonitor-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/NormaliseToMonitor-v1.rst
@@ -101,3 +101,5 @@ Output:
    Selected data 1.485135, 0.741801
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/NormaliseToUnity-v1.rst b/Code/Mantid/docs/source/algorithms/NormaliseToUnity-v1.rst
index d7b4c11f79d9874d6ffc7ccce19135bc3cb0bf62..6d40f1162ce480b898fa116f17ecc4458123d7e1 100644
--- a/Code/Mantid/docs/source/algorithms/NormaliseToUnity-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/NormaliseToUnity-v1.rst
@@ -45,3 +45,5 @@ Output:
    [ 0.2239,0.0065,0.0065, 0.0065, 0.0065 ]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/NormaliseVanadium-v1.rst b/Code/Mantid/docs/source/algorithms/NormaliseVanadium-v1.rst
index ccdefa6872380132b18b5b926c67c586bdb4abbe..0a0307f0fd22a86e72534e27cb18354e5112c277 100644
--- a/Code/Mantid/docs/source/algorithms/NormaliseVanadium-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/NormaliseVanadium-v1.rst
@@ -33,3 +33,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/NotMD-v1.rst b/Code/Mantid/docs/source/algorithms/NotMD-v1.rst
index 7399891c2c82aeab95198124ccc62aeaf5726e4a..3c87a3ee903972bee6221fd9f61e02c47d1531e6 100644
--- a/Code/Mantid/docs/source/algorithms/NotMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/NotMD-v1.rst
@@ -15,3 +15,5 @@ element-by-element. Any 0.0 signal is changed to 1.0 (meaning true). Any
 non-zero signal is changed to 0.0 (meaning false).
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/OSIRISDiffractionReduction-v1.rst b/Code/Mantid/docs/source/algorithms/OSIRISDiffractionReduction-v1.rst
index 4456ab8957d185311c0022698d6d6cdba697d116..4f06fcbfb55947def7366ed27d41391bb55410c0 100644
--- a/Code/Mantid/docs/source/algorithms/OSIRISDiffractionReduction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/OSIRISDiffractionReduction-v1.rst
@@ -82,3 +82,5 @@ Output:
     removeFiles(vanadium)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/OneMinusExponentialCor-v1.rst b/Code/Mantid/docs/source/algorithms/OneMinusExponentialCor-v1.rst
index 933fe56bfa8a8dcbfda13dd0223bf256be5e19b6..873ca5a627ca7f35874a91083520a7987fe2429e 100644
--- a/Code/Mantid/docs/source/algorithms/OneMinusExponentialCor-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/OneMinusExponentialCor-v1.rst
@@ -50,3 +50,5 @@ Output:
     [ 2.59399415  2.94505308  2.99256374]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/OneStepMDEW-v1.rst b/Code/Mantid/docs/source/algorithms/OneStepMDEW-v1.rst
index 85792476505fb5f11d0b991a462cd599b873f4e9..ab2b0dc463fb5ad401df978b8c38e94bfdd0bf6b 100644
--- a/Code/Mantid/docs/source/algorithms/OneStepMDEW-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/OneStepMDEW-v1.rst
@@ -27,3 +27,5 @@ for the details of the usage of these algorithms
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/OptimizeCrystalPlacement-v1.rst b/Code/Mantid/docs/source/algorithms/OptimizeCrystalPlacement-v1.rst
index 6c75451b5bd4c714e8e1c8c14ae45e8100005d8c..540d3c0d13d4fb7a18cab0c786da3f1ca171f79b 100644
--- a/Code/Mantid/docs/source/algorithms/OptimizeCrystalPlacement-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/OptimizeCrystalPlacement-v1.rst
@@ -65,3 +65,5 @@ Output:
     Chi2: 0.0203
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/OptimizeLatticeForCellType-v1.rst b/Code/Mantid/docs/source/algorithms/OptimizeLatticeForCellType-v1.rst
index 2e8cdd7035deb77ef55776cde4997160ebd20696..62fc9b0e767703723675553cae09b3a4e14e33ed 100644
--- a/Code/Mantid/docs/source/algorithms/OptimizeLatticeForCellType-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/OptimizeLatticeForCellType-v1.rst
@@ -51,3 +51,5 @@ Output:
      [ 0.06103109  0.03149982  0.01101201]]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/OrMD-v1.rst b/Code/Mantid/docs/source/algorithms/OrMD-v1.rst
index fc9d2e3488cd5f76f4d367e40dffc5b202c08743..68989ce6df6be1b3c2bfeede37fe672fb3c32f35 100644
--- a/Code/Mantid/docs/source/algorithms/OrMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/OrMD-v1.rst
@@ -14,3 +14,5 @@ operation is performed element-by-element. A signal of 0.0 means "false"
 and any non-zero signal is "true".
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PDDetermineCharacterizations-v1.rst b/Code/Mantid/docs/source/algorithms/PDDetermineCharacterizations-v1.rst
index c5c9b77fa7e0a24e77b3b81a8e4db5a8f855566c..a6709c8885928b21a72457477eb8858c5196ef8e 100644
--- a/Code/Mantid/docs/source/algorithms/PDDetermineCharacterizations-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PDDetermineCharacterizations-v1.rst
@@ -52,3 +52,5 @@ For a description of the  `TableWorkspace <TableWorkspace>`__
 see :ref:`PDLoadCharacterizations <algm-PDLoadCharacterizations>`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PDFFourierTransform-v1.rst b/Code/Mantid/docs/source/algorithms/PDFFourierTransform-v1.rst
index 3561f1cc1cf834558c166d727c0f33d5e3b8678c..797e1b5adf0be8a915a6217164c80d5e2b2e634a 100644
--- a/Code/Mantid/docs/source/algorithms/PDFFourierTransform-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PDFFourierTransform-v1.rst
@@ -174,3 +174,5 @@ Usage
    
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PDLoadCharacterizations-v1.rst b/Code/Mantid/docs/source/algorithms/PDLoadCharacterizations-v1.rst
index 5c2c02cfe4bc4671eee65ee77ea71e3645a9b8dd..9d81b4cc29f9c9bd5f1339d0dbcd3b2cf743fd54 100644
--- a/Code/Mantid/docs/source/algorithms/PDLoadCharacterizations-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PDLoadCharacterizations-v1.rst
@@ -71,3 +71,5 @@ tof_max    double
 ========== =======
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Pause-v1.rst b/Code/Mantid/docs/source/algorithms/Pause-v1.rst
index 72552c3f573a76567229eedf87c744d370b1ede4..6c0b7a3ae44e17b6ce6975ea683848c3b7177cbb 100644
--- a/Code/Mantid/docs/source/algorithms/Pause-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Pause-v1.rst
@@ -38,3 +38,5 @@ Output:
    The algorithm paused for ... seconds.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PawleyFit-v1.rst b/Code/Mantid/docs/source/algorithms/PawleyFit-v1.rst
index 10d3a337014519b8edd00c1508306cb42586a9c5..25895ed6fe99d1a6d10954b911f62cd6e6d63fd1 100644
--- a/Code/Mantid/docs/source/algorithms/PawleyFit-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PawleyFit-v1.rst
@@ -99,3 +99,5 @@ It's important to check the output data, which is found in the workspace labeled
 .. [Pawley] Pawley, G. S. “Unit-Cell Refinement from Powder Diffraction Scans.”, J. Appl. Crystallogr. 14, 1981, 357. doi:10.1107/S0021889881009618.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PeakIntegration-v1.rst b/Code/Mantid/docs/source/algorithms/PeakIntegration-v1.rst
index c3d7e1cdd3a1bb97f27ebd04491f20a5d1b2c1db..5883750d5d06cea702d89fe46fe3a59556c6db89 100644
--- a/Code/Mantid/docs/source/algorithms/PeakIntegration-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PeakIntegration-v1.rst
@@ -14,3 +14,5 @@ crystal data and place results into peak workspace. Uses IkedaCarpenter
 function to fit TOF.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PeakIntensityVsRadius-v1.rst b/Code/Mantid/docs/source/algorithms/PeakIntensityVsRadius-v1.rst
index c2498ba96a64db5855b5f8f42ad7ce6d69b2f679..d6179a78564e4f0eb30cc8a2f2d8c6166a5ecd9c 100644
--- a/Code/Mantid/docs/source/algorithms/PeakIntensityVsRadius-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PeakIntensityVsRadius-v1.rst
@@ -71,3 +71,5 @@ Usage
     plotSpectrum('peak_vs_rad', [0,2,3], error_bars=True)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PeaksInRegion-v1.rst b/Code/Mantid/docs/source/algorithms/PeaksInRegion-v1.rst
index 7aaef432228f5b0732f9bee4095829c7b63a7ac7..9481f3552528e837c8a8b7c2d9cf02a777ab0ef3 100644
--- a/Code/Mantid/docs/source/algorithms/PeaksInRegion-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PeaksInRegion-v1.rst
@@ -45,3 +45,5 @@ Output:
    {'Distance': -1.0, 'PeakIndex': 0, 'Intersecting': True}
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PeaksOnSurface-v1.rst b/Code/Mantid/docs/source/algorithms/PeaksOnSurface-v1.rst
index 7a7f7ababce5e8ea1182aa02929270e8b74b0ee5..82685a55679dfb6b1015c709e6d5ccaf01986851 100644
--- a/Code/Mantid/docs/source/algorithms/PeaksOnSurface-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PeaksOnSurface-v1.rst
@@ -49,3 +49,5 @@ Output:
    {'Distance': -1.0, 'PeakIndex': 0, 'Intersecting': True}
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PearlMCAbsorption-v1.rst b/Code/Mantid/docs/source/algorithms/PearlMCAbsorption-v1.rst
index c97dcd6695a85ce3697cb5b851bc276b57942d46..98d3162d44126348119401fcc5a4358e84b62283 100644
--- a/Code/Mantid/docs/source/algorithms/PearlMCAbsorption-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PearlMCAbsorption-v1.rst
@@ -23,3 +23,5 @@ assumed to be calculated :math:`\frac{I}{I_0}` values and are simply
 read in verbatim.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PerformIndexOperations-v1.rst b/Code/Mantid/docs/source/algorithms/PerformIndexOperations-v1.rst
index 7634090f37c125bb98d110346959c24a5e7e6aec..8cf4e0664f65bae59aa2549476257f0b9f280c00 100644
--- a/Code/Mantid/docs/source/algorithms/PerformIndexOperations-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PerformIndexOperations-v1.rst
@@ -53,3 +53,5 @@ Output:
    [ 51.  52.]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PhaseQuad-v1.rst b/Code/Mantid/docs/source/algorithms/PhaseQuad-v1.rst
index 314b62c0e8a35ec45634445178eae3d004509064..abf6a64e642b27d65e8babd787d82673852ceadc 100644
--- a/Code/Mantid/docs/source/algorithms/PhaseQuad-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PhaseQuad-v1.rst
@@ -115,3 +115,6 @@ Output:
    Output workspace contains 2 histograms
 
 .. categories::
+
+.. sourcelink::
+    :filename: PhaseQuadMuon
\ No newline at end of file
diff --git a/Code/Mantid/docs/source/algorithms/PlotAsymmetryByLogValue-v1.rst b/Code/Mantid/docs/source/algorithms/PlotAsymmetryByLogValue-v1.rst
index 5016492a6f08ba489a1ff627687844d6122bfe01..f06e881b91e913b22ae9de7b55d137811597b6d0 100644
--- a/Code/Mantid/docs/source/algorithms/PlotAsymmetryByLogValue-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PlotAsymmetryByLogValue-v1.rst
@@ -160,3 +160,5 @@ Output:
    X values (sample magn. field): [ 290.  290.  290.]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PlotPeakByLogValue-v1.rst b/Code/Mantid/docs/source/algorithms/PlotPeakByLogValue-v1.rst
index 4d8c42755e0edbf6f36eef82f842e96777c4715e..e36ae1d68f1eb3e02fa636c277c220ca85b7f214 100644
--- a/Code/Mantid/docs/source/algorithms/PlotPeakByLogValue-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PlotPeakByLogValue-v1.rst
@@ -127,3 +127,5 @@ Output:
     True
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Plus-v1.rst b/Code/Mantid/docs/source/algorithms/Plus-v1.rst
index 5410ac828102b5c5946d6851411553d0db9d7f40..65d9c7c450e983abf1a23dcc646efdcfeb3042b9 100644
--- a/Code/Mantid/docs/source/algorithms/Plus-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Plus-v1.rst
@@ -152,3 +152,5 @@ Output:
     The updated Error values are: [ 0.  1.  2.  3.  4.  5.  6.  7.  8.]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PlusMD-v1.rst b/Code/Mantid/docs/source/algorithms/PlusMD-v1.rst
index 1afcf0f9a232ed9011696da148c12653f098cbe4..b61fe857e8bb352348bc8d485e9607d9b29eaeae 100644
--- a/Code/Mantid/docs/source/algorithms/PlusMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PlusMD-v1.rst
@@ -52,3 +52,5 @@ or another algorithm requiring it is called. The workspace is marked as
 'requiring file update'.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PointByPointVCorrection-v1.rst b/Code/Mantid/docs/source/algorithms/PointByPointVCorrection-v1.rst
index f806dfa7a2d86c95edcf5409f450fb33b1ea78d6..8cd77e9b2d9129797379113446c2942b2d917d60 100644
--- a/Code/Mantid/docs/source/algorithms/PointByPointVCorrection-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PointByPointVCorrection-v1.rst
@@ -41,3 +41,5 @@ This is normally not a problem unless the setup of the instrument has
 been changed between recording the Vanadium and the sample datasets.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PoissonErrors-v1.rst b/Code/Mantid/docs/source/algorithms/PoissonErrors-v1.rst
index 42ccbd1e33f3570f163e5456f903a72a05e763b1..a7fca58bc4f3a66897b2d33f86509205dba8831e 100644
--- a/Code/Mantid/docs/source/algorithms/PoissonErrors-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PoissonErrors-v1.rst
@@ -45,3 +45,5 @@ Output:
     The updated Error values are: [  0.    1.5   3.    4.5   6.    7.5   9.   10.5  12. ]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PolarizationCorrection-v1.rst b/Code/Mantid/docs/source/algorithms/PolarizationCorrection-v1.rst
index 74bc0d51c6bac84a189a47601e3e0b75657e5cda..a7ad6674912b9b942445cae03e1ac1acd94f1da1 100644
--- a/Code/Mantid/docs/source/algorithms/PolarizationCorrection-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PolarizationCorrection-v1.rst
@@ -27,3 +27,5 @@ Since this ratio is wavelength dependent, alpha is a polynomial, which is expres
 :math:`\alpha(\lambda) =\sum\limits_{i=0}^{i=2} K_{i}\centerdot\lambda^i`, can be provided as :math:`K_{0}, K_{1}, K_{2}`
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PoldiAnalyseResiduals-v1.rst b/Code/Mantid/docs/source/algorithms/PoldiAnalyseResiduals-v1.rst
index ac1d25d5492e8c7d180bf7585606820278315f7c..2b74cf734c6de152757b50889f605aa0e809fc92 100644
--- a/Code/Mantid/docs/source/algorithms/PoldiAnalyseResiduals-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PoldiAnalyseResiduals-v1.rst
@@ -61,3 +61,5 @@ The output contains the range in which residuals are found:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/PoldiAutoCorrelation-v5.rst b/Code/Mantid/docs/source/algorithms/PoldiAutoCorrelation-v5.rst
index adb425fd9e89a0226864cfe0b1b19a37ddb3b3c4..e24bbe90c8b5046fe122dc4480d478503364792b 100644
--- a/Code/Mantid/docs/source/algorithms/PoldiAutoCorrelation-v5.rst
+++ b/Code/Mantid/docs/source/algorithms/PoldiAutoCorrelation-v5.rst
@@ -64,3 +64,5 @@ Output:
     The correlation spectrum has 5531 data points.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PoldiCreatePeaksFromCell-v1.rst b/Code/Mantid/docs/source/algorithms/PoldiCreatePeaksFromCell-v1.rst
index d00b5ddec9c0eaf504f443f9d95dbb20af53db86..2f67cb786d7470bb2c434214317ea6e23c11bdbb 100644
--- a/Code/Mantid/docs/source/algorithms/PoldiCreatePeaksFromCell-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PoldiCreatePeaksFromCell-v1.rst
@@ -50,3 +50,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/PoldiCreatePeaksFromFile-v1.rst b/Code/Mantid/docs/source/algorithms/PoldiCreatePeaksFromFile-v1.rst
index e0733b7db2c4f1f1bd81fbb2e8b2f400410c97d8..18150a0d188af9dbb19639ef5d419f520c8bc156 100644
--- a/Code/Mantid/docs/source/algorithms/PoldiCreatePeaksFromFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PoldiCreatePeaksFromFile-v1.rst
@@ -87,3 +87,5 @@ The script produces a WorkspaceGroup which contains a table with reflections for
     Compound 2: Iron_BCC has 8 reflections in the resolution range.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PoldiDataAnalysis-v1.rst b/Code/Mantid/docs/source/algorithms/PoldiDataAnalysis-v1.rst
index 783213d115b6eb9858f003d05374c81eb9e63c64..148ab799cc0085812168e30cc24074a524569cea 100644
--- a/Code/Mantid/docs/source/algorithms/PoldiDataAnalysis-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PoldiDataAnalysis-v1.rst
@@ -72,3 +72,5 @@ This will print the following output:
 If PlotResult is changed to True, a plot of the spectrum and the residuals is created as described above.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PoldiFitPeaks1D-v1.rst b/Code/Mantid/docs/source/algorithms/PoldiFitPeaks1D-v1.rst
index 4b5c5eea469b362c00f50baf6cd6af09cb705da8..9d8cb3979ddfac36293b1188b953bce0cb9abdb6 100644
--- a/Code/Mantid/docs/source/algorithms/PoldiFitPeaks1D-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PoldiFitPeaks1D-v1.rst
@@ -56,3 +56,5 @@ Output:
     There are 14 plots available for inspection.
     
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PoldiFitPeaks1D-v2.rst b/Code/Mantid/docs/source/algorithms/PoldiFitPeaks1D-v2.rst
index 990c747c367175e2ef2f6155156612185ce53c7a..3bc77b32254857fb891e5f045efd1c4597e2f71f 100644
--- a/Code/Mantid/docs/source/algorithms/PoldiFitPeaks1D-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/PoldiFitPeaks1D-v2.rst
@@ -47,3 +47,5 @@ Variation of the `AllowedOverlap`-parameter influences the quality of the fit at
     PoldiFitPeaks1D(InputWorkspace='correlation_spectrum', FwhmMultiples=2, AllowedOverlap=0.9, PoldiPeakTable='peaks')
     
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PoldiFitPeaks2D-v1.rst b/Code/Mantid/docs/source/algorithms/PoldiFitPeaks2D-v1.rst
index e1cdc8d1590134e4b66c7f105460c7daf7d3cb2e..bdbe5fe12c815651f1f603e6bca904032a766832 100644
--- a/Code/Mantid/docs/source/algorithms/PoldiFitPeaks2D-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PoldiFitPeaks2D-v1.rst
@@ -161,3 +161,5 @@ The refined lattice parameter is printed at the end:
     Refined lattice parameter a = 5.43126 +/- 4e-05
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PoldiIndexKnownCompounds-v1.rst b/Code/Mantid/docs/source/algorithms/PoldiIndexKnownCompounds-v1.rst
index 2adc8e6f22ae2c2d64ff9a3ed3a9c99322d6032c..3b50219eae957fd925ac2ee2c1ec9c9ca2235a51 100644
--- a/Code/Mantid/docs/source/algorithms/PoldiIndexKnownCompounds-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PoldiIndexKnownCompounds-v1.rst
@@ -69,3 +69,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/PoldiLoadRuns-v1.rst b/Code/Mantid/docs/source/algorithms/PoldiLoadRuns-v1.rst
index bf30126aa373657bb697a11dec8f1851c535172a..78f96f69d11fb80637c946edd89398ec0afc5385 100644
--- a/Code/Mantid/docs/source/algorithms/PoldiLoadRuns-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PoldiLoadRuns-v1.rst
@@ -126,3 +126,5 @@ The data loaded in the first call to the algorithm have been overwritten with th
     Names of data workspaces: ['calibration_data_6904']
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PoldiMerge-v1.rst b/Code/Mantid/docs/source/algorithms/PoldiMerge-v1.rst
index e253e1d8343338a3c44620ee26d49765fda5d2e8..8c9adabb4e7c483527ce08f86e1da51b636efbe8 100644
--- a/Code/Mantid/docs/source/algorithms/PoldiMerge-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PoldiMerge-v1.rst
@@ -80,3 +80,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PoldiPeakSearch-v1.rst b/Code/Mantid/docs/source/algorithms/PoldiPeakSearch-v1.rst
index 616782c939af79b2a67fe6a013ab17094e5cd5bd..ddf3e0dbe0041f2553104a21e90d9eeb6db123a5 100644
--- a/Code/Mantid/docs/source/algorithms/PoldiPeakSearch-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PoldiPeakSearch-v1.rst
@@ -79,3 +79,5 @@ Output:
     The correlation spectrum of sample 6904 contains 14 peaks.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PoldiPeakSummary-v1.rst b/Code/Mantid/docs/source/algorithms/PoldiPeakSummary-v1.rst
index a50525cd4f72752b909e4d170a8911d9e8a92a9f..280fb99a2356ceeba6ef15272267d1479bec2b4a 100644
--- a/Code/Mantid/docs/source/algorithms/PoldiPeakSummary-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PoldiPeakSummary-v1.rst
@@ -49,3 +49,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/PoldiTruncateData-v1.rst b/Code/Mantid/docs/source/algorithms/PoldiTruncateData-v1.rst
index ef1fefb01a0781583db73b641721bd2f60789e69..d5f7edc683e0b2ca04f6db67a97267ba72317ded 100644
--- a/Code/Mantid/docs/source/algorithms/PoldiTruncateData-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PoldiTruncateData-v1.rst
@@ -74,3 +74,5 @@ Output:
     
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/PolynomialCorrection-v1.rst b/Code/Mantid/docs/source/algorithms/PolynomialCorrection-v1.rst
index 0752f456d460686844b070ccad2d42180f8b3e8e..66a67c502f50f416702998017eb509f4f2c93bdd 100644
--- a/Code/Mantid/docs/source/algorithms/PolynomialCorrection-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PolynomialCorrection-v1.rst
@@ -67,3 +67,5 @@ Usage
    First 5 error values: [   4.   16.   36.   64.  100.]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Power-v1.rst b/Code/Mantid/docs/source/algorithms/Power-v1.rst
index 2e1bad56af5b89a31d1b6618b4260dfa3ee15e9c..8f7255876acecb717dfef3da15a676d20b8fce57 100644
--- a/Code/Mantid/docs/source/algorithms/Power-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Power-v1.rst
@@ -48,3 +48,5 @@ Output:
    Squared values of second spectrum: [ 25.  36.  49.  64.]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PowerLawCorrection-v1.rst b/Code/Mantid/docs/source/algorithms/PowerLawCorrection-v1.rst
index 796b0f820226e6b47df68008d1b011e919162ab2..857b5c0168aa136950ba0162de4e483fc9a0cc71 100644
--- a/Code/Mantid/docs/source/algorithms/PowerLawCorrection-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PowerLawCorrection-v1.rst
@@ -50,3 +50,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PowerMD-v1.rst b/Code/Mantid/docs/source/algorithms/PowerMD-v1.rst
index f162b84ef0324aa1e069ddb68831b986ffec0eab..d9c9235dab872c6412438aa3433df5713be6ff41 100644
--- a/Code/Mantid/docs/source/algorithms/PowerMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PowerMD-v1.rst
@@ -20,3 +20,5 @@ This algorithm cannot be run on a
 :ref:`MatrixWorkspace <MatrixWorkspace>` is called :ref:`algm-Power`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PredictFractionalPeaks-v1.rst b/Code/Mantid/docs/source/algorithms/PredictFractionalPeaks-v1.rst
index 9566a4aa5f190dab54665759d0f91c09d770c309..70fa70f2a4d11898139fccba6ea2764868714b10 100644
--- a/Code/Mantid/docs/source/algorithms/PredictFractionalPeaks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PredictFractionalPeaks-v1.rst
@@ -41,3 +41,5 @@ Usage
    Number of fractional peaks: 117
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PredictPeaks-v1.rst b/Code/Mantid/docs/source/algorithms/PredictPeaks-v1.rst
index 68d41a026f2824917818fe915e4ee7d13df6bfe5..aec9f11244ed5df165aa7bd19808c70e9286b6d3 100644
--- a/Code/Mantid/docs/source/algorithms/PredictPeaks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PredictPeaks-v1.rst
@@ -49,3 +49,5 @@ RoundHKL=False.
 .. seealso :: Algorithm :ref:`algm-PredictFractionalPeaks`
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/PreprocessDetectorsToMD-v1.rst b/Code/Mantid/docs/source/algorithms/PreprocessDetectorsToMD-v1.rst
index f2ef5646edfefd2994de114d3d8bdd5f3a490cac..5344e98efd488bc54dda705a421eb8b9c6769daa 100644
--- a/Code/Mantid/docs/source/algorithms/PreprocessDetectorsToMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/PreprocessDetectorsToMD-v1.rst
@@ -90,3 +90,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ProcessBackground-v1.rst b/Code/Mantid/docs/source/algorithms/ProcessBackground-v1.rst
index 62ef4b185786f0d0d69011eadef2b3ea44d481ea..f1a4957b16046a06143e3081d5c1441d305508f8 100644
--- a/Code/Mantid/docs/source/algorithms/ProcessBackground-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ProcessBackground-v1.rst
@@ -361,3 +361,5 @@ Output:
   Fitted background parameters: A0 = 3.90254e+00, A1 = 1.09284e-02, Chi-square = 0.08237
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ProcessDasNexusLog-v1.rst b/Code/Mantid/docs/source/algorithms/ProcessDasNexusLog-v1.rst
index 5b13fe12cf87f1c8324267d551cb53eac980cec6..ab7f79c958359be5332cd2c3a042c4daed239145 100644
--- a/Code/Mantid/docs/source/algorithms/ProcessDasNexusLog-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ProcessDasNexusLog-v1.rst
@@ -22,3 +22,5 @@ Hence algorithm ProcessDasNexusLog is deprecated.
 No usage example is needed for a deprecated algorithm. 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ProjectMD-v1.rst b/Code/Mantid/docs/source/algorithms/ProjectMD-v1.rst
index be0f60c664a45fa1889f9809f3fb64bc0cfc48d8..5e59279a023aff1826094e7af75614fbe677a07e 100644
--- a/Code/Mantid/docs/source/algorithms/ProjectMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ProjectMD-v1.rst
@@ -85,3 +85,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Q1D-v2.rst b/Code/Mantid/docs/source/algorithms/Q1D-v2.rst
index d31726132540ed07a154bb69e5f734cd15ea4561..dcf305bb2310a51ead73b77654ac2e9ebea6e571 100644
--- a/Code/Mantid/docs/source/algorithms/Q1D-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/Q1D-v2.rst
@@ -225,3 +225,5 @@ Properties
 +---------+---------------------+-------------+-------------------+-------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Q1DWeighted-v1.rst b/Code/Mantid/docs/source/algorithms/Q1DWeighted-v1.rst
index 8e9c1ddf6c32b6765f84a6303a14f62d98fe76f0..dc9a32533cbed0a43ab5372c2c46d3ed2d61cd76 100644
--- a/Code/Mantid/docs/source/algorithms/Q1DWeighted-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Q1DWeighted-v1.rst
@@ -29,3 +29,5 @@ Usage
 This algorithm is not intended to be run individually, rather as a part of the `SANSReduction <http://www.mantidproject.org/Reduction_for_HFIR_SANS>`_.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/QLines-v1.rst b/Code/Mantid/docs/source/algorithms/QLines-v1.rst
index e6366f36bba718f9cadeea15c4b80b335183afaa..7fa831bedaa5f49d9fc69a214e1f518cb28af04b 100644
--- a/Code/Mantid/docs/source/algorithms/QLines-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/QLines-v1.rst
@@ -67,3 +67,5 @@ Usage
 		QLines(SamNumber='26176', ResNumber='26173', InputType='Workspace', ResInputType='Workspace', Instrument='irs', Analyser='graphite002', Plot='None')
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/QueryAllRemoteJobs-v1.rst b/Code/Mantid/docs/source/algorithms/QueryAllRemoteJobs-v1.rst
index 7032130a21ee733cf1c5efd15b137299794fa398..cd0d0d952d010bf4e7ea4a6a8e78c8ae43e17926 100644
--- a/Code/Mantid/docs/source/algorithms/QueryAllRemoteJobs-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/QueryAllRemoteJobs-v1.rst
@@ -17,3 +17,5 @@ For more details, see the `remote job submission API
 docs <http://www.mantidproject.org/Remote_Job_Submission_API>`_.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/QueryAllRemoteJobs-v2.rst b/Code/Mantid/docs/source/algorithms/QueryAllRemoteJobs-v2.rst
index 221906803072143613347629ffb7f66e1fd940de..2f8f0e272da67c5c367d92ff395e85c092a3f2a8 100644
--- a/Code/Mantid/docs/source/algorithms/QueryAllRemoteJobs-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/QueryAllRemoteJobs-v2.rst
@@ -34,3 +34,5 @@ the compute resource uses the Mantid remote job submission API as job
 manager (underlying remote job scheduling mechanism).
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/QueryMDWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/QueryMDWorkspace-v1.rst
index 80e6a62791cdd7331fc0570dc881bdd7b70f8bdb..7ec0026aa47265dffb7a0cbcbae61c054a5297d3 100644
--- a/Code/Mantid/docs/source/algorithms/QueryMDWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/QueryMDWorkspace-v1.rst
@@ -78,3 +78,5 @@ Usage
    |             28.0000 |              0.0000 |             28.0000 |              0.3982 |             -7.0000 |
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/QueryRemoteFile-v1.rst b/Code/Mantid/docs/source/algorithms/QueryRemoteFile-v1.rst
index ff8c27470d70d6b5480fe98062943159e97c1c45..91c5b712556f01ceac9e4734a98af0e7b1f7ba7e 100644
--- a/Code/Mantid/docs/source/algorithms/QueryRemoteFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/QueryRemoteFile-v1.rst
@@ -16,3 +16,5 @@ For more details, see the `remote job submission API
 docs <http://www.mantidproject.org/Remote_Job_Submission_API>`_.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/QueryRemoteFile-v2.rst b/Code/Mantid/docs/source/algorithms/QueryRemoteFile-v2.rst
index 786b875b6f7c3294fb9028901da6701fee00a4ed..41764288088b944962e46a178fcd4db77214b487 100644
--- a/Code/Mantid/docs/source/algorithms/QueryRemoteFile-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/QueryRemoteFile-v2.rst
@@ -31,3 +31,5 @@ the compute resource uses the Mantid remote job submission API as job
 manager (underlying remote job scheduling mechanism).
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/QueryRemoteJob-v1.rst b/Code/Mantid/docs/source/algorithms/QueryRemoteJob-v1.rst
index c43635621566c9f5c7762f40234316610a79b0e5..b8d7c1be07c403c3c6f4c8ea61b6179b6de8ceda 100644
--- a/Code/Mantid/docs/source/algorithms/QueryRemoteJob-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/QueryRemoteJob-v1.rst
@@ -16,3 +16,5 @@ For more details, see the `remote job submission API
 docs <http://www.mantidproject.org/Remote_Job_Submission_API>`_.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/QueryRemoteJob-v2.rst b/Code/Mantid/docs/source/algorithms/QueryRemoteJob-v2.rst
index 2dd887d226d75d1ff170619039d39d8b0d67c20e..8f017f8c4a23713c51f8e6e14541f1ed7c791cd3 100644
--- a/Code/Mantid/docs/source/algorithms/QueryRemoteJob-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/QueryRemoteJob-v2.rst
@@ -31,3 +31,5 @@ the compute resource uses the Mantid remote job submission API as job
 manager (underlying remote job scheduling mechanism).
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Quest-v1.rst b/Code/Mantid/docs/source/algorithms/Quest-v1.rst
index 5585a742f437f7ab0044de23f7a5c9a53e500e2f..4b02d31a3eb5a4be7da6760b8b52329f2051516b 100644
--- a/Code/Mantid/docs/source/algorithms/Quest-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Quest-v1.rst
@@ -47,3 +47,5 @@ Usage
 		Quest(SamNumber='26176', ResNumber='26173', ResNormNumber='26176', InputType='Workspace', ResInputType='Workspace', ResNormInputType='Workspace', Instrument='irs', Analyser='graphite002', )
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Qxy-v1.rst b/Code/Mantid/docs/source/algorithms/Qxy-v1.rst
index 345887424fd0fe68914e1eb27b80a37725e4b2c7..7a191f7970c4ba8532c049e839b82c8b1252de83 100644
--- a/Code/Mantid/docs/source/algorithms/Qxy-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Qxy-v1.rst
@@ -16,3 +16,5 @@ for further documentation on how this algorithm works please see
 :ref:`algm-Q1D`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/REFLReprocess-v1.rst b/Code/Mantid/docs/source/algorithms/REFLReprocess-v1.rst
index c493271a23fa3a8f0e088b77dd350a8b699a38dd..3862660e27418e3f17329aa6509e6e5da795d639 100644
--- a/Code/Mantid/docs/source/algorithms/REFLReprocess-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/REFLReprocess-v1.rst
@@ -12,3 +12,5 @@ Description
 Re-reduce REFL data for an entire experiment using saved parameters
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RRFMuon-v1.rst b/Code/Mantid/docs/source/algorithms/RRFMuon-v1.rst
index b51703b9d31b351fe03f807c9de89f4d9a68e67f..dcb22f0ce5bb92062d15907681ec153d5c3aa610 100644
--- a/Code/Mantid/docs/source/algorithms/RRFMuon-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RRFMuon-v1.rst
@@ -58,4 +58,6 @@ Output:
    -0.0
 
 
-.. categories::
\ No newline at end of file
+.. categories::
+
+.. sourcelink::
\ No newline at end of file
diff --git a/Code/Mantid/docs/source/algorithms/RadiusSum-v1.rst b/Code/Mantid/docs/source/algorithms/RadiusSum-v1.rst
index d02595a641d3d6f48e01f4d69e285350ee96cd45..36b1513aa96dae57be3cfa04bb2f9291e1c69eea 100644
--- a/Code/Mantid/docs/source/algorithms/RadiusSum-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RadiusSum-v1.rst
@@ -49,3 +49,5 @@ Workspaces attached to instruments.
    :width:  800 px
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RawFileInfo-v1.rst b/Code/Mantid/docs/source/algorithms/RawFileInfo-v1.rst
index 460c590b80fc1bbd73afec7f644edc8e8913fc76..c9e2d59a1346035c63a8d51551c13505b1e63d3c 100644
--- a/Code/Mantid/docs/source/algorithms/RawFileInfo-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RawFileInfo-v1.rst
@@ -16,3 +16,5 @@ column for each value of the ``RPB_STRUCT``, i.e. column names such as ``r_dur``
 etc. This is Mantid's version of the ``Get`` routine in `Open Genie <http://www.opengenie.org/>`__.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RayTracerTester-v1.rst b/Code/Mantid/docs/source/algorithms/RayTracerTester-v1.rst
index 3095a8d5eca82d6b9d28a3205d367e00833f3daf..251ee405ed56d618367a25d0f2caaa1036cba587 100644
--- a/Code/Mantid/docs/source/algorithms/RayTracerTester-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RayTracerTester-v1.rst
@@ -27,3 +27,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ReactorSANSResolution-v1.rst b/Code/Mantid/docs/source/algorithms/ReactorSANSResolution-v1.rst
index 117c4822c30105e746055237df584df1083134ed..d8e589d65dbe3125bd813c4fe594f77ad6e2ecd6 100644
--- a/Code/Mantid/docs/source/algorithms/ReactorSANSResolution-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ReactorSANSResolution-v1.rst
@@ -18,3 +18,5 @@ This algorithm is generally not called directly. It's called by
 after the calculation of I(Q). It can only be applied to an I(Q) workspace.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ReadGroupsFromFile-v1.rst b/Code/Mantid/docs/source/algorithms/ReadGroupsFromFile-v1.rst
index a469cdabb1613f57fc73bf1f4bf37555d57e78db..122f6f404f7e12001a44d6f3ca7d46dae439f943 100644
--- a/Code/Mantid/docs/source/algorithms/ReadGroupsFromFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ReadGroupsFromFile-v1.rst
@@ -55,3 +55,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RealFFT-v1.rst b/Code/Mantid/docs/source/algorithms/RealFFT-v1.rst
index c9697584d628f5151a5508ff861855d790dc0fd0..bdec085cdab03c8d4a058eddd58cec905415c60c 100644
--- a/Code/Mantid/docs/source/algorithms/RealFFT-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RealFFT-v1.rst
@@ -82,3 +82,5 @@ Output
   False
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Rebin-v1.rst b/Code/Mantid/docs/source/algorithms/Rebin-v1.rst
index e0aa53d8d2bd9689344ebac32e8755a347384d3b..d5fbe3119b7f8f18680f47f3fd42e8d721079681 100644
--- a/Code/Mantid/docs/source/algorithms/Rebin-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Rebin-v1.rst
@@ -194,3 +194,5 @@ Output:
 
   
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Rebin2D-v1.rst b/Code/Mantid/docs/source/algorithms/Rebin2D-v1.rst
index 9994311bda924b064c62f9ff7a9ee7125324db11..c2053994c28fb5842115ab47660dd9f5d6049ceb 100644
--- a/Code/Mantid/docs/source/algorithms/Rebin2D-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Rebin2D-v1.rst
@@ -67,3 +67,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/RebinByPulseTimes-v1.rst b/Code/Mantid/docs/source/algorithms/RebinByPulseTimes-v1.rst
index 5733bce323580ea01307c8ef72a9dbb0d139700c..fc594da0fa24e66f079365cbe19238ba3584271a 100644
--- a/Code/Mantid/docs/source/algorithms/RebinByPulseTimes-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RebinByPulseTimes-v1.rst
@@ -77,3 +77,5 @@ Output:
    X-axis relative end time in seconds:  100.0
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RebinByTimeAtSample-v1.rst b/Code/Mantid/docs/source/algorithms/RebinByTimeAtSample-v1.rst
index 148dcc2c38d788dd743b4e7df85b7954101d933f..166f073353ab8224ace2c198eba9e573f545847c 100644
--- a/Code/Mantid/docs/source/algorithms/RebinByTimeAtSample-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RebinByTimeAtSample-v1.rst
@@ -48,3 +48,5 @@ This algorithm takes the same inputs as :ref:`algm-RebinByPulseTimes`. See that
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/RebinToWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/RebinToWorkspace-v1.rst
index 88b0dd6a33e72b0e227f8fae65933a03a58fdb85..400aa5a5559d1f5c42a355fa468427044249d35b 100644
--- a/Code/Mantid/docs/source/algorithms/RebinToWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RebinToWorkspace-v1.rst
@@ -15,3 +15,5 @@ algorithm simply builds a parameter list that is passed to the
 :ref:`algm-Rebin` algorithm, which actually does the work.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Rebunch-v1.rst b/Code/Mantid/docs/source/algorithms/Rebunch-v1.rst
index aad06e8dbab1d819b7a76a257f41224debb30960..c70e0d269b9b9bfd74d443786b8e4f4a583d22a6 100644
--- a/Code/Mantid/docs/source/algorithms/Rebunch-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Rebunch-v1.rst
@@ -43,3 +43,5 @@ Output
   "Rebunched" workspace values 0.9 10.9 0.9
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RecordPythonScript-v1.rst b/Code/Mantid/docs/source/algorithms/RecordPythonScript-v1.rst
index 551423daa9eb96acd019f2f898cbae89d450e193..20b824338ffbaa3e41bafacb35fdadc7e3a953cb 100644
--- a/Code/Mantid/docs/source/algorithms/RecordPythonScript-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RecordPythonScript-v1.rst
@@ -74,3 +74,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RefLReduction-v1.rst b/Code/Mantid/docs/source/algorithms/RefLReduction-v1.rst
index c9b6fb88e1daebfd1f5ae20069f06bbdf243fa57..9a878fdd9b1fe048f9bf82dc3652f0f5d57f34a2 100644
--- a/Code/Mantid/docs/source/algorithms/RefLReduction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RefLReduction-v1.rst
@@ -12,3 +12,5 @@ Description
 Liquids Reflectometer (REFL) reduction
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RefReduction-v1.rst b/Code/Mantid/docs/source/algorithms/RefReduction-v1.rst
index f336fc3d7eb35617b85fc41bb8de1695795c0ac2..80dc19fc12e561f50c24dc3167dca157c1721745 100644
--- a/Code/Mantid/docs/source/algorithms/RefReduction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RefReduction-v1.rst
@@ -14,3 +14,5 @@ specular and off-specular reflectivity for both REFM and REFL
 instruments.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RefRoi-v1.rst b/Code/Mantid/docs/source/algorithms/RefRoi-v1.rst
index c4554e52ebb2f888fcd67c262dfcbdd19d22bef4..857c87654c0c654c7be88e6ab2e5f30a16608888 100644
--- a/Code/Mantid/docs/source/algorithms/RefRoi-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RefRoi-v1.rst
@@ -12,3 +12,5 @@ Description
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RefinePowderDiffProfileSeq-v1.rst b/Code/Mantid/docs/source/algorithms/RefinePowderDiffProfileSeq-v1.rst
index c9f8ef4025656d6ae2db026d3965776108bbb2ff..187da08e14329ba1d184fdcf33b9b60cdda28cd7 100644
--- a/Code/Mantid/docs/source/algorithms/RefinePowderDiffProfileSeq-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RefinePowderDiffProfileSeq-v1.rst
@@ -74,3 +74,5 @@ This is just a brief description for how to use this algorithm.
 | ``7. ``\ *``Save``*\ ``: save current work and history to a Nexus file.``
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RefinePowderInstrumentParameters-v3.rst b/Code/Mantid/docs/source/algorithms/RefinePowderInstrumentParameters-v3.rst
index 799d44ba01e6787c5c5dd5e187944580fbd7584d..dabb9a3335045d2417880a298ba8780e801e4bce 100644
--- a/Code/Mantid/docs/source/algorithms/RefinePowderInstrumentParameters-v3.rst
+++ b/Code/Mantid/docs/source/algorithms/RefinePowderInstrumentParameters-v3.rst
@@ -182,3 +182,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ReflectometryReductionOne-v1.rst b/Code/Mantid/docs/source/algorithms/ReflectometryReductionOne-v1.rst
index 3c18a06ad74f4102c2f5d5758518f65b931f48c1..9567fdead8c4f8512abb137f629215a1994ae016 100644
--- a/Code/Mantid/docs/source/algorithms/ReflectometryReductionOne-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ReflectometryReductionOne-v1.rst
@@ -100,3 +100,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ReflectometryReductionOneAuto-v1.rst b/Code/Mantid/docs/source/algorithms/ReflectometryReductionOneAuto-v1.rst
index 293fe7c03c1ea12eb20397e4a5c02095a359b239..0cce65d4d5d91397826b2e8058ac0d1287e328ac 100644
--- a/Code/Mantid/docs/source/algorithms/ReflectometryReductionOneAuto-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ReflectometryReductionOneAuto-v1.rst
@@ -150,3 +150,5 @@ Output:
     Coefficients: '0,0.5,1,2,3'
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Regroup-v1.rst b/Code/Mantid/docs/source/algorithms/Regroup-v1.rst
index 7b2e1d95a8110a1051c0269595329172daf44483..4bfedfb24c0c9c48a6950a67af7270aca0d80400 100644
--- a/Code/Mantid/docs/source/algorithms/Regroup-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Regroup-v1.rst
@@ -65,3 +65,5 @@ Output
   True
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RemoveBackground-v1.rst b/Code/Mantid/docs/source/algorithms/RemoveBackground-v1.rst
index d987388f2e52e1f1217d86d18a9e0acb14e0d004..674a4de1e81d322d47dc5ccde0af5672e858a847 100644
--- a/Code/Mantid/docs/source/algorithms/RemoveBackground-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RemoveBackground-v1.rst
@@ -232,3 +232,5 @@ Usage
 
   
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RemoveBins-v1.rst b/Code/Mantid/docs/source/algorithms/RemoveBins-v1.rst
index e0113ac261a4096ec505eea5ec8ab4df3ff24f70..679051664f59c26771fd076b68a81e7fde51e51d 100644
--- a/Code/Mantid/docs/source/algorithms/RemoveBins-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RemoveBins-v1.rst
@@ -80,3 +80,5 @@ Output:
    After RemoveBins [ 10.3    0.     0.     0.15   0.3 ]
    
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RemoveExpDecay-v1.rst b/Code/Mantid/docs/source/algorithms/RemoveExpDecay-v1.rst
index 2fcc4280d7a46ce8f23a64b30a0dd65b75ffbc1b..7307a59b69f6df06cd07ce3e4b48d5faa0791848 100644
--- a/Code/Mantid/docs/source/algorithms/RemoveExpDecay-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RemoveExpDecay-v1.rst
@@ -41,3 +41,5 @@ Output:
    Exp. decay removed: [-0.24271091  0.79071878 -0.05901962 -0.70332224 -0.76615428]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RemoveLogs-v1.rst b/Code/Mantid/docs/source/algorithms/RemoveLogs-v1.rst
index 8676c075b3875302af770830f0dd37525c351ede..b2b18296f0c306b6ddf1eb72e3511a255b23d7e9 100644
--- a/Code/Mantid/docs/source/algorithms/RemoveLogs-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RemoveLogs-v1.rst
@@ -40,3 +40,5 @@ Output:
    Logs left (should be empty):  []
    
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RemoveLowResTOF-v1.rst b/Code/Mantid/docs/source/algorithms/RemoveLowResTOF-v1.rst
index 30dcd3e046d1af987b347de8a1338066e0dbbba4..9b4d0bdaafe5b0dccdb55dd878b53340d74b6f73 100644
--- a/Code/Mantid/docs/source/algorithms/RemoveLowResTOF-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RemoveLowResTOF-v1.rst
@@ -30,3 +30,5 @@ it is caculated as
 :math:`tmin = sqrtdmin * sqrtdmin / dspmap`
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RemoveMaskedSpectra-v1.rst b/Code/Mantid/docs/source/algorithms/RemoveMaskedSpectra-v1.rst
index c5047c684fb86aee6178895c370496f47716ad6a..48f66e7e04ddd349be150740cce83bc1c9f7346c 100644
--- a/Code/Mantid/docs/source/algorithms/RemoveMaskedSpectra-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RemoveMaskedSpectra-v1.rst
@@ -41,3 +41,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/RemovePromptPulse-v1.rst b/Code/Mantid/docs/source/algorithms/RemovePromptPulse-v1.rst
index 340092e7c8171f7be59124d25db0d6e70eb840c3..2f4614002a3302c18f37770926700ac8d544f28f 100644
--- a/Code/Mantid/docs/source/algorithms/RemovePromptPulse-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RemovePromptPulse-v1.rst
@@ -56,3 +56,5 @@ The spectra should look like
    :alt: RemovePromptPulse.png
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RemoveWorkspaceHistory-v1.rst b/Code/Mantid/docs/source/algorithms/RemoveWorkspaceHistory-v1.rst
index 1e78290b46e098207a39bd4d817150368e4d6e23..70ca0d27c83c8f0ac6859c81288492a6dd84cad6 100644
--- a/Code/Mantid/docs/source/algorithms/RemoveWorkspaceHistory-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RemoveWorkspaceHistory-v1.rst
@@ -59,5 +59,7 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
 
 
diff --git a/Code/Mantid/docs/source/algorithms/RenameLog-v1.rst b/Code/Mantid/docs/source/algorithms/RenameLog-v1.rst
index 7b992e673217c43ec8fc9e2be753174deb13006f..192fb28465e323512696c48e01b5cf80017a861b 100644
--- a/Code/Mantid/docs/source/algorithms/RenameLog-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RenameLog-v1.rst
@@ -41,3 +41,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RenameWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/RenameWorkspace-v1.rst
index 3b0f62aee8d0512216c5730c20546e2bc491be09..a7cea8c6dbeae874dbf18e1f88916a40aeb6b155 100644
--- a/Code/Mantid/docs/source/algorithms/RenameWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RenameWorkspace-v1.rst
@@ -58,3 +58,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RenameWorkspaces-v1.rst b/Code/Mantid/docs/source/algorithms/RenameWorkspaces-v1.rst
index 0f206ba019ebf9ced3bb250b37582177d4dd31c3..99c0c80d2f72b26ab78c00b19d452d9d22669d20 100644
--- a/Code/Mantid/docs/source/algorithms/RenameWorkspaces-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RenameWorkspaces-v1.rst
@@ -83,3 +83,5 @@ Output:
    Workspaces in the ADS _after_ renaming: ['new_ws1_name', 'new_ws2_name', 'new_ws3_name']
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ReplaceSpecialValues-v1.rst b/Code/Mantid/docs/source/algorithms/ReplaceSpecialValues-v1.rst
index 0ab8e8d584ddf63f9bdc45ec7ba86daf10e0a42c..58b88c9812bb5ea7a8bb3416cf99bd65e18a33bc 100644
--- a/Code/Mantid/docs/source/algorithms/ReplaceSpecialValues-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ReplaceSpecialValues-v1.rst
@@ -59,3 +59,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ResNorm-v1.rst b/Code/Mantid/docs/source/algorithms/ResNorm-v1.rst
index 33f9724048a398f2af826bceed73a1ba89099d94..78fbb6b45b50af45cc3ff53949e32a457a619f54 100644
--- a/Code/Mantid/docs/source/algorithms/ResNorm-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ResNorm-v1.rst
@@ -54,3 +54,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ResNorm-v2.rst b/Code/Mantid/docs/source/algorithms/ResNorm-v2.rst
index ca9e6f496e2edb0523968e51e8142b61c11bda1d..e3e155c93bc5b318351959dd7a7110bfb50c0eb4 100644
--- a/Code/Mantid/docs/source/algorithms/ResNorm-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/ResNorm-v2.rst
@@ -66,3 +66,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ResampleX-v1.rst b/Code/Mantid/docs/source/algorithms/ResampleX-v1.rst
index 469e52228cf65018e06815df17383cece7f8bd55..96b4bbf0c952550b6afb780c66ad182ae7e24193 100644
--- a/Code/Mantid/docs/source/algorithms/ResampleX-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ResampleX-v1.rst
@@ -19,3 +19,5 @@ The ``LogBinning`` option calculates constant delta-X/X binning and rebins
 using that, otherwise the bins are constant width.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ResetNegatives-v1.rst b/Code/Mantid/docs/source/algorithms/ResetNegatives-v1.rst
index b886ba04e0a95f6a53ca43b3230478c71c442d3e..df5ea7243cd50554d91eacc3ec1722fc23d9086b 100644
--- a/Code/Mantid/docs/source/algorithms/ResetNegatives-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ResetNegatives-v1.rst
@@ -17,3 +17,5 @@ values that are less than zero will be set to ``ResetValue`` which has a
 default of 0.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ResizeRectangularDetector-v1.rst b/Code/Mantid/docs/source/algorithms/ResizeRectangularDetector-v1.rst
index 811b74db817b12046ef0a42400a40d9cc896e165..a39b39db74cedc56f3483989c85de87863920d62 100644
--- a/Code/Mantid/docs/source/algorithms/ResizeRectangularDetector-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ResizeRectangularDetector-v1.rst
@@ -61,3 +61,5 @@ Output:
 	bank 2 was not scaled and remains 0.08 by 0.08
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RetrieveRunInfo-v1.rst b/Code/Mantid/docs/source/algorithms/RetrieveRunInfo-v1.rst
index 5192d6b404d96f15cb4b5ee2a32c6f7c67ecea8f..37f8ce6c281cd1edeb502ac143671256c6b9733c 100644
--- a/Code/Mantid/docs/source/algorithms/RetrieveRunInfo-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RetrieveRunInfo-v1.rst
@@ -74,3 +74,5 @@ Output:
    The title of the second run is "Vanadium cylinder standard   PG002."
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RingProfile-v1.rst b/Code/Mantid/docs/source/algorithms/RingProfile-v1.rst
index c8d7a3c22c9f948e20a2406e51c98d82e2a247a9..9b2b7b0a3434637c628abf553ed6f01f99c2ad22 100644
--- a/Code/Mantid/docs/source/algorithms/RingProfile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RingProfile-v1.rst
@@ -95,3 +95,5 @@ Output:
     The RingProfile has been calculated with 200 bins
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RotateInstrumentComponent-v1.rst b/Code/Mantid/docs/source/algorithms/RotateInstrumentComponent-v1.rst
index d121be4cce051400fd82c96626f69d2fb9c0aa87..fba6d3313def1942d53612094a202677c14f06c3 100644
--- a/Code/Mantid/docs/source/algorithms/RotateInstrumentComponent-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RotateInstrumentComponent-v1.rst
@@ -111,3 +111,5 @@ Output
   The non-zero difference -0.0464531276188 is due to detector 33
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/RunPythonScript-v1.rst b/Code/Mantid/docs/source/algorithms/RunPythonScript-v1.rst
index 821f03a33e9cdd9a835484965dacd05a350ce05d..c636b7f4e17e1e7695f911c72cc31d8f3566a4c7 100644
--- a/Code/Mantid/docs/source/algorithms/RunPythonScript-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/RunPythonScript-v1.rst
@@ -46,3 +46,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SANSAbsoluteScale-v1.rst b/Code/Mantid/docs/source/algorithms/SANSAbsoluteScale-v1.rst
index 52ee866347c96c751350209ce8093e4b6caf9ec4..8f639082cdb5709eca542e668a00f1cd62b796d0 100644
--- a/Code/Mantid/docs/source/algorithms/SANSAbsoluteScale-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SANSAbsoluteScale-v1.rst
@@ -33,3 +33,5 @@ This algorithm is rarely called directly. It is called by
 :ref:`HFIRSANSReduction <algm-HFIRSANSReduction>`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SANSAzimuthalAverage1D-v1.rst b/Code/Mantid/docs/source/algorithms/SANSAzimuthalAverage1D-v1.rst
index 45ab6a48183323ac01873adf9a0065d359045606..351c5c2bc179e2886681cfcf654adff935736fcd 100644
--- a/Code/Mantid/docs/source/algorithms/SANSAzimuthalAverage1D-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SANSAzimuthalAverage1D-v1.rst
@@ -27,3 +27,5 @@ If *ComputeResolution* was set to True, the
 :ref:`ReactorSANSResolution <algm-ReactorSANSResolution>` is called.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SANSBeamFinder-v1.rst b/Code/Mantid/docs/source/algorithms/SANSBeamFinder-v1.rst
index 49dcb5644840dbf1a4f2af901937eb056de584a3..336706fff43f7304aa711b76bc32d3dd995d283f 100644
--- a/Code/Mantid/docs/source/algorithms/SANSBeamFinder-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SANSBeamFinder-v1.rst
@@ -19,3 +19,5 @@ will store previously calculated results so that the center doesn't have
 to be recalculated every time we load a new file.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SANSBeamFluxCorrection-v1.rst b/Code/Mantid/docs/source/algorithms/SANSBeamFluxCorrection-v1.rst
index 92c5a8b7364d9105f26e86d7d6f010f3437acc3c..b9e82d217bb849341eeced578d06270450e7bd9b 100644
--- a/Code/Mantid/docs/source/algorithms/SANSBeamFluxCorrection-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SANSBeamFluxCorrection-v1.rst
@@ -47,3 +47,5 @@ Output:
    The actual value of the first bin is 4.13921144273e-09.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SANSBeamSpreaderTransmission-v1.rst b/Code/Mantid/docs/source/algorithms/SANSBeamSpreaderTransmission-v1.rst
index f65700fc3c37d1cff6c12ded4535278c37ef66df..f5ec4f3ea21189d46b90c06e1ee0f065f4df4be9 100644
--- a/Code/Mantid/docs/source/algorithms/SANSBeamSpreaderTransmission-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SANSBeamSpreaderTransmission-v1.rst
@@ -36,3 +36,5 @@ This algorithm is rarely called directly. It is called by
 :ref:`HFIRSANSReduction <algm-HFIRSANSReduction>`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SANSDirectBeamTransmission-v1.rst b/Code/Mantid/docs/source/algorithms/SANSDirectBeamTransmission-v1.rst
index 1f26e8247d6d33dcae58e952424904920cda9539..9e860bf4b112570a6b21757b9d2c1f36081f67c5 100644
--- a/Code/Mantid/docs/source/algorithms/SANSDirectBeamTransmission-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SANSDirectBeamTransmission-v1.rst
@@ -39,3 +39,5 @@ This algorithm is rarely called directly. It is called by
 :ref:`HFIRSANSReduction <algm-HFIRSANSReduction>` or :ref:`EQSANSDirectBeamTransmission <algm-EQSANSDirectBeamTransmission>`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SANSMask-v1.rst b/Code/Mantid/docs/source/algorithms/SANSMask-v1.rst
index 0ad4a67c9d4a18f79015247a2026a160c44e9868..54678ab58066c2228921c440bd8b6ec2d31ffcbf 100644
--- a/Code/Mantid/docs/source/algorithms/SANSMask-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SANSMask-v1.rst
@@ -17,3 +17,5 @@ This algorithm is rarely called directly. It is called by
 :ref:`SANSReduction <algm-SANSReduction>` or :ref:`HFIRSANSReduction <algm-HFIRSANSReduction>`.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SANSReduction-v1.rst b/Code/Mantid/docs/source/algorithms/SANSReduction-v1.rst
index 8d06946810ed1b0139fcf2811da8c47c6a67fd61..572972a1d9729257766f2ca59ba113f9ad1e4bf8 100644
--- a/Code/Mantid/docs/source/algorithms/SANSReduction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SANSReduction-v1.rst
@@ -55,3 +55,5 @@ The workflow proceeds as follows:
 .. |SANSReduction.png| image:: /images/SANSReduction.png
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SANSSensitivityCorrection-v1.rst b/Code/Mantid/docs/source/algorithms/SANSSensitivityCorrection-v1.rst
index e65f0a6f3882b3ef15e7b0dac231b0192314d7de..0281a60b75eccb30f66a8a62a78a88b810acd21d 100644
--- a/Code/Mantid/docs/source/algorithms/SANSSensitivityCorrection-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SANSSensitivityCorrection-v1.rst
@@ -61,3 +61,5 @@ workflow algorithm to create a sensitivity workspace, which can then be saved an
 for EQSANS reduction as a pre-calculated sensitivity file.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SANSSolidAngleCorrection-v1.rst b/Code/Mantid/docs/source/algorithms/SANSSolidAngleCorrection-v1.rst
index 038e27ab26d4d9d7c4e404ccefd6e6088632d2b3..0e2fdebc20797bc4d0f6192cb6f616a7001ee39a 100644
--- a/Code/Mantid/docs/source/algorithms/SANSSolidAngleCorrection-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SANSSolidAngleCorrection-v1.rst
@@ -25,3 +25,5 @@ the plane defined by the beam (Z) axis and the Y-axis.
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SANSSubtract-v1.rst b/Code/Mantid/docs/source/algorithms/SANSSubtract-v1.rst
index 2a5cd8e13d34d91f33a3a56cc09052e120972bb9..b74a65c7042ff7726a6905826e3951a40b242d38 100644
--- a/Code/Mantid/docs/source/algorithms/SANSSubtract-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SANSSubtract-v1.rst
@@ -28,3 +28,5 @@ written to disk. Two files will be produced, a 4 column ASCII file and a
 CanSAS XML file.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SANSWideAngleCorrection-v1.rst b/Code/Mantid/docs/source/algorithms/SANSWideAngleCorrection-v1.rst
index 12a5b938f6ff0b67f46a542dd957b74702a28d9c..48652bc9e62bfc79678f97fa4c2bf44bec7e5da5 100644
--- a/Code/Mantid/docs/source/algorithms/SANSWideAngleCorrection-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SANSWideAngleCorrection-v1.rst
@@ -158,3 +158,5 @@ Output:
    1.000000 was corrected to 1.004997.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SCARFTomoReconstruction-v1.rst b/Code/Mantid/docs/source/algorithms/SCARFTomoReconstruction-v1.rst
index fff3b4e64b3acd44b3d9c9ee833fa668c7e8e7ad..5dc8c313a622123a276aefbeac44d2e4d995241e 100644
--- a/Code/Mantid/docs/source/algorithms/SCARFTomoReconstruction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SCARFTomoReconstruction-v1.rst
@@ -85,3 +85,5 @@ Output:
    ValueError, as expected, as it was not previously logged on
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SCDCalibratePanels-v1.rst b/Code/Mantid/docs/source/algorithms/SCDCalibratePanels-v1.rst
index 6e4da1575dcae1e432a8e12aa1a82911a08cdfc4..c0dd120839c5de857e8fe9d71e1f3749dcb2e0a8 100644
--- a/Code/Mantid/docs/source/algorithms/SCDCalibratePanels-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SCDCalibratePanels-v1.rst
@@ -131,3 +131,5 @@ Output:
     matches
     	
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SNSPowderReduction-v1.rst b/Code/Mantid/docs/source/algorithms/SNSPowderReduction-v1.rst
index 503a6bd11aa0a0e377b94566685919f7a5769fdf..ba54a060eff1bc053156cd8088c3e5b0c80e176f 100644
--- a/Code/Mantid/docs/source/algorithms/SNSPowderReduction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SNSPowderReduction-v1.rst
@@ -30,3 +30,5 @@ This is a worksflow algorithm used to process and the results of scattering expe
 Its usage sample can be found in `Mantid System tests repository <https://github.com/mantidproject/systemtests/blob/master/SystemTests/AnalysisTests/SNSPowderRedux.py>`_.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SassenaFFT-v1.rst b/Code/Mantid/docs/source/algorithms/SassenaFFT-v1.rst
index 4c7a47b8b50ef80229ac7d19bdb5a33241fde605..92b7f747f24229f85e9887117c98a09d90c490f7 100644
--- a/Code/Mantid/docs/source/algorithms/SassenaFFT-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SassenaFFT-v1.rst
@@ -104,3 +104,5 @@ Output:
     Number of spectra in fitWorkspace is: 3
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveANSTOAscii-v1.rst b/Code/Mantid/docs/source/algorithms/SaveANSTOAscii-v1.rst
index ac03764c7d9b08eb4d62339db0b44126620bad80..e2e72d58ea211b00f0ee68e6ccbf3007e962b464 100644
--- a/Code/Mantid/docs/source/algorithms/SaveANSTOAscii-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveANSTOAscii-v1.rst
@@ -53,3 +53,5 @@ Output:
     File Exists: True
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveAscii-v1.rst b/Code/Mantid/docs/source/algorithms/SaveAscii-v1.rst
index 949a64c262ef9f7b6fcf6b800c9850de8e245177..2e75a29c45cc607e1441f252a37472370acfd23a 100644
--- a/Code/Mantid/docs/source/algorithms/SaveAscii-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveAscii-v1.rst
@@ -22,3 +22,5 @@ spectra (i.e. is not a `ragged workspace <Ragged Workspace>`__). Only
 the X values from the first spectrum in the workspace are saved out.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveAscii-v2.rst b/Code/Mantid/docs/source/algorithms/SaveAscii-v2.rst
index edc34add1b358d2298ac76e0a4cbbdd40d7dc799..7ed94696961b5829734cf9f46cd3d636a7ca0857 100644
--- a/Code/Mantid/docs/source/algorithms/SaveAscii-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveAscii-v2.rst
@@ -125,3 +125,5 @@ Output:
     File Exists: True
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveCSV-v1.rst b/Code/Mantid/docs/source/algorithms/SaveCSV-v1.rst
index 75fc7a219c220655665e9d13c6626d208c26c619..627b3ca39867c205293d3cdb3348505487ecf2ba 100644
--- a/Code/Mantid/docs/source/algorithms/SaveCSV-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveCSV-v1.rst
@@ -56,3 +56,5 @@ Usage
   os.remove(filePath)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveCalFile-v1.rst b/Code/Mantid/docs/source/algorithms/SaveCalFile-v1.rst
index 847cb7afebd12489532fdae1e213bfea81d9a452..e2e9171111bedd74aef6a602065c1ba4a6bfbf1e 100644
--- a/Code/Mantid/docs/source/algorithms/SaveCalFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveCalFile-v1.rst
@@ -37,3 +37,5 @@ The format is
 :ref:`algm-LoadCalFile`
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveCanSAS1D-v1.rst b/Code/Mantid/docs/source/algorithms/SaveCanSAS1D-v1.rst
index 3387053be1ca629a5f20b3e6c7bb290ada68f0c6..975f02de45b3022ae48f19eb6383a8bf3fb3afcf 100644
--- a/Code/Mantid/docs/source/algorithms/SaveCanSAS1D-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveCanSAS1D-v1.rst
@@ -67,3 +67,5 @@ Output:
    Contents of the file = [ 9.  5.  7.].
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveCanSAS1D-v2.rst b/Code/Mantid/docs/source/algorithms/SaveCanSAS1D-v2.rst
index 0ab5294fcf611024b9947f561a44ff9b9f159344..5ee3428c800c831f477a80bb91e27955bd7d7819 100644
--- a/Code/Mantid/docs/source/algorithms/SaveCanSAS1D-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveCanSAS1D-v2.rst
@@ -67,3 +67,5 @@ Output:
    Contents of the file = [ 9.  5.  7.].
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveDaveGrp-v1.rst b/Code/Mantid/docs/source/algorithms/SaveDaveGrp-v1.rst
index c48964d4bbb970029ad6303412be86216f7188de..94501913cd804dd405ee295da9c80fab39e9a29d 100644
--- a/Code/Mantid/docs/source/algorithms/SaveDaveGrp-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveDaveGrp-v1.rst
@@ -53,3 +53,5 @@ Output:
     os.remove(savefile)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveDetectorsGrouping-v1.rst b/Code/Mantid/docs/source/algorithms/SaveDetectorsGrouping-v1.rst
index 24e1cbf9153b5a2dcedd70633009b96cef666423..8851982509c02aa917ee50839a455fab08202caf 100644
--- a/Code/Mantid/docs/source/algorithms/SaveDetectorsGrouping-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveDetectorsGrouping-v1.rst
@@ -64,3 +64,5 @@ Output:
    os.remove(save_path)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveDiffCal-v1.rst b/Code/Mantid/docs/source/algorithms/SaveDiffCal-v1.rst
index 9fd51fa3c8afeefe9fdf83a0cf0ebcee7caf2bb6..fa6f577ccbee2fda17d92538d9a919a33210893d 100644
--- a/Code/Mantid/docs/source/algorithms/SaveDiffCal-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveDiffCal-v1.rst
@@ -15,3 +15,5 @@ This algorithm saves a :ref:`diffraction calibration workspace
 ``GroupingWorkspace`` from a hdf5 file.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveDspacemap-v1.rst b/Code/Mantid/docs/source/algorithms/SaveDspacemap-v1.rst
index 0980ecacbe63f126100a38bc4c5b6faeecb0eb29..e7a32b538cf0510df5016142feb0b89ffc50b45d 100644
--- a/Code/Mantid/docs/source/algorithms/SaveDspacemap-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveDspacemap-v1.rst
@@ -43,5 +43,7 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
 
 
diff --git a/Code/Mantid/docs/source/algorithms/SaveFocusedXYE-v1.rst b/Code/Mantid/docs/source/algorithms/SaveFocusedXYE-v1.rst
index f4b7a46d64052ded3229f1c7b69a786d13f39530..e56f6ef981a36c7b9198141f9ce275ecad77a485 100644
--- a/Code/Mantid/docs/source/algorithms/SaveFocusedXYE-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveFocusedXYE-v1.rst
@@ -101,3 +101,5 @@ Output:
     removeFiles([file_name])
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveFullprofResolution-v1.rst b/Code/Mantid/docs/source/algorithms/SaveFullprofResolution-v1.rst
index db580c06660bb879dd3dd9cb833f3175a4e68208..621a9cc84bc86d2519290c2fec722ee3bd8d3cc9 100644
--- a/Code/Mantid/docs/source/algorithms/SaveFullprofResolution-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveFullprofResolution-v1.rst
@@ -90,5 +90,7 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
 
 
diff --git a/Code/Mantid/docs/source/algorithms/SaveGSASInstrumentFile-v1.rst b/Code/Mantid/docs/source/algorithms/SaveGSASInstrumentFile-v1.rst
index 15cea7377bd2c7c0c7e8a9e87e56d266cd2a7831..ba6570f832b3eb5cf1e97c93f78dff2a6e43351e 100644
--- a/Code/Mantid/docs/source/algorithms/SaveGSASInstrumentFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveGSASInstrumentFile-v1.rst
@@ -110,3 +110,5 @@ Output:
   Line 305:  INS  1PAB590   0.00213   0.46016   1.99061  -3.12296
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveGSS-v1.rst b/Code/Mantid/docs/source/algorithms/SaveGSS-v1.rst
index cc048c80acba645fb4955c8dfde6bb530f1f87cf..2205403aacf1c66e925e2b87abf02950d05fb8c1 100644
--- a/Code/Mantid/docs/source/algorithms/SaveGSS-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveGSS-v1.rst
@@ -111,3 +111,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveHKL-v1.rst b/Code/Mantid/docs/source/algorithms/SaveHKL-v1.rst
index d876d7a31cb942db3685e62318b7c44b82c870bf..7b103d4b16fdbeac5e5e4f0966036d7fca27d6ec 100644
--- a/Code/Mantid/docs/source/algorithms/SaveHKL-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveHKL-v1.rst
@@ -115,3 +115,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveILLCosmosAscii-v1.rst b/Code/Mantid/docs/source/algorithms/SaveILLCosmosAscii-v1.rst
index 46cdef66dc8cbdb6bc3ac046cc3c500289c88b0a..e232d1f046f643587c870edc48a457dbd1eea682 100644
--- a/Code/Mantid/docs/source/algorithms/SaveILLCosmosAscii-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveILLCosmosAscii-v1.rst
@@ -53,3 +53,5 @@ Output:
     File Exists: True
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveISISNexus-v1.rst b/Code/Mantid/docs/source/algorithms/SaveISISNexus-v1.rst
index c4554e52ebb2f888fcd67c262dfcbdd19d22bef4..857c87654c0c654c7be88e6ab2e5f30a16608888 100644
--- a/Code/Mantid/docs/source/algorithms/SaveISISNexus-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveISISNexus-v1.rst
@@ -12,3 +12,5 @@ Description
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveIsawDetCal-v1.rst b/Code/Mantid/docs/source/algorithms/SaveIsawDetCal-v1.rst
index 9a5debd0cfad53df05ac4856c3e5aa7ab8fdc725..39cb1d6e763b51478f9bf072758c3f7153267e58 100644
--- a/Code/Mantid/docs/source/algorithms/SaveIsawDetCal-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveIsawDetCal-v1.rst
@@ -48,3 +48,5 @@ Example file::
   5     58    256    256  15.8190  15.9019  0.2000  46.09  -37.1034   24.4895   12.1518  0.14449  0.59693 -0.78918  0.58774  0.58984  0.55376
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveIsawPeaks-v1.rst b/Code/Mantid/docs/source/algorithms/SaveIsawPeaks-v1.rst
index 19e0858e28f752f2930b7e88683b5e52a434da30..92821a48a1e640f70a43fe7b667c7d9232e59387 100644
--- a/Code/Mantid/docs/source/algorithms/SaveIsawPeaks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveIsawPeaks-v1.rst
@@ -71,3 +71,5 @@ Output
   os.remove( isawPeaksFilePath )
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveIsawQvector-v1.rst b/Code/Mantid/docs/source/algorithms/SaveIsawQvector-v1.rst
index 3ab04f1a5cec83d2bf91d9d858b11e4dab496dfa..be2e824c08ebd3b9e359736f60be9f661d934968 100644
--- a/Code/Mantid/docs/source/algorithms/SaveIsawQvector-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveIsawQvector-v1.rst
@@ -13,3 +13,5 @@ This takes an unprocessed event workspace and writes out a file where
 each event has the :math:`(Q_x, Q_y, Q_z)` as a set of 32-bit floats.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveIsawUB-v1.rst b/Code/Mantid/docs/source/algorithms/SaveIsawUB-v1.rst
index 8d433f5be779e8fd63ddd6a67d0f29da405549a4..8e9e2b4f95953b4796f463c8d6421e3fb4ebab3f 100644
--- a/Code/Mantid/docs/source/algorithms/SaveIsawUB-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveIsawUB-v1.rst
@@ -63,3 +63,5 @@ Output:
     The third line is 0.2 0 0
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveLauenorm-v1.rst b/Code/Mantid/docs/source/algorithms/SaveLauenorm-v1.rst
index 47b87ce1e87ddb2c57d00f07fe0d0275cce479ed..9e784105ce2de4728e6877695b1a81dc0e4310c5 100644
--- a/Code/Mantid/docs/source/algorithms/SaveLauenorm-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveLauenorm-v1.rst
@@ -99,3 +99,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveMD-v1.rst b/Code/Mantid/docs/source/algorithms/SaveMD-v1.rst
index ec5c6809b7d5a5623dfa7cdfae2ab7f78b5c9c62..00a57664583f208fe75edbbaf8d186b476cf4374 100644
--- a/Code/Mantid/docs/source/algorithms/SaveMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveMD-v1.rst
@@ -45,3 +45,5 @@ Output:
     os.remove(savefile)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveMD-v2.rst b/Code/Mantid/docs/source/algorithms/SaveMD-v2.rst
index 2f58ba31b373adcbff21435dabc55257441931fe..1476e21e64967dc1cfcea7d43c586793a5741ca6 100644
--- a/Code/Mantid/docs/source/algorithms/SaveMD-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveMD-v2.rst
@@ -45,3 +45,5 @@ Output:
     os.remove(savefile)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveMask-v1.rst b/Code/Mantid/docs/source/algorithms/SaveMask-v1.rst
index 9a1e229a56d3770a53be54471040b52b2079f966..aafebd61894d22b608b0022eefa2aaf417f7fb66 100644
--- a/Code/Mantid/docs/source/algorithms/SaveMask-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveMask-v1.rst
@@ -55,3 +55,5 @@ Example 1:
    </detector-masking>
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveNISTDAT-v1.rst b/Code/Mantid/docs/source/algorithms/SaveNISTDAT-v1.rst
index 2ac5f67369b850f89d94a9645ae1f215c5b179cf..737c0665dd65fe79257678200e58226efb88846c 100644
--- a/Code/Mantid/docs/source/algorithms/SaveNISTDAT-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveNISTDAT-v1.rst
@@ -47,3 +47,5 @@ Output:
    The data read back in is [-0.0735 -0.0735 -0.0735 ...,  0.0685  0.0685  0.0685]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveNXSPE-v1.rst b/Code/Mantid/docs/source/algorithms/SaveNXSPE-v1.rst
index f1c42486429471337392e75bffbbf61b893df6ce..895f278c85a2ade51502891112054fd1923dcb62 100644
--- a/Code/Mantid/docs/source/algorithms/SaveNXSPE-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveNXSPE-v1.rst
@@ -74,3 +74,5 @@ Output:
    
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveNXTomo-v1.rst b/Code/Mantid/docs/source/algorithms/SaveNXTomo-v1.rst
index f68f0d1a0dc32def01c1652efdf52e0b526bcf7b..495f186f21cc0f4ad54e533177a688c690279d15 100644
--- a/Code/Mantid/docs/source/algorithms/SaveNXTomo-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveNXTomo-v1.rst
@@ -55,3 +55,5 @@ definition
 but extensions and/or different variants might be added in the future.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveNexus-v1.rst b/Code/Mantid/docs/source/algorithms/SaveNexus-v1.rst
index 3c9a59a8f59017f2da50bc17ed2325cc092a3a3a..dd22495bd16685e41a92d91df0af6d4c053480a9 100644
--- a/Code/Mantid/docs/source/algorithms/SaveNexus-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveNexus-v1.rst
@@ -57,3 +57,5 @@ Usage
   os.remove(filePath)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveNexusProcessed-v1.rst b/Code/Mantid/docs/source/algorithms/SaveNexusProcessed-v1.rst
index 5dead787512b7125fb002fad3dc8862958c69b9d..b8925d8a4b1b027a3cd1a3d0be4a449f42beb808 100644
--- a/Code/Mantid/docs/source/algorithms/SaveNexusProcessed-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveNexusProcessed-v1.rst
@@ -154,3 +154,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SavePAR-v1.rst b/Code/Mantid/docs/source/algorithms/SavePAR-v1.rst
index 1fa9b381ded40e3877ce1af0a9d402d9b9221d56..075d7495cd7ca89366f5e23226357a01291ea5e6 100644
--- a/Code/Mantid/docs/source/algorithms/SavePAR-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SavePAR-v1.rst
@@ -70,3 +70,5 @@ Usage
    target file exists? True
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SavePDFGui-v1.rst b/Code/Mantid/docs/source/algorithms/SavePDFGui-v1.rst
index f81febe8d360da47932a45b170825fdb91fc4a9e..6bdb8bc8ae173857f61053e9a823726c56ce5ca5 100644
--- a/Code/Mantid/docs/source/algorithms/SavePDFGui-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SavePDFGui-v1.rst
@@ -55,3 +55,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/SavePHX-v1.rst b/Code/Mantid/docs/source/algorithms/SavePHX-v1.rst
index 735f21bae49b4af0173301d48227dddba8682d37..abf97197231823f782587e0c9e7222411a56581c 100644
--- a/Code/Mantid/docs/source/algorithms/SavePHX-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SavePHX-v1.rst
@@ -77,3 +77,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveParameterFile-v1.rst b/Code/Mantid/docs/source/algorithms/SaveParameterFile-v1.rst
index c8de626682f4dde9a526eaed757713c3fcdd2756..006d1142a8cebf5160fe5da8db9853cc8bde1b62 100644
--- a/Code/Mantid/docs/source/algorithms/SaveParameterFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveParameterFile-v1.rst
@@ -59,3 +59,5 @@ Example Output::
     </parameter-file>
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SavePlot1D-v1.rst b/Code/Mantid/docs/source/algorithms/SavePlot1D-v1.rst
index 2e5563e5eee572cf3746b1b55b1c36fac947a8c8..4c290baa439d59868f3640c37a08554ba64347fa 100644
--- a/Code/Mantid/docs/source/algorithms/SavePlot1D-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SavePlot1D-v1.rst
@@ -63,3 +63,5 @@ The file should look like
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveRKH-v1.rst b/Code/Mantid/docs/source/algorithms/SaveRKH-v1.rst
index ebaf8e47db4de0170c1f643991e9f59ba134487c..ae8363f1c55e514eb7fdfb16b24722c82d2dbc63 100644
--- a/Code/Mantid/docs/source/algorithms/SaveRKH-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveRKH-v1.rst
@@ -51,3 +51,5 @@ Output:
    Contents of the file  = [ 8.  4.  9.  7.]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveReflCustomAscii-v1.rst b/Code/Mantid/docs/source/algorithms/SaveReflCustomAscii-v1.rst
index 2a73c269771a3a5b9e21126e8d0bfd65512a7bd3..96a531afc3f8a967ad360f0e20eb7cedef9a009c 100644
--- a/Code/Mantid/docs/source/algorithms/SaveReflCustomAscii-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveReflCustomAscii-v1.rst
@@ -16,3 +16,5 @@ separated by spaces. This is used by the reflectometry interface.
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveReflTBL-v1.rst b/Code/Mantid/docs/source/algorithms/SaveReflTBL-v1.rst
index 73d7802be4305bba3a16e0cfb247f1b1c02d20ad..c8869136c7a2a9402daaa23dfc972314f6e1c973 100644
--- a/Code/Mantid/docs/source/algorithms/SaveReflTBL-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveReflTBL-v1.rst
@@ -86,3 +86,5 @@ Output:
     File Exists: True
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveReflThreeColumnAscii-v1.rst b/Code/Mantid/docs/source/algorithms/SaveReflThreeColumnAscii-v1.rst
index 142cc42f3aa02a242917cd89e445b9c87b3484fa..842b71090339f8b9de0e0ffc4896bb7edb31cf8b 100644
--- a/Code/Mantid/docs/source/algorithms/SaveReflThreeColumnAscii-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveReflThreeColumnAscii-v1.rst
@@ -15,3 +15,5 @@ separated by spaces. This is used by the reflectometry interface.
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveSPE-v1.rst b/Code/Mantid/docs/source/algorithms/SaveSPE-v1.rst
index cd2ddb5b7fe47b6be56167af8d9517ccab3b8c86..7c3f253c58c7e6aaf0b81420019af492503f416f 100644
--- a/Code/Mantid/docs/source/algorithms/SaveSPE-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveSPE-v1.rst
@@ -116,4 +116,6 @@ Output:
 
     File Exists: True
 
-.. categories::
\ No newline at end of file
+.. categories::
+
+.. sourcelink::
\ No newline at end of file
diff --git a/Code/Mantid/docs/source/algorithms/SaveSavuTomoConfig-v1.rst b/Code/Mantid/docs/source/algorithms/SaveSavuTomoConfig-v1.rst
index ab6fbbf5ba4efb2cea000a4b331cdd94d07e86dd..ddedb427278642ff1e692c66c14096309217b83a 100644
--- a/Code/Mantid/docs/source/algorithms/SaveSavuTomoConfig-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveSavuTomoConfig-v1.rst
@@ -62,3 +62,5 @@ Output:
    Save result:  True
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveToSNSHistogramNexus-v1.rst b/Code/Mantid/docs/source/algorithms/SaveToSNSHistogramNexus-v1.rst
index c51e60c94c82c8bcbdeed9ce4fc03a5f3754e1c1..68823837e149993964376f9ac8c6e0028c8d1bed 100644
--- a/Code/Mantid/docs/source/algorithms/SaveToSNSHistogramNexus-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveToSNSHistogramNexus-v1.rst
@@ -31,3 +31,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveVTK-v1.rst b/Code/Mantid/docs/source/algorithms/SaveVTK-v1.rst
index e8331b8be8e9bba2a6f471886915e0fd72541206..b0bc1962e20bdd43df82d7b7936faa62fd8ea864 100644
--- a/Code/Mantid/docs/source/algorithms/SaveVTK-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveVTK-v1.rst
@@ -16,3 +16,5 @@ histograms. It should only be used for relatively small data sets as the
 resulting file can become quite large relatively quickly.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveVulcanGSS-v1.rst b/Code/Mantid/docs/source/algorithms/SaveVulcanGSS-v1.rst
index 5e66eb2469a8f765f9fa75f3a7c40ee8c656cba9..d526994de1b97531e5977b993ed418f1eed82bfa 100644
--- a/Code/Mantid/docs/source/algorithms/SaveVulcanGSS-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveVulcanGSS-v1.rst
@@ -72,3 +72,5 @@ Output:
   ... ...
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SaveZODS-v1.rst b/Code/Mantid/docs/source/algorithms/SaveZODS-v1.rst
index 7a1cc0bc1e6d2b4ad337731d4156e7e823b3c8d6..93a8ac20ea27c6691229e0f0b21ddddc9ade9b54 100644
--- a/Code/Mantid/docs/source/algorithms/SaveZODS-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SaveZODS-v1.rst
@@ -97,3 +97,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Scale-v1.rst b/Code/Mantid/docs/source/algorithms/Scale-v1.rst
index 331b5900958a0bdda8dbcce404218baaa82603e8..d32cdb66b0b85017e682e4fbd39163db3b123b6e 100644
--- a/Code/Mantid/docs/source/algorithms/Scale-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Scale-v1.rst
@@ -79,3 +79,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ScaleX-v1.rst b/Code/Mantid/docs/source/algorithms/ScaleX-v1.rst
index 1fd64266eefd3fcbd6f05f49b308a5ef7b157f5f..26ed1ca5760c8ec2e4835c6de086d62057a956c1 100644
--- a/Code/Mantid/docs/source/algorithms/ScaleX-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ScaleX-v1.rst
@@ -51,3 +51,5 @@ Output:
     sigma=0.10
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SelectCellOfType-v1.rst b/Code/Mantid/docs/source/algorithms/SelectCellOfType-v1.rst
index d3b04a7ab37fdac3e5f8a0e9c13e85813a831639..afb8c027fbddf37d127c9bab914059e53b40e5a1 100644
--- a/Code/Mantid/docs/source/algorithms/SelectCellOfType-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SelectCellOfType-v1.rst
@@ -56,3 +56,5 @@ Output:
    14.1310511523 19.247332564 8.60581864273 89.8811706749 105.07133377 89.970386662
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SelectCellWithForm-v1.rst b/Code/Mantid/docs/source/algorithms/SelectCellWithForm-v1.rst
index 3433b925001ac62fe0ff86b4cb6927bbbb586fad..1c6b8c5a32d60a1e95e623ed7193611e4e66d1db 100644
--- a/Code/Mantid/docs/source/algorithms/SelectCellWithForm-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SelectCellWithForm-v1.rst
@@ -56,3 +56,5 @@ Output:
    14.1310511523 19.247332564 8.60581864273 89.8811706749 105.07133377 89.970386662
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SelectPowderDiffPeaks-v1.rst b/Code/Mantid/docs/source/algorithms/SelectPowderDiffPeaks-v1.rst
index 5830462ac3197440d1c7320d24c8f2632de5d048..78b4409b3ec689e4797efc088f267ad81e619c0a 100644
--- a/Code/Mantid/docs/source/algorithms/SelectPowderDiffPeaks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SelectPowderDiffPeaks-v1.rst
@@ -21,3 +21,5 @@ has been implemented.
 There won't be any usage example for SelectPowderDiffPeaks because it is deprecated. 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SendUsage-v1.rst b/Code/Mantid/docs/source/algorithms/SendUsage-v1.rst
index 4b7333cbce4e1f12202db301cef15d73907ee7e1..4ee6bc47626103e66f184585c46d11662375b3b2 100644
--- a/Code/Mantid/docs/source/algorithms/SendUsage-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SendUsage-v1.rst
@@ -18,3 +18,5 @@ statistics to a central server. To disable it set the user property
    usagereports.enabled=0
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SetGoniometer-v1.rst b/Code/Mantid/docs/source/algorithms/SetGoniometer-v1.rst
index 60f6d026088ac5742b010a58a5fad77dccb088f6..7e716a11e342f278fd29d61f93502fb2746648bc 100644
--- a/Code/Mantid/docs/source/algorithms/SetGoniometer-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SetGoniometer-v1.rst
@@ -70,3 +70,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SetInstrumentParameter-v1.rst b/Code/Mantid/docs/source/algorithms/SetInstrumentParameter-v1.rst
index 23330856243bd06e7a1758338bcad0b6dcc67f23..66eed6d6760766340b54465b204fba773ff67548 100644
--- a/Code/Mantid/docs/source/algorithms/SetInstrumentParameter-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SetInstrumentParameter-v1.rst
@@ -104,3 +104,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SetMDUsingMask-v1.rst b/Code/Mantid/docs/source/algorithms/SetMDUsingMask-v1.rst
index 65bc95bd65d8ca7669c9500c373efc97738de4b8..1c82ef7a0380cf25081f53770b69e2249071cdb7 100644
--- a/Code/Mantid/docs/source/algorithms/SetMDUsingMask-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SetMDUsingMask-v1.rst
@@ -34,3 +34,5 @@ Usage (Python)
 | ``ModifiedWS = SetMDUsingMask(InputWorkspace=WS, Value="0", MaskWorkspace=MaskWS)``
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SetSampleMaterial-v1.rst b/Code/Mantid/docs/source/algorithms/SetSampleMaterial-v1.rst
index 152a1b635c69f800e1b917c425e5ed896e439f9d..afdff0403c38566e1da80fc0262fa0b56f0a187b 100644
--- a/Code/Mantid/docs/source/algorithms/SetSampleMaterial-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SetSampleMaterial-v1.rst
@@ -93,3 +93,5 @@ The data used in this algorithm comes from the following paper.
    `doi: 10.1107/S0021889887087028 <http://dx.doi.org/10.1107/S0021889887087028>`_
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SetScalingPSD-v1.rst b/Code/Mantid/docs/source/algorithms/SetScalingPSD-v1.rst
index ffe4351f796620fa3278f6300902b041fa2baaad..2e4d21652095f9296fdad9eed4247bc22d953027 100644
--- a/Code/Mantid/docs/source/algorithms/SetScalingPSD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SetScalingPSD-v1.rst
@@ -73,3 +73,5 @@ ChildAlgorithms used
 None
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SetSpecialCoordinates-v1.rst b/Code/Mantid/docs/source/algorithms/SetSpecialCoordinates-v1.rst
index ab7004a3f69e89673350ec8af55a410869efa8d2..8fc2df29a2fc4ccd2a120eaf7e2720d4b9dcac09 100644
--- a/Code/Mantid/docs/source/algorithms/SetSpecialCoordinates-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SetSpecialCoordinates-v1.rst
@@ -30,3 +30,5 @@ flags are new, and legacy workspaces will need to be corrected in order
 for them to work as expected with the Mantid tools.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SetUB-v1.rst b/Code/Mantid/docs/source/algorithms/SetUB-v1.rst
index 0709e85fd2cb5f1dc33ef5c4ea0d9bbd9a565fdb..6f97b00fab1c40b5096746664abe204ac2bd8926 100644
--- a/Code/Mantid/docs/source/algorithms/SetUB-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SetUB-v1.rst
@@ -55,3 +55,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SetUncertainties-v1.rst b/Code/Mantid/docs/source/algorithms/SetUncertainties-v1.rst
index 32c241c9aa4e9627d5bc69512491820aa3f20ab4..9a7843eb76ae27dcbfa823b5f18ffdf01568df1f 100644
--- a/Code/Mantid/docs/source/algorithms/SetUncertainties-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SetUncertainties-v1.rst
@@ -15,3 +15,5 @@ The uncertainties for the entire workspace will be recalculated according to the
 - ``SetError"sqrt"`` will recalculate all of the uncertainties to be the square root of the y value
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SetupEQSANSReduction-v1.rst b/Code/Mantid/docs/source/algorithms/SetupEQSANSReduction-v1.rst
index 99cee7cfdc30af396130cee737fd9ddb7eada393..0473eefc42b8be532820090f0fadd0945a1e781f 100644
--- a/Code/Mantid/docs/source/algorithms/SetupEQSANSReduction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SetupEQSANSReduction-v1.rst
@@ -16,3 +16,5 @@ PropertyManagerDataService.
 See :ref:`SANSReduction <algm-SANSReduction>` for details.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SetupHFIRReduction-v1.rst b/Code/Mantid/docs/source/algorithms/SetupHFIRReduction-v1.rst
index f10f5f14ab3613842d79d2dcbd6fb807fde7c520..c99561635efba677b089a8b4cdb2782dc814bab8 100644
--- a/Code/Mantid/docs/source/algorithms/SetupHFIRReduction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SetupHFIRReduction-v1.rst
@@ -16,3 +16,5 @@ PropertyManagerDataService.
 See :ref:`HFIRSANSReduction <algm-HFIRSANSReduction>` for details.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SetupILLD33Reduction-v1.rst b/Code/Mantid/docs/source/algorithms/SetupILLD33Reduction-v1.rst
index a45cf9b58dc81a0365e6463d4b8352f083eeff62..3077cd0e02d0fa4ed973968a23b7d37794c268aa 100644
--- a/Code/Mantid/docs/source/algorithms/SetupILLD33Reduction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SetupILLD33Reduction-v1.rst
@@ -89,3 +89,5 @@ Output:
 	This workspace has 2 dimensions and has 1 histograms.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ShiftLogTime-v1.rst b/Code/Mantid/docs/source/algorithms/ShiftLogTime-v1.rst
index 86373fc35490c41488bbe3cec48e1bdc438d62f1..53d9da60e4c4619bc9a886b766b3801eb98cde37 100644
--- a/Code/Mantid/docs/source/algorithms/ShiftLogTime-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ShiftLogTime-v1.rst
@@ -45,3 +45,5 @@ Output:
     
     
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ShowPeakHKLOffsets-v1.rst b/Code/Mantid/docs/source/algorithms/ShowPeakHKLOffsets-v1.rst
index 846af13dc132b67a4979c59d0e518c0c649d0288..886b1efc0a63a37dce6fd56755f9aadc3e98fdd2 100644
--- a/Code/Mantid/docs/source/algorithms/ShowPeakHKLOffsets-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ShowPeakHKLOffsets-v1.rst
@@ -56,3 +56,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ShowPossibleCells-v1.rst b/Code/Mantid/docs/source/algorithms/ShowPossibleCells-v1.rst
index f790794f877de2965a2c6f6ff7fa77d3e449fa95..5bda7b8703b230c8418c6261cb7e7b59b323d284 100644
--- a/Code/Mantid/docs/source/algorithms/ShowPossibleCells-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ShowPossibleCells-v1.rst
@@ -47,3 +47,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SignalOverError-v1.rst b/Code/Mantid/docs/source/algorithms/SignalOverError-v1.rst
index e166e66107becbc8a2ab11bdef835e3c7bf7460c..7af4426cfe1ff071cd4055ccbdc6966ff4ebb995 100644
--- a/Code/Mantid/docs/source/algorithms/SignalOverError-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SignalOverError-v1.rst
@@ -49,3 +49,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SimulateResolutionConvolvedModel-v1.rst b/Code/Mantid/docs/source/algorithms/SimulateResolutionConvolvedModel-v1.rst
index a5f1546193ff0ad35f678fd6e47d629bb0af94c1..29ff13b3c9aeb631a6d753fe5f31b71ecc218679 100644
--- a/Code/Mantid/docs/source/algorithms/SimulateResolutionConvolvedModel-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SimulateResolutionConvolvedModel-v1.rst
@@ -12,3 +12,5 @@ Description
 Runs a simulation of a model with a selected resolution function.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SliceMD-v1.rst b/Code/Mantid/docs/source/algorithms/SliceMD-v1.rst
index f3967560a5eb20f622215bef3aa91b5e1f8ba43d..446ffbc44a9645f06ba4cc6961af858998aa04b9 100644
--- a/Code/Mantid/docs/source/algorithms/SliceMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SliceMD-v1.rst
@@ -124,6 +124,8 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
 
 
 
diff --git a/Code/Mantid/docs/source/algorithms/SliceMDHisto-v1.rst b/Code/Mantid/docs/source/algorithms/SliceMDHisto-v1.rst
index e9e5528f9b00d1645da5b07b2a400c9606b089c9..1c35317af649fcf70a6da75ea86fbc12b5a6c985 100644
--- a/Code/Mantid/docs/source/algorithms/SliceMDHisto-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SliceMDHisto-v1.rst
@@ -71,3 +71,5 @@ Usage
     C      7      -9.00   5.78
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SmoothData-v1.rst b/Code/Mantid/docs/source/algorithms/SmoothData-v1.rst
index 2169ec59010d93d1e52b8def070a4a617dde8c03..c958fa0d90ad99a92b687dfd1f6ac35be4cdce72 100644
--- a/Code/Mantid/docs/source/algorithms/SmoothData-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SmoothData-v1.rst
@@ -50,3 +50,5 @@ Example 2: use different NPoints for groups of spectra
   smooth = SmoothData( ws, [3,5], GroupingWorkspace='gr')
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SmoothMD-v1.rst b/Code/Mantid/docs/source/algorithms/SmoothMD-v1.rst
index 57ac9b1775402e29a0e426e15184f763389176f3..b7a6b03d5526ba6fd1c6891b6b120314a7c27201 100644
--- a/Code/Mantid/docs/source/algorithms/SmoothMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SmoothMD-v1.rst
@@ -55,3 +55,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/SmoothNeighbours-v1.rst b/Code/Mantid/docs/source/algorithms/SmoothNeighbours-v1.rst
index 72dec695dd5dea739343dbffebb8726434d390cc..2ac607d8fc459191e2f69a696c656585635d78b5 100644
--- a/Code/Mantid/docs/source/algorithms/SmoothNeighbours-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SmoothNeighbours-v1.rst
@@ -309,3 +309,5 @@ Output:
     [ 8.]]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SofQW-v1.rst b/Code/Mantid/docs/source/algorithms/SofQW-v1.rst
index ef8184c1ed9964bb58c7d8dd14ee6a4316a7c204..d782c732c02a2411261a80b187c9c65c8f219323 100644
--- a/Code/Mantid/docs/source/algorithms/SofQW-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SofQW-v1.rst
@@ -70,3 +70,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SofQWCentre-v1.rst b/Code/Mantid/docs/source/algorithms/SofQWCentre-v1.rst
index 07092d3b71fb3969d6468fd1fdcc21d656025fcb..59eaabe39beb1a265586fa53ff697ca479edd51d 100644
--- a/Code/Mantid/docs/source/algorithms/SofQWCentre-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SofQWCentre-v1.rst
@@ -72,3 +72,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SofQWMoments-v1.rst b/Code/Mantid/docs/source/algorithms/SofQWMoments-v1.rst
index 48cc670000a1f08d38b4bc5cdae114caf22439ee..27a7db835d6633f662143c25fcea4202a26539b2 100644
--- a/Code/Mantid/docs/source/algorithms/SofQWMoments-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SofQWMoments-v1.rst
@@ -38,3 +38,5 @@ Usage
     SofQWMoments(ws, OutputWorkspace='Test')
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SofQWNormalisedPolygon-v1.rst b/Code/Mantid/docs/source/algorithms/SofQWNormalisedPolygon-v1.rst
index 911e403a521a696e5724925a99522bdd53e872ab..f9ea7635ce4b3361b0e188cae8530f600dbfee63 100644
--- a/Code/Mantid/docs/source/algorithms/SofQWNormalisedPolygon-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SofQWNormalisedPolygon-v1.rst
@@ -70,3 +70,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SofQWPolygon-v1.rst b/Code/Mantid/docs/source/algorithms/SofQWPolygon-v1.rst
index 0ac967e645e50f0bffaca08248d17ec5d2796f88..c736e673335613a02b9e1510de8b3f38d192875b 100644
--- a/Code/Mantid/docs/source/algorithms/SofQWPolygon-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SofQWPolygon-v1.rst
@@ -56,3 +56,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SolidAngle-v1.rst b/Code/Mantid/docs/source/algorithms/SolidAngle-v1.rst
index 2a13b9969886710af1cd2dba116e64a104d9b99d..f6fd1e64015b5d06d3a2d9c88ca3c34dd978657c 100644
--- a/Code/Mantid/docs/source/algorithms/SolidAngle-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SolidAngle-v1.rst
@@ -49,3 +49,5 @@ Output:
     Solid angle of Spectra 101 in Bank 2: 1.60e-08
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SortByQVectors-v1.rst b/Code/Mantid/docs/source/algorithms/SortByQVectors-v1.rst
index b16f52b3251b8d50cdeab7149094d437e479be5f..3894d6430cd0afd3a52dd36272d987686f633139 100644
--- a/Code/Mantid/docs/source/algorithms/SortByQVectors-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SortByQVectors-v1.rst
@@ -40,3 +40,5 @@ Output:
     0.0240240236744
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SortDetectors-v1.rst b/Code/Mantid/docs/source/algorithms/SortDetectors-v1.rst
index 5b2a2d16d66627f2c88669934bb350a9f2ad96f5..bf77d6211396baabfcb7531613e8e34e86c53596 100644
--- a/Code/Mantid/docs/source/algorithms/SortDetectors-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SortDetectors-v1.rst
@@ -42,3 +42,5 @@ Output:
    First few values of downDistances:  5.0 5.0000064 5.0000064 5.00001279998 5.00002559993
    
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SortEvents-v1.rst b/Code/Mantid/docs/source/algorithms/SortEvents-v1.rst
index 6ede713908b102fe3724e146bb7fe778967497f3..b64ae9542749531fcad25b14e3bdf20050d27100 100644
--- a/Code/Mantid/docs/source/algorithms/SortEvents-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SortEvents-v1.rst
@@ -91,6 +91,8 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
 
 
 
diff --git a/Code/Mantid/docs/source/algorithms/SortHKL-v1.rst b/Code/Mantid/docs/source/algorithms/SortHKL-v1.rst
index 6bd624882bd6be14215f00c0549d2d4f00000aef..6471aa3225a9a51169cf101cc36de2bf74f3ed85 100644
--- a/Code/Mantid/docs/source/algorithms/SortHKL-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SortHKL-v1.rst
@@ -40,3 +40,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SortPeaksWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/SortPeaksWorkspace-v1.rst
index e478af802c2eee452084ee8791eb9ce6a3e3e39f..ad1973da4ccba1ce7c1d6aa1ec7bed3617bd0b08 100644
--- a/Code/Mantid/docs/source/algorithms/SortPeaksWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SortPeaksWorkspace-v1.rst
@@ -40,3 +40,5 @@ Output:
    Column k in descending order: [5.0, 5.0, 4.0, 2.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, -0.0, -0.0, -0.0, 0.0, -0.0, -0.0, 0.0, -0.0, 0.0, 0.0, 0.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -2.0, -2.0, -2.0, -2.0, -2.0, -2.0, -3.0]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SortTableWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/SortTableWorkspace-v1.rst
index a929b4a6c688d90621e1d6067a1bf68bc07b2c79..9ad6f959b25ae3aa78b56e4db78f5be7f70d0d29 100644
--- a/Code/Mantid/docs/source/algorithms/SortTableWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SortTableWorkspace-v1.rst
@@ -82,3 +82,5 @@ Output:
     
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/SortXAxis-v1.rst b/Code/Mantid/docs/source/algorithms/SortXAxis-v1.rst
index d6d1ed5be5e1a8c321e88f3f92e642add1682f2c..7b14bd708d4c134a878730a0d16c99aef8ae72cd 100644
--- a/Code/Mantid/docs/source/algorithms/SortXAxis-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SortXAxis-v1.rst
@@ -20,3 +20,5 @@ particularly suitable for reformatting workspaces loaded via
 :ref:`LoadAscii <algm-LoadAscii>`. Input workspaces must be a distribution.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SpatialGrouping-v1.rst b/Code/Mantid/docs/source/algorithms/SpatialGrouping-v1.rst
index 294f40b423e830255f287cde85438ab082582942..d2d6ad5332a98d47cf6f4aa5f2eb79efedb54e11 100644
--- a/Code/Mantid/docs/source/algorithms/SpatialGrouping-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SpatialGrouping-v1.rst
@@ -54,3 +54,5 @@ Output:
     os.remove(group_file)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SpecularReflectionCalculateTheta-v1.rst b/Code/Mantid/docs/source/algorithms/SpecularReflectionCalculateTheta-v1.rst
index 4f06bced816e2bc85cb1a6fa5f9603ce062da9ce..8b58089ba80162fb59fda69eca45fbf4f3dc17b7 100644
--- a/Code/Mantid/docs/source/algorithms/SpecularReflectionCalculateTheta-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SpecularReflectionCalculateTheta-v1.rst
@@ -49,3 +49,5 @@ Output:
    45.0
   
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SpecularReflectionPositionCorrect-v1.rst b/Code/Mantid/docs/source/algorithms/SpecularReflectionPositionCorrect-v1.rst
index 86ac3b2acb43880e71fb5553c6a1e08b581568eb..6cbde85fb1b7c4201ac72ec6c441132d1bb4dbff 100644
--- a/Code/Mantid/docs/source/algorithms/SpecularReflectionPositionCorrect-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SpecularReflectionPositionCorrect-v1.rst
@@ -23,6 +23,8 @@ Also see
 
 .. categories::
 
+.. sourcelink::
+
 Usage
 -----
 
@@ -54,4 +56,6 @@ Output:
  
    [0,1,1]
 
-.. categories::
\ No newline at end of file
+.. categories::
+
+.. sourcelink::
\ No newline at end of file
diff --git a/Code/Mantid/docs/source/algorithms/SphericalAbsorption-v1.rst b/Code/Mantid/docs/source/algorithms/SphericalAbsorption-v1.rst
index 4b08181bfc4816ddd1d28af5dd2d7bca0dc7a882..7ec50367f9bb7e71f1173e06877ba7a588f6d8c1 100644
--- a/Code/Mantid/docs/source/algorithms/SphericalAbsorption-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SphericalAbsorption-v1.rst
@@ -38,3 +38,5 @@ Output:
     The created workspace has spectra:  [ 0.8451289   0.79101809  0.74254761  0.69867599  0.65861079  0.63477521]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SplineBackground-v1.rst b/Code/Mantid/docs/source/algorithms/SplineBackground-v1.rst
index 728dbe08189e3f21f74825165753fd0fb4b0e628..3d52a4b3ec0981fc14cfa7aabeca7c00acef7c90 100644
--- a/Code/Mantid/docs/source/algorithms/SplineBackground-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SplineBackground-v1.rst
@@ -51,3 +51,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SplineInterpolation-v1.rst b/Code/Mantid/docs/source/algorithms/SplineInterpolation-v1.rst
index f6cacef3a8a70489692caaa0b78d6bbcf1d149e4..42a6834fd9c5947404eed835621c0d704946170b 100644
--- a/Code/Mantid/docs/source/algorithms/SplineInterpolation-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SplineInterpolation-v1.rst
@@ -79,3 +79,5 @@ Usage
     interpolated_ws = SplineInterpolation(WorkspaceToMatch=spline_ws, WorkspaceToInterpolate=ws, DerivOrder=2, OutputWorkspaceDeriv='derivs')
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SplineSmoothing-v1.rst b/Code/Mantid/docs/source/algorithms/SplineSmoothing-v1.rst
index df4d71c1ed38a3f3f645361ca7dc7b26527ada55..e2b1c96d2c2a4328efccd69e410bf72c25447b55 100644
--- a/Code/Mantid/docs/source/algorithms/SplineSmoothing-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SplineSmoothing-v1.rst
@@ -53,3 +53,5 @@ Output:
     This has created a spline for each spectra in the wsOut workspace
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Squares-v1.rst b/Code/Mantid/docs/source/algorithms/Squares-v1.rst
index 4548734f90f3fdc5a596385340a2d36273995b9d..72ac28c5736148ff84ad031dd11f13eb6363086c 100644
--- a/Code/Mantid/docs/source/algorithms/Squares-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Squares-v1.rst
@@ -47,4 +47,6 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
 
diff --git a/Code/Mantid/docs/source/algorithms/StartLiveData-v1.rst b/Code/Mantid/docs/source/algorithms/StartLiveData-v1.rst
index 57b0f920bea22dd70e281828628efa47b560d21a..f7e577f946e11bfaa88b859e42d2b5a507410edc 100644
--- a/Code/Mantid/docs/source/algorithms/StartLiveData-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/StartLiveData-v1.rst
@@ -209,3 +209,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/StartRemoteTransaction-v1.rst b/Code/Mantid/docs/source/algorithms/StartRemoteTransaction-v1.rst
index d8c0cac01d4b333d698ac81a515fdedba5283f57..a8ab4a1722e0686f22e507f8357fcf1d6d51e441 100644
--- a/Code/Mantid/docs/source/algorithms/StartRemoteTransaction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/StartRemoteTransaction-v1.rst
@@ -15,3 +15,5 @@ For more details, see the `remote job submission API
 docs <http://www.mantidproject.org/Remote_Job_Submission_API>`_.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/StartRemoteTransaction-v2.rst b/Code/Mantid/docs/source/algorithms/StartRemoteTransaction-v2.rst
index bb589517c9988366170bd3d6815102c98a80401f..cade65226dd4cab358d04453654ad38a37ffdeb1 100644
--- a/Code/Mantid/docs/source/algorithms/StartRemoteTransaction-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/StartRemoteTransaction-v2.rst
@@ -40,3 +40,5 @@ the compute resource uses the Mantid remote job submission API as job
 manager (underlying remote job scheduling mechanism).
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/StatisticsOfPeaksWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/StatisticsOfPeaksWorkspace-v1.rst
index 6fa0395ddaf1754ca8d2b6c0d0dc34acaeb865f1..437c0bba42ab06289a74312d4976d35c13bfec76 100644
--- a/Code/Mantid/docs/source/algorithms/StatisticsOfPeaksWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/StatisticsOfPeaksWorkspace-v1.rst
@@ -63,3 +63,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/StatisticsOfTableWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/StatisticsOfTableWorkspace-v1.rst
index 5e051b843a7691387ed91332e29ef046f6b19086..16f1cf00c98eeaf6b6e8825d9cf3f1c404586bec 100644
--- a/Code/Mantid/docs/source/algorithms/StatisticsOfTableWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/StatisticsOfTableWorkspace-v1.rst
@@ -45,3 +45,5 @@ Output:
     mean of column 'a' is 2.500
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/StepScan-v1.rst b/Code/Mantid/docs/source/algorithms/StepScan-v1.rst
index 2ee63b11aaed1fdc4801745a8bc2d90d40b4741b..a280ea6762085e4555d3ee9f6c7fc4ff15810950 100644
--- a/Code/Mantid/docs/source/algorithms/StepScan-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/StepScan-v1.rst
@@ -35,3 +35,7 @@ If necessary, the imput workspace is cloned, to save it from being modified.
 .. image:: ../images/StepScanWorkflow.png
 
 .. categories::
+
+.. sourcelink::
+    :cpp: Framework/WorkflowAlgorithms/src/StepScan.cpp
+    :h: Framework/WorkflowAlgorithms/inc/MantidWorkflowAlgorithms/StepScan.h
\ No newline at end of file
diff --git a/Code/Mantid/docs/source/algorithms/Stitch1D-v3.rst b/Code/Mantid/docs/source/algorithms/Stitch1D-v3.rst
index c35dd0ee04f6ffb474ebec6de1b33146f2213ba8..af4b441e952d7313f0e80a42ded08229a3e645ef 100644
--- a/Code/Mantid/docs/source/algorithms/Stitch1D-v3.rst
+++ b/Code/Mantid/docs/source/algorithms/Stitch1D-v3.rst
@@ -82,3 +82,6 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
+    :filename: Stitch1D
\ No newline at end of file
diff --git a/Code/Mantid/docs/source/algorithms/Stitch1DMany-v1.rst b/Code/Mantid/docs/source/algorithms/Stitch1DMany-v1.rst
index ba774fc4cfb43cbb9f2a060c73cc71e44617fc71..e83ee576ca2495a3ff69ee98465af7103530d944 100644
--- a/Code/Mantid/docs/source/algorithms/Stitch1DMany-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Stitch1DMany-v1.rst
@@ -73,3 +73,5 @@ Output:
    :align: center
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/StopRemoteTransaction-v1.rst b/Code/Mantid/docs/source/algorithms/StopRemoteTransaction-v1.rst
index b3bbe34c6bf793067f8cf3a51a74cdab56c80725..125656b108fe494c806b3984df79df49ecdacd18 100644
--- a/Code/Mantid/docs/source/algorithms/StopRemoteTransaction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/StopRemoteTransaction-v1.rst
@@ -15,3 +15,5 @@ For more details, see the `remote job submission API
 docs <http://www.mantidproject.org/Remote_Job_Submission_API>`_.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/StopRemoteTransaction-v2.rst b/Code/Mantid/docs/source/algorithms/StopRemoteTransaction-v2.rst
index de620dca8a796f5232c3137c45c5dcce45f83869..70fbf3dabbfc0f488010983b5e233e43875175f5 100644
--- a/Code/Mantid/docs/source/algorithms/StopRemoteTransaction-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/StopRemoteTransaction-v2.rst
@@ -31,3 +31,5 @@ the compute resource uses the Mantid remote job submission API as job
 manager (underlying remote job scheduling mechanism).
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/StripPeaks-v1.rst b/Code/Mantid/docs/source/algorithms/StripPeaks-v1.rst
index 5290e8456b741df48fe9a83075208d92c9cb0d0d..d78e605fca96681079ed638e6165ba88f77a6f3f 100644
--- a/Code/Mantid/docs/source/algorithms/StripPeaks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/StripPeaks-v1.rst
@@ -19,3 +19,5 @@ The :ref:`algm-FindPeaks` algorithm is used to identify the peaks in
 the data.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/StripVanadiumPeaks-v1.rst b/Code/Mantid/docs/source/algorithms/StripVanadiumPeaks-v1.rst
index 6b5ed9ad6f7fd8965eee1a67ca43d9eccf6da4ed..727981fbc2f213e52dcd34bcf4796d2664185ad1 100644
--- a/Code/Mantid/docs/source/algorithms/StripVanadiumPeaks-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/StripVanadiumPeaks-v1.rst
@@ -52,3 +52,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/StripVanadiumPeaks-v2.rst b/Code/Mantid/docs/source/algorithms/StripVanadiumPeaks-v2.rst
index 62eec8f0698ff505f6c1810a98f7b7ecfd402381..420a3c8f119d5e9365df1a3d9d172fe2bb288592 100644
--- a/Code/Mantid/docs/source/algorithms/StripVanadiumPeaks-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/StripVanadiumPeaks-v2.rst
@@ -42,3 +42,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SubmitRemoteJob-v1.rst b/Code/Mantid/docs/source/algorithms/SubmitRemoteJob-v1.rst
index 3685be67e8b9a6ec77aee63e82a6e661f2d3d611..98739d05b7da1d0296c719578b54d8986a660c67 100644
--- a/Code/Mantid/docs/source/algorithms/SubmitRemoteJob-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SubmitRemoteJob-v1.rst
@@ -15,3 +15,5 @@ For more details, see the `remote job submission API
 docs <http://www.mantidproject.org/Remote_Job_Submission_API>`_.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SubmitRemoteJob-v2.rst b/Code/Mantid/docs/source/algorithms/SubmitRemoteJob-v2.rst
index 0ce06a6cc6b2d116520dc00b22fa835e034bc7eb..cfc51ebbe4149ede98e8f3f571078cb0fcbcfceb 100644
--- a/Code/Mantid/docs/source/algorithms/SubmitRemoteJob-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/SubmitRemoteJob-v2.rst
@@ -41,3 +41,5 @@ the compute resource uses the Mantid remote job submission API as job
 manager (underlying remote job scheduling mechanism).
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SuggestTibCNCS-v1.rst b/Code/Mantid/docs/source/algorithms/SuggestTibCNCS-v1.rst
index fe608c2284e080b207a9221ba3ca67e47f60d162..44a669945b162b26ae5a76e3aa5679e5d266e894 100644
--- a/Code/Mantid/docs/source/algorithms/SuggestTibCNCS-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SuggestTibCNCS-v1.rst
@@ -39,3 +39,5 @@ Output:
     Incident Energy = 1, tibMin = 95621.15, tibMax = 99021.15
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SuggestTibHYSPEC-v1.rst b/Code/Mantid/docs/source/algorithms/SuggestTibHYSPEC-v1.rst
index 2039a795e9cb43e4303c3ea9ff517d3fcdfc0fed..3594b45f4710c95ba677ac87dac1b6e2d72a89d9 100644
--- a/Code/Mantid/docs/source/algorithms/SuggestTibHYSPEC-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SuggestTibHYSPEC-v1.rst
@@ -35,3 +35,5 @@ Output:
     Incident Energy = 40, tibMin = 11898.11, tibMax = 13898.11
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SumEventsByLogValue-v1.rst b/Code/Mantid/docs/source/algorithms/SumEventsByLogValue-v1.rst
index ae733b1f18c27ba157fbfb0b8eb54365c2a8154f..77a9b2cbdfa958c15c54fa6f89a354b759e83431 100644
--- a/Code/Mantid/docs/source/algorithms/SumEventsByLogValue-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SumEventsByLogValue-v1.rst
@@ -87,3 +87,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SumNeighbours-v1.rst b/Code/Mantid/docs/source/algorithms/SumNeighbours-v1.rst
index 47fec64482672fc7bd16985097cbd0374d505c24..bddb7646a8ba20147798ec64329610415fcf9129 100644
--- a/Code/Mantid/docs/source/algorithms/SumNeighbours-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SumNeighbours-v1.rst
@@ -39,3 +39,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SumRowColumn-v1.rst b/Code/Mantid/docs/source/algorithms/SumRowColumn-v1.rst
index 526e2d183d66c7426ac76b79cab1ddf2818c9895..30c3fb171f767b1c417be54c3bef43963c9c0410 100644
--- a/Code/Mantid/docs/source/algorithms/SumRowColumn-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SumRowColumn-v1.rst
@@ -45,3 +45,5 @@ Output:
    Output workspace has 128 points.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/SumSpectra-v1.rst b/Code/Mantid/docs/source/algorithms/SumSpectra-v1.rst
index fbbd2893fa36a7eaaebd3f9198b3f1ae55d56d46..fa1d00ec46715107d7a4065ff54ee7019e5d77ad 100644
--- a/Code/Mantid/docs/source/algorithms/SumSpectra-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/SumSpectra-v1.rst
@@ -111,3 +111,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Symmetrise-v1.rst b/Code/Mantid/docs/source/algorithms/Symmetrise-v1.rst
index 9e6f36b4cede5671d5c7f6eaf575cb10a6bcc677..de5af77b63eeb5bd2192616740baf3f86185587d 100644
--- a/Code/Mantid/docs/source/algorithms/Symmetrise-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Symmetrise-v1.rst
@@ -41,3 +41,5 @@ Usage
     symm_ws = Symmetrise(Sample=sample_ws, XMin=0.05, XMax=8.0)
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/TOFSANSResolution-v1.rst b/Code/Mantid/docs/source/algorithms/TOFSANSResolution-v1.rst
index 31e726d96923060124544250babdc24401dcebc0..7e0a850175c0ad712cefedc58db17fe7b78070c5 100644
--- a/Code/Mantid/docs/source/algorithms/TOFSANSResolution-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/TOFSANSResolution-v1.rst
@@ -12,3 +12,5 @@ Description
 Compute the Q resolution for a given I(Q) for a TOF SANS instrument.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/TOFSANSResolutionByPixel-v1.rst b/Code/Mantid/docs/source/algorithms/TOFSANSResolutionByPixel-v1.rst
index d21bb1aa2f33c4628b82188cd067c0b908c56965..fbedfc25b4163594c33c414aadff84dd98decdea 100644
--- a/Code/Mantid/docs/source/algorithms/TOFSANSResolutionByPixel-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/TOFSANSResolutionByPixel-v1.rst
@@ -38,3 +38,5 @@ algorithm as follows:
 histogram bin values of InputWorkspace.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/TestWorkspaceGroupProperty-v1.rst b/Code/Mantid/docs/source/algorithms/TestWorkspaceGroupProperty-v1.rst
index 4bbdfd734ae0385100be77be4508c40e09f41767..6697bc246c57291bf8c069eb583e816c45d1e2fd 100644
--- a/Code/Mantid/docs/source/algorithms/TestWorkspaceGroupProperty-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/TestWorkspaceGroupProperty-v1.rst
@@ -12,3 +12,5 @@ Description
 This algorithm is only used for testing.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ThresholdMD-v1.rst b/Code/Mantid/docs/source/algorithms/ThresholdMD-v1.rst
index 95528b2803d488fa3498b942ec393604cf08a78c..cc41e5ec18200bac57569a2ea97f1c60183ff854 100644
--- a/Code/Mantid/docs/source/algorithms/ThresholdMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ThresholdMD-v1.rst
@@ -77,3 +77,5 @@ Output:
    same bins after threshold greater than 4 [ 0.  4.  0.  0.]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/TimeSlice-v1.rst b/Code/Mantid/docs/source/algorithms/TimeSlice-v1.rst
index 773b4cdcf3376b3f571e32961f2b9df05abdae0d..db7da87458d4481a1d3dc390da6b6f5881a0a640 100644
--- a/Code/Mantid/docs/source/algorithms/TimeSlice-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/TimeSlice-v1.rst
@@ -50,3 +50,5 @@ Output:
     ['irs26173_slice']
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/TransformHKL-v1.rst b/Code/Mantid/docs/source/algorithms/TransformHKL-v1.rst
index 1f603281a6d1f67ad221903c898bdf4b1f646689..04b403ae80eab55e5af363f1a7347e1a26088e4b 100644
--- a/Code/Mantid/docs/source/algorithms/TransformHKL-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/TransformHKL-v1.rst
@@ -55,3 +55,5 @@ Output:
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/TransformMD-v1.rst b/Code/Mantid/docs/source/algorithms/TransformMD-v1.rst
index 7171af5bd9dac00ee582f01d26fe506290b2b2c5..e2df2485a9273ca636b9f23cc0992f5020aad00f 100644
--- a/Code/Mantid/docs/source/algorithms/TransformMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/TransformMD-v1.rst
@@ -51,3 +51,5 @@ Performance Notes
    because the data gets written out to disk twice otherwise.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/TransformToIqt-v1.rst b/Code/Mantid/docs/source/algorithms/TransformToIqt-v1.rst
index 83480d11785c64b0edfd40982bb5bcdf0ad8006d..cdd8e1d0b8f8d85eacc7016600d0ad6185ee6d9b 100644
--- a/Code/Mantid/docs/source/algorithms/TransformToIqt-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/TransformToIqt-v1.rst
@@ -110,3 +110,5 @@ Output:
     Resolution bins: 6
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Transpose-v1.rst b/Code/Mantid/docs/source/algorithms/Transpose-v1.rst
index 35a965646711ff48327279262a95df15700a3534..44218c1a7f57dd3aa20e13f235c0b86345c01318 100644
--- a/Code/Mantid/docs/source/algorithms/Transpose-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Transpose-v1.rst
@@ -43,3 +43,5 @@ Output:
     Rank after = ( 100 , 8 )
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/Transpose3D-v1.rst b/Code/Mantid/docs/source/algorithms/Transpose3D-v1.rst
index d8cd11d102572bcbf30e04ea7f8ddaa32507dc2b..0b31bfbfb5031a31614aab5f4d292048a9133292 100644
--- a/Code/Mantid/docs/source/algorithms/Transpose3D-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/Transpose3D-v1.rst
@@ -13,3 +13,6 @@
 
 
 .. categories::
+
+.. sourcelink::
+    :filename: SINQTranspose3D
\ No newline at end of file
diff --git a/Code/Mantid/docs/source/algorithms/USANSReduction-v1.rst b/Code/Mantid/docs/source/algorithms/USANSReduction-v1.rst
index 82c30ce709e2c36013c58516dcbe59c885d73eaf..9f069271b9a234ca772f423c6e4d8fc922296fcf 100644
--- a/Code/Mantid/docs/source/algorithms/USANSReduction-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/USANSReduction-v1.rst
@@ -23,3 +23,5 @@ Each analyzer angle is treated separately.
 More details about the procedure will be documented here as the complete reduction process becomes available.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/USANSSimulation-v1.rst b/Code/Mantid/docs/source/algorithms/USANSSimulation-v1.rst
index 87e8d025635b39070a8813ec6ef4d7defca5208e..d785a71a2e2b428dce37fce865f14762b4b0386d 100644
--- a/Code/Mantid/docs/source/algorithms/USANSSimulation-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/USANSSimulation-v1.rst
@@ -28,3 +28,5 @@ A monitor workspace is created with a fake beam profile.
 of limited use for non-developers.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/UnGroupWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/UnGroupWorkspace-v1.rst
index 99da598df31c853ef377cce9a234984fd4084315..4e4a3c37951eac3e05f6a4b1d55e0195b5ac859e 100644
--- a/Code/Mantid/docs/source/algorithms/UnGroupWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/UnGroupWorkspace-v1.rst
@@ -14,3 +14,5 @@ into several workspaces. You can perform this from the MantidPlot GUI by
 selecting the WorkspaceGroup and clicking "Ungroup".
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/UnwrapMonitor-v1.rst b/Code/Mantid/docs/source/algorithms/UnwrapMonitor-v1.rst
index f79ecbd956aa77e62a6130d0f8a7cc80876fc27b..b197d2b9de730e567ea25006d6bf5e4e682428bc 100644
--- a/Code/Mantid/docs/source/algorithms/UnwrapMonitor-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/UnwrapMonitor-v1.rst
@@ -109,3 +109,5 @@ Output:
     JoinWaveLength is: 1.42417223264
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/UnwrapSNS-v1.rst b/Code/Mantid/docs/source/algorithms/UnwrapSNS-v1.rst
index 813187b010a3688d70e9b4474d556b0b4d095ddf..985747860f3600590319c7feed0415d4c5f8fdc2 100644
--- a/Code/Mantid/docs/source/algorithms/UnwrapSNS-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/UnwrapSNS-v1.rst
@@ -65,3 +65,5 @@ Output:
     Output 0.0
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/UpdateInstrumentFromFile-v1.rst b/Code/Mantid/docs/source/algorithms/UpdateInstrumentFromFile-v1.rst
index e4987aae5d15a37518729f5d6f5f33379f39e7f3..d827e829814e1371d31ae3a79212afb5ede4a0d7 100644
--- a/Code/Mantid/docs/source/algorithms/UpdateInstrumentFromFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/UpdateInstrumentFromFile-v1.rst
@@ -162,3 +162,5 @@ Usage
 
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/UpdatePeakParameterTableValue-v1.rst b/Code/Mantid/docs/source/algorithms/UpdatePeakParameterTableValue-v1.rst
index f95aa846112fdf934ef242f4a8c30997693015de..4628e8697d3c456900937dfb3bc82f0650fa3412 100644
--- a/Code/Mantid/docs/source/algorithms/UpdatePeakParameterTableValue-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/UpdatePeakParameterTableValue-v1.rst
@@ -78,3 +78,5 @@ Output:
     Value after 1.00
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/UpdateScriptRepository-v1.rst b/Code/Mantid/docs/source/algorithms/UpdateScriptRepository-v1.rst
index 3029a0f8ac3fdf1c925c1dd202e3721627db8ae4..a5800a9a21756d7ec15f16d7042fa4bf37ca7441 100644
--- a/Code/Mantid/docs/source/algorithms/UpdateScriptRepository-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/UpdateScriptRepository-v1.rst
@@ -20,3 +20,5 @@ Usage
     UpdateScriptRepository()
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/UploadRemoteFile-v1.rst b/Code/Mantid/docs/source/algorithms/UploadRemoteFile-v1.rst
index 400f65c4bc87c8995d91403bf0701d599319ba6d..651dca4bb1b4febe1c098fad59582d6d7bb85368 100644
--- a/Code/Mantid/docs/source/algorithms/UploadRemoteFile-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/UploadRemoteFile-v1.rst
@@ -17,3 +17,5 @@ For more details, see the `remote job submission API
 docs <http://www.mantidproject.org/Remote_Job_Submission_API>`_.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/UploadRemoteFile-v2.rst b/Code/Mantid/docs/source/algorithms/UploadRemoteFile-v2.rst
index adb2ffa4433579f269aadb5d596ecd820dff7cb2..64e73c925b4502edba067a1024da2739ec58f4fc 100644
--- a/Code/Mantid/docs/source/algorithms/UploadRemoteFile-v2.rst
+++ b/Code/Mantid/docs/source/algorithms/UploadRemoteFile-v2.rst
@@ -35,3 +35,5 @@ the compute resource uses the Mantid remote job submission API as job
 manager (underlying remote job scheduling mechanism).
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/UserFunction1D-v1.rst b/Code/Mantid/docs/source/algorithms/UserFunction1D-v1.rst
index 954f06c9652b73fff5132887a0a710afd365d6f9..1d6a7543bf0f30eee1a89163fe09d090f06fa954 100644
--- a/Code/Mantid/docs/source/algorithms/UserFunction1D-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/UserFunction1D-v1.rst
@@ -95,3 +95,5 @@ In this example the fitting function is a\*exp(-(x-c)^2\*s). The
 parameter *s* is fixed.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/VesuvioL1ThetaResolution-v1.rst b/Code/Mantid/docs/source/algorithms/VesuvioL1ThetaResolution-v1.rst
index 65d2963dd3af34a6617fd5b84d8116e7d903abc5..7515964d0829ea72b58ffbf7577a1d7314858278 100644
--- a/Code/Mantid/docs/source/algorithms/VesuvioL1ThetaResolution-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/VesuvioL1ThetaResolution-v1.rst
@@ -42,3 +42,5 @@ Output:
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/VesuvioResolution-v1.rst b/Code/Mantid/docs/source/algorithms/VesuvioResolution-v1.rst
index 4d61c9e29e488e3526d95d85269c3c3166d1bb74..e6231c45a987c394a98c6cb6565513802594cff9 100644
--- a/Code/Mantid/docs/source/algorithms/VesuvioResolution-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/VesuvioResolution-v1.rst
@@ -37,3 +37,5 @@ Output:
    Resolution in microsecond and A^-1.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/ViewBOA-v1.rst b/Code/Mantid/docs/source/algorithms/ViewBOA-v1.rst
index c26024814abbe8e1715f38bca76460105ade87d1..b5f5f02969cb25ffee068e48f8a144af3aee78f3 100644
--- a/Code/Mantid/docs/source/algorithms/ViewBOA-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ViewBOA-v1.rst
@@ -57,3 +57,5 @@ In addition, the three workspaces described above are available, plotting them s
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/VisionLoadDetectorTable-v1.rst b/Code/Mantid/docs/source/algorithms/VisionLoadDetectorTable-v1.rst
index 05723a89f42dd80092fb70962ff67f6574c5eafc..fce9ae6bf565f7d4bca43c966ffcc6b754f11861 100644
--- a/Code/Mantid/docs/source/algorithms/VisionLoadDetectorTable-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/VisionLoadDetectorTable-v1.rst
@@ -19,3 +19,5 @@ from a CSV file into a TableWorkspace.
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/WeightedMean-v1.rst b/Code/Mantid/docs/source/algorithms/WeightedMean-v1.rst
index 4227419b4e2806634d74512eaa3c93b32d224d8f..c23f8b132457ae3f287836fab845f25635920b2c 100644
--- a/Code/Mantid/docs/source/algorithms/WeightedMean-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/WeightedMean-v1.rst
@@ -47,3 +47,5 @@ Output:
       0.9486833  0.9486833  0.9486833]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/WeightedMeanMD-v1.rst b/Code/Mantid/docs/source/algorithms/WeightedMeanMD-v1.rst
index bdabae99fa9440b620cf89c5434a6c2fb9416b6c..a3cfcda5467970de2f6d4d99ef38d620d621a6dd 100644
--- a/Code/Mantid/docs/source/algorithms/WeightedMeanMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/WeightedMeanMD-v1.rst
@@ -15,3 +15,5 @@ algorithm workings. Both inputs must be MDHistoWorkspaces, the algorithm
 will not run with MDEventWorkspaces.
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/WeightedMeanOfWorkspace-v1.rst b/Code/Mantid/docs/source/algorithms/WeightedMeanOfWorkspace-v1.rst
index 7047b77f1f0926b2209eb394a9f15b55233556f3..8c512b7c946d6209ed404878ad9832716fb092d7 100644
--- a/Code/Mantid/docs/source/algorithms/WeightedMeanOfWorkspace-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/WeightedMeanOfWorkspace-v1.rst
@@ -41,3 +41,5 @@ Output:
     Weighted Mean Error of Workspace: [ 1.2482116]
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/source/algorithms/WienerSmooth-v1.rst b/Code/Mantid/docs/source/algorithms/WienerSmooth-v1.rst
index 8b9fda2ebbcb3e1041ab15763ef92f8456bfb5bc..bc20a9709c73db2cf919da55c6431504cffe6f75 100644
--- a/Code/Mantid/docs/source/algorithms/WienerSmooth-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/WienerSmooth-v1.rst
@@ -80,3 +80,5 @@ Usage
 
 .. categories::
 
+.. sourcelink::
+
diff --git a/Code/Mantid/docs/source/algorithms/XorMD-v1.rst b/Code/Mantid/docs/source/algorithms/XorMD-v1.rst
index ca969f338285f717895624f7eaedbd9491a3b17a..5187c9027cfd1f479f8dac1b5eab102e5f77c6c6 100644
--- a/Code/Mantid/docs/source/algorithms/XorMD-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/XorMD-v1.rst
@@ -14,3 +14,5 @@ MDHistoWorkspaces. The xor operation is performed element-by-element. A
 signal of 0.0 means "false" and any non-zero signal is "true".
 
 .. categories::
+
+.. sourcelink::
diff --git a/Code/Mantid/docs/sphinxext/mantiddoc/directives/__init__.py b/Code/Mantid/docs/sphinxext/mantiddoc/directives/__init__.py
index 6eae3ae3c18436c2c56e1b2cd5dfb9f2cffe4ed8..aea156091ece2b95afd69e828c186a76bc2469b3 100644
--- a/Code/Mantid/docs/sphinxext/mantiddoc/directives/__init__.py
+++ b/Code/Mantid/docs/sphinxext/mantiddoc/directives/__init__.py
@@ -7,7 +7,7 @@
    'mantiddoc.directives' to be added to the Sphinx extensions configuration.
 """
 
-import algorithm, alias, attributes, categories, diagram, interface, properties, summary
+import algorithm, alias, attributes, categories, diagram, interface, properties, sourcelink, summary
 
 def setup(app):
     """
@@ -23,4 +23,5 @@ def setup(app):
     diagram.setup(app)
     interface.setup(app)
     properties.setup(app)
+    sourcelink.setup(app)
     summary.setup(app)
diff --git a/Code/Mantid/docs/sphinxext/mantiddoc/directives/sourcelink.py b/Code/Mantid/docs/sphinxext/mantiddoc/directives/sourcelink.py
new file mode 100644
index 0000000000000000000000000000000000000000..f43f509b405bba8b7186eb87cad926abb748cf31
--- /dev/null
+++ b/Code/Mantid/docs/sphinxext/mantiddoc/directives/sourcelink.py
@@ -0,0 +1,241 @@
+from base import AlgorithmBaseDirective
+from os import path, walk
+import mantid
+
+class SourceLinkError(Exception):
+    def __init__(self, value):
+        self.value = value
+    def __str__(self):
+        return str(self.value)
+        
+class SourceLinkDirective(AlgorithmBaseDirective):
+    """
+    Obtains the github links to the .cpp and .h or .py files depending on the name and version.
+    
+    Example directive usage:
+    
+    Default Usage:
+    .. sourcelink::
+    
+    Overriding the filename for searching:
+    .. sourcelink::
+        :filename: SINQTranspose3D
+        
+    suppressing sanity checks:
+    .. sourcelink::
+        :sanity_checks: 0    
+        
+    specifying specific files 
+    (paths should use / and start from but not include the Mantid directory):
+    .. sourcelink::
+         :h: Framework/ICat/inc/MantidICat/CatalogSearch.h
+         :cpp: Framework/ICat/src/CatalogSearch.cpp
+         
+    suppressing a specific file type (None is case insensitive):
+    .. sourcelink::
+      :filename: FilterEventsByLogValuePreNexus
+      :py: None
+    """
+
+    required_arguments, optional_arguments = 0, 0
+    option_spec = {"filename":str,"sanity_checks":int,"cpp":str, "h":str, "py":str}
+
+    #IMPORTANT: keys must match the option spec above 
+    # - apart from filename and sanity_checks
+    file_types = {"h":"C++ header", "cpp":"C++ source","py":"Python"}
+    file_lookup = {} 
+    
+    mantid_directory_cache=None
+
+    def execute(self):
+        """
+        Called by Sphinx when the ..sourcelink:: directive is encountered.
+        """
+        file_paths = {}
+        error_string = ""
+        sanity_checks = self.options.get("sanity_checks", 1)
+        file_name = self.options.get("filename", None)
+        if file_name is None:
+            #build a sensible default
+            file_name = self.algorithm_name()
+            if (self.algorithm_version() != 1):
+                file_name += str(self.algorithm_version())
+                
+        
+        for extension in self.file_types.keys():
+            file_paths[extension] = self.options.get(extension, None)
+            if file_paths[extension] is None:
+                try:
+                    file_paths[extension] = self.find_source_file(file_name,extension)
+                except SourceLinkError as err:
+                    error_string += str(err) + "\n"
+            elif file_paths[extension].lower() == "none":
+                # the users has specifically chosen to suppress this - set it to a "proper" None
+                #but do not search for this file
+                file_paths[extension] = None
+            else:
+                #prepend the base framework directory
+                file_paths[extension] = path.join(self.get_mantid_directory(),file_paths[extension])
+                if not path.exists(file_paths[extension]):
+                    error_string +="Cannot find " + extension + " file at " + file_paths[extension] + "\n"
+
+        #throw accumulated errors now if you have any
+        if error_string != "":
+            raise SourceLinkError(error_string)                
+                    
+        try:
+            self.output_to_page(file_paths,file_name,sanity_checks);
+        except SourceLinkError as err:
+            error_string += str(err) + "\n"
+                    
+        if error_string != "":
+            raise SourceLinkError(error_string)                
+
+        return []
+
+    def find_source_file(self, file_name, extension):
+        """
+        Searches the source code for a matching filename with the correct extension
+        """
+        # parse the source tree if it has not already been done
+        if len(self.file_lookup) == 0:
+            self.parse_source_tree(file_name,extension)
+            
+        try:
+            path_list = self.file_lookup[file_name][extension]
+            if len(path_list) == 1:
+                return path_list[0]
+            else:
+                suggested_path = "os_agnostic_path_to_file_from_Code/Mantid"
+                if len(path_list) > 1:
+                    suggested_path = path_list[0]
+                    #harmonize slashes
+                    suggested_path = suggested_path.replace("\\","/")
+                    #remove everything before and including the Mantid directory
+                    strip_off_token = "Code/Mantid/"
+                    index = suggested_path.find(strip_off_token)
+                    if index != -1:
+                        suggested_path = suggested_path[index+len(strip_off_token):]
+                raise SourceLinkError("Found multiple possibilities for " + file_name + "." + extension + "\n" + 
+                "Possible matches" +  str(path_list) + "\n" + 
+                "Specify one using the " + extension + " option\n" + 
+                "e.g. \n" + 
+                ".. sourcelink:\n" + 
+                "      :" + extension + ": " + suggested_path)
+                
+            return self.file_lookup[file_name][extension]
+        except KeyError:
+            #value is not present
+            return None
+            
+    def get_mantid_directory(self):
+        """
+        returns the Code\Mantid directory
+        """
+        if self.mantid_directory_cache is None:
+            env = self.state.document.settings.env
+            dir = env.srcdir #= C:\Mantid\Code\Mantid\docs\source
+            #go up the path until dir point to the "Mantid" directory
+            (head,tail) = path.split(dir)
+            while tail != "Mantid":
+                dir = head
+                (head,tail) = path.split(head)
+                if (head == ""):
+                    raise IOError ("Could not find the 'Mantid' directory in " + env.srcdir)
+
+            self.mantid_directory_cache = dir
+        return self.mantid_directory_cache
+    
+    def parse_source_tree(self, file_name, extension):
+        """
+        Fills the file_lookup dictionary after parsing the source code
+        """        
+        for dirName, subdirList, fileList in walk(self.get_mantid_directory()):
+            for fname in fileList:
+                (baseName, fileExtension) = path.splitext(fname)            
+                #strip the dot from the extension
+                fileExtension = fileExtension[1:] 
+                #build the data object that is e.g.
+                #file_lookup["Rebin2"]["cpp"] = ['C:\Mantid\Code\Mantid\Framework\Algorithms\src\Rebin2.cpp','possible other location']
+                if fileExtension in self.file_types.keys():
+                    if baseName not in self.file_lookup.keys():
+                        self.file_lookup[baseName] = {}
+                    if fileExtension not in self.file_lookup[baseName].keys():
+                        self.file_lookup[baseName][fileExtension] = []
+                    self.file_lookup[baseName][fileExtension].append(path.join(dirName,fname))
+        return
+        
+    def output_to_page(self, file_paths,file_name,sanity_checks):
+        """
+        Outputs the sourcelinks and heading to the rst page
+        and performs some sanity checks
+        """
+        valid_ext_list = []
+        
+        self.add_rst(self.make_header("Source"))
+        for extension, filepath in file_paths.iteritems():
+            if filepath is not None:
+                self.output_path_to_page(filepath,extension)
+                valid_ext_list.append(extension)
+                
+                    
+        #do some sanity checks - unless suppressed
+        if sanity_checks > 0:
+            suggested_path = "os_agnostic_path_to_file_from_Code/Mantid"
+            if len(valid_ext_list) == 0:
+                raise SourceLinkError("No file possibilities for " + file_name + " have been found\n" + 
+                    "Please specify a better one using the :filename: opiton or use the " + str(self.file_types.keys()) + " options\n" + 
+                    "e.g. \n" + 
+                    ".. sourcelink:\n" + 
+                    "      :" + self.file_types.keys()[0] + ": " + suggested_path + "\n "+
+                    "or \n" + 
+                    ".. sourcelink:\n" + 
+                    "      :filename: " + file_name) 
+            #if the have a cpp we should also have a h
+            if ("cpp" in valid_ext_list) or ("h" in valid_ext_list):
+                if ("cpp" not in valid_ext_list) or ("h" not in valid_ext_list):
+                    raise SourceLinkError("Only one of .h and .cpp found for " + file_name + "\n" + 
+                    "valid files found for " + str(valid_ext_list) + "\n" + 
+                    "Please specify the missing one using an " + str(self.file_types.keys()) + " option\n" + 
+                    "e.g. \n" + 
+                    ".. sourcelink:\n" + 
+                    "      :" + self.file_types.keys()[0] + ": " + suggested_path) 
+        return
+        
+    def output_path_to_page(self, filepath, extension):
+        """
+        Outputs the source link for a file to the rst page
+        """
+        dirName,fName = path.split(filepath)
+        self.add_rst(self.file_types[extension] + ": `" + fName + " <" + self.convert_path_to_github_url(filepath) + ">`_\n\n")
+        return
+        
+        
+    def convert_path_to_github_url(self, file_path):
+        """
+        Converts a file path to the github url for that same file
+        """
+        #example path C:\Mantid\Code\Mantid/Framework/Algorithms/inc/MantidAlgorithms/MergeRuns.h
+        #example url  https://github.com/mantidproject/mantid/blob/master/Code/Mantid/Framework/Algorithms/inc/MantidAlgorithms/MergeRuns.h
+        
+        url = file_path
+        #harmonize slashes
+        url = url.replace("\\","/")
+        #remove everything before Code
+        index = url.find("Code")
+        if index != -1:
+            url = url[index:]
+        else:
+            raise SourceLinkError ("Could not find the 'Code' directory in " + url)
+        #prepend the github part
+        url = "https://github.com/mantidproject/mantid/blob/" + mantid.kernel.revision_full() + "/" + url
+        return url
+    
+def setup(app):
+    """
+    Setup the directives when the extension is activated
+
+    Args:
+      app: The main Sphinx application object
+    """
+    app.add_directive('sourcelink', SourceLinkDirective)