diff --git a/docs/source/api/python/techniques/ISISPowder-GEM-v1.rst b/docs/source/api/python/techniques/ISISPowder-GEM-v1.rst
index 1e28a67f15623b196a19c3f19763a166935663ed..bd86b9cea743f995664bc24b190eeb51a3deb6e5 100644
--- a/docs/source/api/python/techniques/ISISPowder-GEM-v1.rst
+++ b/docs/source/api/python/techniques/ISISPowder-GEM-v1.rst
@@ -16,11 +16,11 @@ If not more details can be read here: :ref:`intro_to_objects-isis-powder-diffrac
 
 To create a GEM object the following parameters are required:
 
-- :ref:`calibration_directory_gem_isis-powder-diffraction-ref` 
-- :ref:`output_directory_gem_isis-powder-diffraction-ref` 
-- :ref:`user_name_gem_isis-powder-diffraction-ref` 
+- :ref:`calibration_directory_gem_isis-powder-diffraction-ref`
+- :ref:`output_directory_gem_isis-powder-diffraction-ref`
+- :ref:`user_name_gem_isis-powder-diffraction-ref`
 
-Optionally a configuration file may be specified if one exists 
+Optionally a configuration file may be specified if one exists
 using the following parameter:
 
 - :ref:`config_file_gem_isis-powder-diffraction-ref`
@@ -31,13 +31,13 @@ on YAML configuration files for more details
 Example
 ^^^^^^^
 
-.. code-block:: Python
+..  code-block:: python
 
   from isis_powder import Gem
-  
+
   calibration_dir = r"C:\path\to\calibration_dir"
   output_dir = r"C:\path\to\output_dir"
-  
+
   gem_example = Gem(calibration_directory=calibration_dir,
                     output_directory=output_dir,
                     user_name="Mantid")
@@ -56,7 +56,7 @@ The following methods can be executed on a GEM object:
 - :ref:`focus_gem_isis-powder-diffraction-ref`
 - :ref:`set_sample_gem_isis-powder-diffraction-ref`
 
-For information on creating a GEM object see: 
+For information on creating a GEM object see:
 :ref:`creating_gem_object-isis-powder-diffraction-ref`
 
 .. _create_vanadium_gem_isis-powder-diffraction-ref:
@@ -74,8 +74,8 @@ On GEM the following parameters are required when executing *create_vanadium*:
 - :ref:`first_cycle_run_no_gem_isis-powder-diffraction-ref`
 - :ref:`mode_gem_isis-powder-diffraction-ref`
 
-If :ref:`do_absorb_corrections_gem_isis-powder-diffraction-ref` is 
-set to **True** the following parameter is required in addition to the 
+If :ref:`do_absorb_corrections_gem_isis-powder-diffraction-ref` is
+set to **True** the following parameter is required in addition to the
 above:
 
 - :ref:`multiple_scattering_gem_isis-powder-diffraction-ref`
@@ -83,13 +83,13 @@ above:
 Example
 =======
 
-.. code-block:: Python
+..  code-block:: python
 
   # Notice how the filename ends with .yaml
   cal_mapping_file = r"C:\path\to\cal_mapping.yaml"
 
   gem_example.create_vanadium(calibration_mapping_file=cal_mapping_file,
-                              do_absorb_corrections=True, 
+                              do_absorb_corrections=True,
                               first_cycle_run_no=100,
                               mode="PDF",
                               multiple_scattering=False)
@@ -110,8 +110,8 @@ On GEM the following parameters are required when executing *focus*:
 - :ref:`run_number_gem_isis-powder-diffraction-ref`
 - :ref:`vanadium_normalisation_gem_isis-powder-diffraction-ref`
 
-If :ref:`do_absorb_corrections_gem_isis-powder-diffraction-ref` is 
-set to **True** the following parameter is required in addition to the 
+If :ref:`do_absorb_corrections_gem_isis-powder-diffraction-ref` is
+set to **True** the following parameter is required in addition to the
 above:
 
 - :ref:`multiple_scattering_gem_isis-powder-diffraction-ref`
@@ -122,7 +122,7 @@ The following parameters may also be optionally set:
 - :ref:`sample_empty_gem_isis-powder-diffraction-ref`
 - :ref:`unit_to_keep_gem_isis-powder-diffraction-ref`
 
-If :ref:`sample_empty_gem_isis_powder-diffraction-ref` is 
+If :ref:`sample_empty_gem_isis-powder-diffraction-ref` is
 set then the following parameter is also required:
 
 - :ref:`sample_empty_scale_gem_isis-powder-diffraction-ref`
@@ -130,7 +130,7 @@ set then the following parameter is also required:
 Example
 =======
 
-.. code-block:: Python
+..  code-block:: python
 
   # Notice how the filename ends with .yaml
   cal_mapping_file = r"C:\path\to\cal_mapping.yaml"
@@ -162,7 +162,7 @@ The following parameter is required when calling *set_sample*
 Example
 =======
 
-.. code-block:: Python
+..  code-block:: python
 
   sample_obj = SampleDetails(...)
   sample_obj.set_material(...)
@@ -174,7 +174,7 @@ Example
 Calibration Mapping File
 -------------------------
 The calibration mapping file holds the mapping between
-run numbers, current label, offset filename and the empty 
+run numbers, current label, offset filename and the empty
 and vanadium numbers.
 
 For more details on the calibration mapping file see:
@@ -196,7 +196,7 @@ substituting the below values for appropriate values:
       vanadium_run_numbers: "30"
       empty_run_numbers: "40"
 
-Lines 5 and 6 in this example set the vanadium and empty run numbers for 
+Lines 5 and 6 in this example set the vanadium and empty run numbers for
 PDF mode. Lines 8 and 9 set the vanadium and empty for
 Rietveld mode.
 
@@ -242,11 +242,11 @@ Within the folder the following should be present:
 
 The script will also save out vanadium splines into the relevant
 label folder which are subsequently loaded and used within the
-:ref:`focus_gem_isis-powder-diffraction-ref` method. 
+:ref:`focus_gem_isis-powder-diffraction-ref` method.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   calibration_dir = r"C:\path\to\calibration_dir"
   gem_example = Gem(calibration_directory=calibration_dir, ...)
@@ -255,7 +255,7 @@ Example Input:
 
 calibration_mapping_file
 ^^^^^^^^^^^^^^^^^^^^^^^^
-This parameter gives the full path to the YAML file containing the 
+This parameter gives the full path to the YAML file containing the
 calibration mapping. For more details on this file see:
 :ref:`calibration_mapping_gem-isis-powder-ref`
 
@@ -263,7 +263,7 @@ calibration mapping. For more details on this file see:
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   # Notice the filename always ends in .yaml
   cal_mapping_file = r"C:\path\to\file\calibration_mapping.yaml"
@@ -273,17 +273,17 @@ Example Input:
 
 config_file
 ^^^^^^^^^^^^
-The full path to the YAML configuration file. This file is 
+The full path to the YAML configuration file. This file is
 described in detail here: :ref:`configuration_files_isis-powder-diffraction-ref`
 It is recommended to set this parameter at object creation instead
-of on a method as it will warn if any parameters are overridden 
+of on a method as it will warn if any parameters are overridden
 in the scripting window.
 
 *Note: This should be the full path to the file including extension*
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   # Notice the filename always ends in .yaml
   configuration_file = r"C:\path\to\file\configuration.yaml"
@@ -293,12 +293,12 @@ Example Input:
 
 do_absorb_corrections
 ^^^^^^^^^^^^^^^^^^^^^
-Indicates whether to perform vanadium absorption corrections 
+Indicates whether to perform vanadium absorption corrections
 in :ref:`create_vanadium_gem_isis-powder-diffraction-ref` mode.
 In :ref:`focus_gem_isis-powder-diffraction-ref` mode
 sample absorption corrections require the sample be
 set first with the :ref:`set_sample_gem_isis-powder-diffraction-ref`
-method. 
+method.
 
 Accepted values are: **True** or **False**
 
@@ -309,7 +309,7 @@ Accepted values are: **True** or **False**
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   gem_example.create_vanadium(do_absorb_corrections=True, ...)
 
@@ -323,20 +323,20 @@ file_ext
 ^^^^^^^^^
 *Optional*
 
-Specifies a file extension to use when using the 
+Specifies a file extension to use when using the
 :ref:`focus_gem_isis-powder-diffraction-ref` method.
 
-This should be used to process partial runs. When 
+This should be used to process partial runs. When
 processing full runs (i.e. completed runs) it should not
 be specified as Mantid will automatically determine the
 best extension to use.
 
-*Note: A leading dot (.) is not required but 
+*Note: A leading dot (.) is not required but
 is preferred for readability*
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   gem_example.focus(file_ext=".s01", ...)
 
@@ -348,12 +348,12 @@ Indicates a run from the current cycle to use when calling
 :ref:`create_vanadium_gem_isis-powder-diffraction-ref`.
 This does not have the be the first run of the cycle or
 the run number corresponding to the vanadium. However it
-must be in the correct cycle according to the 
+must be in the correct cycle according to the
 :ref:`calibration_mapping_gem-isis-powder-ref`.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   # In this example assume we mean a cycle with run numbers 100-200
   gem_example.create_vanadium(first_cycle_run_no=100, ...)
@@ -362,7 +362,7 @@ Example Input:
 
 input_mode
 ^^^^^^^^^^
-Indicates how to interpret the parameter 
+Indicates how to interpret the parameter
 :ref:`run_number_gem_isis-powder-diffraction-ref` whilst
 calling the :ref:`focus_gem_isis-powder-diffraction-ref`
 method.
@@ -376,7 +376,7 @@ Accepted values are: **Summed** and **Individual**
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   gem_example.focus(input_mode="Summed", ...)
 
@@ -396,7 +396,7 @@ Accepted values are: **PDF** and **Rietveld**
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   gem_example.create_vanadium(mode="PDF", ...)
   # Or
@@ -407,7 +407,7 @@ Example Input:
 multiple_scattering
 ^^^^^^^^^^^^^^^^^^^^
 Indicates whether to account for the effects of multiple scattering
-when calculating absorption corrections. If 
+when calculating absorption corrections. If
 :ref:`do_absorb_corrections_gem_isis-powder-diffraction-ref` is
 set to **True** this parameter must be set.
 
@@ -419,7 +419,7 @@ the computer you are using*
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   gem_example.create_vanadium(multiple_scattering=True, ...)
   # Or
@@ -431,17 +431,17 @@ output_directory
 ^^^^^^^^^^^^^^^^
 Specifies the path to the output directory to save resulting files
 into. The script will automatically create a folder
-with the label determined from the 
+with the label determined from the
 :ref:`calibration_mapping_file_gem_isis-powder-diffraction-ref`
 and within that create another folder for the current
-:ref:`user_name_gem_isis-powder-diffraction-ref`. 
+:ref:`user_name_gem_isis-powder-diffraction-ref`.
 
 Within this folder processed data will be saved out in
 several formats.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   output_dir = r"C:\path\to\output_dir"
   gem_example = Gem(output_directory=output_dir, ...)
@@ -453,13 +453,13 @@ run_number
 Specifies the run number(s) to process when calling the
 :ref:`focus_gem_isis-powder-diffraction-ref` method.
 
-This parameter accepts a single value or a range 
+This parameter accepts a single value or a range
 of values with the following syntax:
 
-**-** : Indicates a range of runs inclusive 
+**-** : Indicates a range of runs inclusive
 (e.g. *1-10* would process 1, 2, 3....8, 9, 10)
 
-**,** : Indicates a gap between runs 
+**,** : Indicates a gap between runs
 (e.g. *1, 3, 5, 7* would process run numbers 1, 3, 5, 7)
 
 These can be combined like so:
@@ -471,7 +471,7 @@ on the data to be processed
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   # Process run number 1, 3, 5, 6, 7
   gem_example.focus(run_number="1, 3, 5-7", ...)
@@ -485,10 +485,10 @@ sample_empty
 *Optional*
 
 This parameter specifies a/several sample empty run(s)
-to subtract from the run in the 
-:ref:`focus_gem_isis-powder-diffraction-ref` method. 
+to subtract from the run in the
+:ref:`focus_gem_isis-powder-diffraction-ref` method.
 If multiple runs are specified it will sum these runs
-before subtracting the result. 
+before subtracting the result.
 
 This input uses the same syntax as
 :ref:`run_number_gem_isis-powder-diffraction-ref`.
@@ -496,7 +496,7 @@ Please visit the above page for more details.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   # Our sample empty is a single number
   gem_example.focus(sample_empty=100, ...)
@@ -507,17 +507,18 @@ Example Input:
 
 sample_empty_scale
 ^^^^^^^^^^^^^^^^^^
-Required if :ref:`sample_empty_gem_isis_powder-diffraction-ref` 
+
+Required if :ref:`sample_empty_gem_isis-powder-diffraction-ref`
 is set to **True**
 
 Sets a factor to scale the sample empty run(s) to before
-subtracting. This value is multiplied after summing the 
+subtracting. This value is multiplied after summing the
 sample empty runs and before subtracting the empty from
 the data set. For more details see: :ref:`Scale <algm-Scale-v1>`.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   # Scale sample empty to 90% of original
   gem_example.focus(sample_empty_scale=0.9, ...)
@@ -543,7 +544,7 @@ Accepted values are: **dSpacing** and **TOF**
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   gem_example.focus(unit_to_keep="dSpacing", ...)
 
@@ -551,15 +552,15 @@ Example Input:
 
 user_name
 ^^^^^^^^^
-Specifies the name of the current user when creating a 
+Specifies the name of the current user when creating a
 new GEM object. This is only used when saving data to
-sort data into respective user folders. 
+sort data into respective user folders.
 See :ref:`output_directory_gem_isis-powder-diffraction-ref`
 for more details.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   gem_example = Gem(user_name="Mantid", ...)
 
@@ -567,9 +568,9 @@ Example Input:
 
 vanadium_normalisation
 ^^^^^^^^^^^^^^^^^^^^^^
-Indicates whether to divide the focused workspace within 
+Indicates whether to divide the focused workspace within
 :ref:`focus_gem_isis-powder-diffraction-ref` mode with a
-previously generated vanadium spline. 
+previously generated vanadium spline.
 
 This requires a vanadium to have been previously created
 with the :ref:`create_vanadium_gem_isis-powder-diffraction-ref`
@@ -579,7 +580,7 @@ Accepted values are: **True** or **False**
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   gem_example.focus(vanadium_normalisation=True, ...)
 
@@ -587,14 +588,14 @@ Advanced Parameters
 --------------------
 .. warning:: These values are not intended to be changed and should
              reflect optimal defaults for the instrument. For more
-             details please read: 
+             details please read:
              :ref:`instrument_advanced_properties_isis-powder-diffraction-ref`
-             
+
              This section is mainly intended to act as reference of the
              current settings distributed with Mantid
 
 All values changed in the advanced configuration file
-requires the user to restart Mantid for the new values to take effect. 
+requires the user to restart Mantid for the new values to take effect.
 Please read :ref:`instrument_advanced_properties_isis-powder-diffraction-ref`
 before proceeding to change values within the advanced configuration file.
 
@@ -606,13 +607,13 @@ Indicates a list of TOF values to crop the focused workspace
 which was created by :ref:`focus_gem_isis-powder-diffraction-ref`
 on a bank by bank basis.
 
-This parameter is a list of bank cropping values with 
+This parameter is a list of bank cropping values with
 one list entry per bank. The values **must** have a smaller
 TOF window than the :ref:`vanadium_cropping_values_gem_isis-powder-diffraction-ref`
 
 On GEM this is set to the following TOF windows:
 
-.. code-block:: Python
+..  code-block:: python
 
   focused_cropping_values = [(550, 19900),  # Bank 1
                              (550, 19900),  # Bank 2
@@ -634,7 +635,7 @@ whilst focusing the spectra into banks.
 
 On GEM this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
 
   grouping_file_name: "GEM_Instrument_grouping.cal"
 
@@ -642,17 +643,17 @@ On GEM this is set to the following:
 
 raw_tof_cropping_values
 ^^^^^^^^^^^^^^^^^^^^^^^
-Determines the TOF window to crop all spectra down to before any 
+Determines the TOF window to crop all spectra down to before any
 processing in the :ref:`create_vanadium_gem_isis-powder-diffraction-ref`
-and :ref:`focus_gem_isis-powder-diffraction-ref` methods. 
+and :ref:`focus_gem_isis-powder-diffraction-ref` methods.
 
 This helps remove negative counts where at very low TOF
-the empty counts can exceed the captured neutron counts 
+the empty counts can exceed the captured neutron counts
 of the run to process.
 
 On GEM this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
 
   raw_tof_cropping_values: (500, 20000)
 
@@ -669,29 +670,29 @@ will need to be called again.*
 
 On GEM this is set to the following:
 
-.. code-block:: Python
-  
+..  code-block:: python
+
   spline_coefficient: 30
 
 .. _vanadium_cropping_values_gem_isis-powder-diffraction-ref:
 
 vanadium_cropping_values
 ^^^^^^^^^^^^^^^^^^^^^^^^
-Determines the TOF windows to crop to on a bank by bank basis 
+Determines the TOF windows to crop to on a bank by bank basis
 within the :ref:`create_vanadium_gem_isis-powder-diffraction-ref`
 method. This is applied after focusing and before a spline is taken.
 
 It is used to remove low counts at the start and end of the vanadium run
-to produce a spline which better matches the data. 
+to produce a spline which better matches the data.
 
-This parameter is a list of bank cropping values with 
+This parameter is a list of bank cropping values with
 one list entry per bank. The values **must** have a larger
 TOF window than the :ref:`focused_cropping_values_gem_isis-powder-diffraction-ref`
 and a smaller window than :ref:`raw_tof_cropping_values_gem_isis-powder-diffraction-ref`.
 
 On GEM this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
 
   vanadium_cropping_values = [(510, 19997),  # Bank 1
                               (510, 19997),  # Bank 2
diff --git a/docs/source/api/python/techniques/ISISPowder-Pearl-v1.rst b/docs/source/api/python/techniques/ISISPowder-Pearl-v1.rst
index 04514d2bb94fcdf9956fc192b2ae9302debdaca7..11bf429d6db586c7a39c3d20f9ecb6d144caac1f 100644
--- a/docs/source/api/python/techniques/ISISPowder-Pearl-v1.rst
+++ b/docs/source/api/python/techniques/ISISPowder-Pearl-v1.rst
@@ -11,16 +11,17 @@ ISIS Powder Diffraction Scripts - PEARL Reference
 
 Creating PEARL Object
 ----------------------
+
 This method assumes you are familiar with the concept of objects in Python.
 If not more details can be read here: :ref:`intro_to_objects-isis-powder-diffraction-ref`
 
 To create a PEARL object the following parameters are required:
 
-- :ref:`calibration_directory_pearl_isis-powder-diffraction-ref` 
-- :ref:`output_directory_pearl_isis-powder-diffraction-ref` 
-- :ref:`user_name_pearl_isis-powder-diffraction-ref` 
+- :ref:`calibration_directory_pearl_isis-powder-diffraction-ref`
+- :ref:`output_directory_pearl_isis-powder-diffraction-ref`
+- :ref:`user_name_pearl_isis-powder-diffraction-ref`
 
-Optionally a configuration file may be specified if one exists 
+Optionally a configuration file may be specified if one exists
 using the following parameter:
 
 - :ref:`config_file_pearl_isis-powder-diffraction-ref`
@@ -31,13 +32,13 @@ on YAML configuration files for more details
 Example
 ^^^^^^^
 
-.. code-block:: Python
+..  code-block:: python
 
   from isis_powder import Pearl
-  
+
   calibration_dir = r"C:\path\to\calibration_dir"
   output_dir = r"C:\path\to\output_dir"
-  
+
   pearl_example = Pearl(calibration_directory=calibration_dir,
                         output_directory=output_dir,
                         user_name="Mantid")
@@ -77,7 +78,7 @@ On PEARL the following parameters are required when executing *create_vanadium*:
 Example
 =======
 
-.. code-block:: Python
+..  code-block:: python
 
   # Notice how the filename ends with .yaml
   cal_mapping_file = r"C:\path\to\cal_mapping.yaml"
@@ -104,7 +105,7 @@ On PEARL the following parameters are required when executing *focus*:
 - :ref:`vanadium_normalisation_pearl_isis-powder-diffraction-ref`
 
 
-The following parameter is required if 
+The following parameter is required if
 :ref:`perform_attenuation_pearl_isis-powder-diffraction-ref` is set to **True**
 
 - :ref:`attenuation_file_path_pearl_isis-powder-diffraction-ref`
@@ -116,7 +117,7 @@ The following parameter may also be optionally set:
 Example
 =======
 
-.. code-block:: Python
+..  code-block:: python
 
   # Notice how the filename ends with .yaml
   cal_mapping_file = r"C:\path\to\cal_mapping.yaml"
@@ -135,7 +136,7 @@ Example
 Calibration Mapping File
 ------------------------
 The calibration mapping file holds the mapping between
-run numbers, current label, offset filename and the empty 
+run numbers, current label, offset filename and the empty
 and vanadium numbers.
 
 For more details on the calibration mapping file see:
@@ -192,7 +193,7 @@ is set to **all** or **trans**. For more details see
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   attenuation_path = r"C:\path\to\attenuation_file.out
   pearl_example(attenuation_file_path=attenuation_path, ...)
@@ -209,19 +210,19 @@ Within the folder the following should be present:
   - :ref:`tt35_grouping_filename_pearl_isis-powder-diffraction-ref`
   - :ref:`tt70_grouping_filename_pearl_isis-powder-diffraction-ref`
   - :ref:`tt88_grouping_filename_pearl_isis-powder-diffraction-ref`
-- Vanadium Absorption File 
+- Vanadium Absorption File
   (see: :ref:`vanadium_absorb_filename_pearl_isis-powder-diffraction-ref`)
 - Folder(s) with the label name specified in mapping file (e.g. "1_1")
-  
+
   - Inside each folder should be the offset file with name specified in mapping file
 
 The script will also save out vanadium splines into the relevant
 label folder which are subsequently loaded and used within the
-:ref:`focus_pearl_isis-powder-diffraction-ref` method. 
+:ref:`focus_pearl_isis-powder-diffraction-ref` method.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   calibration_dir = r"C:\path\to\calibration_dir"
   pearl_example = Pearl(calibration_directory=calibration_dir, ...)
@@ -230,7 +231,7 @@ Example Input:
 
 calibration_mapping_file
 ^^^^^^^^^^^^^^^^^^^^^^^^
-This parameter gives the full path to the YAML file containing the 
+This parameter gives the full path to the YAML file containing the
 calibration mapping. For more details on this file see:
 :ref:`calibration_mapping_pearl_isis-powder-diffraction-ref`
 
@@ -238,7 +239,7 @@ calibration mapping. For more details on this file see:
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   # Notice the filename always ends in .yaml
   cal_mapping_file = r"C:\path\to\file\calibration_mapping.yaml"
@@ -248,17 +249,17 @@ Example Input:
 
 config_file
 ^^^^^^^^^^^
-The full path to the YAML configuration file. This file is 
+The full path to the YAML configuration file. This file is
 described in detail here: :ref:`configuration_files_isis-powder-diffraction-ref`
 It is recommended to set this parameter at object creation instead
-of on a method as it will warn if any parameters are overridden 
+of on a method as it will warn if any parameters are overridden
 in the scripting window.
 
 *Note: This should be the full path to the file including extension*
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   # Notice the filename always ends in .yaml
   configuration_file = r"C:\path\to\file\configuration.yaml"
@@ -268,7 +269,7 @@ Example Input:
 
 do_absorb_corrections
 ^^^^^^^^^^^^^^^^^^^^^
-Indicates whether to perform vanadium absorption corrections 
+Indicates whether to perform vanadium absorption corrections
 when calling :ref:`create_vanadium_pearl_isis-powder-diffraction-ref`.
 If set to True the vanadium absorption file
 (described here: :ref:`vanadium_absorb_filename_pearl_isis-powder-diffraction-ref`)
@@ -279,7 +280,7 @@ Accepted values are: **True** or **False**
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   pearl_example.create_vanadium(do_absorb_corrections=True, ...)
 
@@ -289,20 +290,20 @@ file_ext
 ^^^^^^^^
 *Optional*
 
-Specifies a file extension to use when using the 
+Specifies a file extension to use when using the
 :ref:`focus_pearl_isis-powder-diffraction-ref` method.
 
-This should be used to process partial runs. When 
+This should be used to process partial runs. When
 processing full runs (i.e. completed runs) it should not
 be specified as Mantid will automatically determine the
 best extension to use.
 
-*Note: A leading dot (.) is not required but 
+*Note: A leading dot (.) is not required but
 is preferred for readability*
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   pearl_example.focus(file_ext=".s01", ...)
 
@@ -318,46 +319,46 @@ Accepted values are: **All**, **Groups**, **Mods** and **Trans**
 
 All
 ====
-In all mode banks 1-9 (inclusive) are summed into a single spectra 
-then scaled down to 1/9 of their original values. 
+In all mode banks 1-9 (inclusive) are summed into a single spectra
+then scaled down to 1/9 of their original values.
 
-The workspace is also attenuated if 
+The workspace is also attenuated if
 :ref:`perform_attenuation_pearl_isis-powder-diffraction-ref`
-is set to **True**. 
+is set to **True**.
 
-Workspaces containing banks 10-14 are left as 
+Workspaces containing banks 10-14 are left as
 separate workspaces with appropriate names.
 
 Groups
 ======
-In groups mode banks 1+2+3, 4+5+6, 7+8+9 are summed into three (3) 
-separate workspaces. Each workspace is scaled down to a 1/3 of original scale. 
+In groups mode banks 1+2+3, 4+5+6, 7+8+9 are summed into three (3)
+separate workspaces. Each workspace is scaled down to a 1/3 of original scale.
 
-The workspaces containing banks 4-9 (inclusive) are then added 
-into a separate workspace and scaled down to 1/2 original scale. 
+The workspaces containing banks 4-9 (inclusive) are then added
+into a separate workspace and scaled down to 1/2 original scale.
 
 Banks 10-14 are left as separate workspaces with appropriate names.
 
 Trans
 ======
-In trans mode banks 1-9 (inclusive) are summed into a single spectra 
-then scaled down to 1/9 original scale. 
+In trans mode banks 1-9 (inclusive) are summed into a single spectra
+then scaled down to 1/9 original scale.
 
-The workspace is also attenuated if 
+The workspace is also attenuated if
 :ref:`perform_attenuation_pearl_isis-powder-diffraction-ref`
-is set to **True**. 
+is set to **True**.
 
 All banks are also output as individual workspaces with appropriate names
 with no additional processing applied.
 
 Mods
 ====
-In mods mode every bank is left as individual workspaces with 
+In mods mode every bank is left as individual workspaces with
 appropriate names. No additional processing is performed.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   pearl_example.focus(focus_mode="all", ...)
 
@@ -369,27 +370,27 @@ Determines the TOF window to process data in. This
 affects both the :ref:`create_vanadium_pearl_isis-powder-diffraction-ref`
 and :ref:`focus_pearl_isis-powder-diffraction-ref` methods.
 
-As this affects the vanadium spline used the 
+As this affects the vanadium spline used the
 :ref:`create_vanadium_pearl_isis-powder-diffraction-ref` method
 will need to be called once for each *long_mode* value (**True** and/or **False**)
 if the user intends to use a different mode. This will create
 a spline for the relevant mode which is automatically used when focusing.
 
-When *long_mode* is **False** the TOF window processed is 
+When *long_mode* is **False** the TOF window processed is
 between 0-20,000 μs
 
-When *long_mode* is **True** the TOF window processed is 
+When *long_mode* is **True** the TOF window processed is
 between 0-40,000 μs
 
 This also affects the :ref:`advanced_parameters_pearl_isis-powder-diffraction-ref`
-used. More detail can be found for each individual parameter 
+used. More detail can be found for each individual parameter
 listed under the advanced parameters section.
 
 Accepted values are: **True** or **False**
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   pearl_example.create_vanadium(long_mode=False, ...)
   # Or
@@ -402,17 +403,17 @@ output_directory
 ^^^^^^^^^^^^^^^^
 Specifies the path to the output directory to save resulting files
 into. The script will automatically create a folder
-with the label determined from the 
+with the label determined from the
 :ref:`calibration_mapping_file_pearl_isis-powder-diffraction-ref`
 and within that create another folder for the current
-:ref:`user_name_pearl_isis-powder-diffraction-ref`. 
+:ref:`user_name_pearl_isis-powder-diffraction-ref`.
 
 Within this folder processed data will be saved out in
 several formats.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   output_dir = r"C:\path\to\output_dir"
   pearl_example = Pearl(output_directory=output_dir, ...)
@@ -426,12 +427,12 @@ whilst running :ref:`focus_pearl_isis-powder-diffraction-ref`.
 For more details of the corrections performed see:
 :ref:`PearlMCAbsorption<algm-PearlMCAbsorption>`
 
-If this is set to **True** 
+If this is set to **True**
 :ref:`attenuation_file_path_pearl_isis-powder-diffraction-ref`
-must be set too. 
+must be set too.
 
 *Note: This correction will only be performed if 'focus_mode'
-is in* **All** or **Trans**. 
+is in* **All** or **Trans**.
 See: :ref:`focus_mode_pearl_isis-powder-diffraction-ref`
 for more details.
 
@@ -439,7 +440,7 @@ Accepted values are: **True** or **False**
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   pearl_example.focus(perform_attenuation=True, ...)
 
@@ -451,12 +452,12 @@ Indicates a run from the current cycle to use when calling
 :ref:`create_vanadium_pearl_isis-powder-diffraction-ref`.
 This does not have the be the first run of the cycle or
 the run number corresponding to the vanadium. However it
-must be in the correct cycle according to the 
+must be in the correct cycle according to the
 :ref:`calibration_mapping_pearl_isis-powder-diffraction-ref`.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   # In this example assume we mean a cycle with run numbers 100-200
   pearl_example.create_vanadium(run_in_cycle=100, ...)
@@ -468,13 +469,13 @@ run_number
 Specifies the run number(s) to process when calling the
 :ref:`focus_pearl_isis-powder-diffraction-ref` method.
 
-This parameter accepts a single value or a range 
+This parameter accepts a single value or a range
 of values with the following syntax:
 
-**-** : Indicates a range of runs inclusive 
+**-** : Indicates a range of runs inclusive
 (e.g. *1-10* would process 1, 2, 3....8, 9, 10)
 
-**,** : Indicates a gap between runs 
+**,** : Indicates a gap between runs
 (e.g. *1, 3, 5, 7* would process run numbers 1, 3, 5, 7)
 
 These can be combined like so:
@@ -487,7 +488,7 @@ before proceeding to focus them.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   # Sum and process run numbers 1, 3, 5, 6, 7
   pearl_example.focus(run_number="1, 3, 5-7", ...)
@@ -498,10 +499,10 @@ Example Input:
 
 tt_mode
 ^^^^^^^^
-Specifies the detectors to be considered from the 
-grouping files. This is used in the 
+Specifies the detectors to be considered from the
+grouping files. This is used in the
 :ref:`create_vanadium_pearl_isis-powder-diffraction-ref` and
-:ref:`focus_pearl_isis-powder-diffraction-ref` methods. 
+:ref:`focus_pearl_isis-powder-diffraction-ref` methods.
 
 For more details of the grouping file which is selected between
 see the following:
@@ -513,12 +514,12 @@ see the following:
 Accepted values are: **tt35**, **tt70** and **tt80**
 
 When calling :ref:`create_vanadium_pearl_isis-powder-diffraction-ref`
-**all** can be used to implicitly process all of the supported 
+**all** can be used to implicitly process all of the supported
 values indicated above.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   pearl_example.create_vanadium(tt_mode="all", ...)
   # Or
@@ -528,15 +529,15 @@ Example Input:
 
 user_name
 ^^^^^^^^^
-Specifies the name of the current user when creating a 
+Specifies the name of the current user when creating a
 new PEARL object. This is only used when saving data to
-sort data into respective user folders. 
+sort data into respective user folders.
 See :ref:`output_directory_pearl_isis-powder-diffraction-ref`
 for more details.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   pearl_example = Pearl(user_name="Mantid", ...)
 
@@ -544,9 +545,9 @@ Example Input:
 
 vanadium_normalisation
 ^^^^^^^^^^^^^^^^^^^^^^
-Indicates whether to divide the focused workspace within 
+Indicates whether to divide the focused workspace within
 :ref:`focus_pearl_isis-powder-diffraction-ref` mode with a
-previously generated vanadium spline. 
+previously generated vanadium spline.
 
 This requires a vanadium to have been previously created
 with the :ref:`create_vanadium_pearl_isis-powder-diffraction-ref`
@@ -556,7 +557,7 @@ Accepted values are: **True** or **False**
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   pearl_example.focus(vanadium_normalisation=True, ...)
 
@@ -566,14 +567,14 @@ Advanced Parameters
 --------------------
 .. warning:: These values are not intended to be changed and should
              reflect optimal defaults for the instrument. For more
-             details please read: 
+             details please read:
              :ref:`instrument_advanced_properties_isis-powder-diffraction-ref`
-             
+
              This section is mainly intended to act as reference of the
              current settings distributed with Mantid
 
 All values changed in the advanced configuration file
-requires the user to restart Mantid for the new values to take effect. 
+requires the user to restart Mantid for the new values to take effect.
 Please read :ref:`instrument_advanced_properties_isis-powder-diffraction-ref`
 before proceeding to change values within the advanced configuration file.
 
@@ -585,7 +586,7 @@ Indicates a list of TOF values to crop the focused workspace
 which was created by :ref:`focus_pearl_isis-powder-diffraction-ref`
 on a bank by bank basis.
 
-This parameter is a list of bank cropping values with 
+This parameter is a list of bank cropping values with
 one list entry per bank. The values **must** have a smaller
 TOF window than the :ref:`vanadium_tof_cropping_pearl_isis-powder-diffraction-ref`
 
@@ -595,7 +596,7 @@ determines the set of values used.*
 
 On PEARL this is set to the following TOF windows:
 
-.. code-block:: Python
+..  code-block:: python
 
   # Long mode OFF:
         focused_cropping_values: [
@@ -639,8 +640,8 @@ On PEARL this is set to the following TOF windows:
 monitor_lambda_crop_range
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 The range in dSpacing to crop a monitor spectra to when generating a
-spline of the current to the target. This is should be stored as a tuple of 
-both values (lower and upper bound). 
+spline of the current to the target. This is should be stored as a tuple of
+both values (lower and upper bound).
 
 *Note: The value passed with the*
 :ref:`long_mode_pearl_isis-powder-diffraction-ref` *parameter
@@ -648,7 +649,7 @@ determines the set of values used.*
 
 On PEARL this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
 
   # Long mode OFF:
     monitor_lambda_crop_range: (0.03, 6.00)
@@ -661,9 +662,9 @@ On PEARL this is set to the following:
 monitor_integration_range
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 The maximum and minimum values for a bin whilst
-integrating the monitor spectra. 
+integrating the monitor spectra.
 Any values that fall outside of this range will not be considered.
-This should be stored as a tuple of both values (lower and upper bound). 
+This should be stored as a tuple of both values (lower and upper bound).
 See: :ref:`Integration<algm-Integration>` for more details.
 
 *Note: The value passed with the*
@@ -672,7 +673,7 @@ determines the set of values used.*
 
 On PEARL this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
 
   # Long mode OFF:
   monitor_integration_range: (0.6, 5.0)
@@ -684,12 +685,12 @@ On PEARL this is set to the following:
 
 monitor_spectrum_number
 ^^^^^^^^^^^^^^^^^^^^^^^
-The workspace spectrum number that represents a 
+The workspace spectrum number that represents a
 monitor which can be used to calculate current.
 
 On PEARL this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
 
   monitor_spectrum_number: 1,
 
@@ -698,14 +699,14 @@ On PEARL this is set to the following:
 
 monitor_spline_coefficient
 ^^^^^^^^^^^^^^^^^^^^^^^^^^
-Determines the spline coefficient to use whilst 
-processing the monitor spectra to normalise by 
-current. For more details see: 
+Determines the spline coefficient to use whilst
+processing the monitor spectra to normalise by
+current. For more details see:
 :ref:`SplineBackground <algm-SplineBackground>`
 
 On PEARL this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
 
   monitor_spline_coefficient: 20
 
@@ -713,12 +714,12 @@ On PEARL this is set to the following:
 
 raw_data_tof_cropping
 ^^^^^^^^^^^^^^^^^^^^^
-Determines the TOF window to crop all spectra down to before any 
+Determines the TOF window to crop all spectra down to before any
 processing in the :ref:`create_vanadium_pearl_isis-powder-diffraction-ref`
-and :ref:`focus_pearl_isis-powder-diffraction-ref` methods. 
+and :ref:`focus_pearl_isis-powder-diffraction-ref` methods.
 
 This helps remove negative counts where at very low TOF
-the empty counts can exceed the captured neutron counts 
+the empty counts can exceed the captured neutron counts
 of the run to process. It also is used
 to crop to the correct TOF window depending on the
 value of the :ref:`long_mode_pearl_isis-powder-diffraction-ref` parameter.
@@ -729,7 +730,7 @@ determines the set of values used.*
 
 On PEARL this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
 
   # Long mode OFF:
     raw_data_tof_cropping: (0, 19995)
@@ -750,7 +751,7 @@ will need to be called again.*
 
 On PEARL this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
 
   spline_coefficient: 60
 
@@ -767,7 +768,7 @@ whilst focusing the spectra into banks.
 
 On PEARL this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
 
   tt35_grouping_filename: "pearl_group_12_1_TT35.cal"
 
@@ -784,7 +785,7 @@ whilst focusing the spectra into banks.
 
 On PEARL this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
 
   tt70_grouping_filename: "pearl_group_12_1_TT70.cal"
 
@@ -801,7 +802,7 @@ whilst focusing the spectra into banks.
 
 On PEARL this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
 
   tt88_grouping_filename: "pearl_group_12_1_TT88.cal"
 
@@ -809,17 +810,17 @@ On PEARL this is set to the following:
 
 vanadium_absorb_filename
 ^^^^^^^^^^^^^^^^^^^^^^^^
-Determines the name of the precalculated vanadium absorption 
+Determines the name of the precalculated vanadium absorption
 correction values to apply when running
-:ref:`create_vanadium_pearl_isis-powder-diffraction-ref`. 
+:ref:`create_vanadium_pearl_isis-powder-diffraction-ref`.
 
-This file must be located within the top level of the 
+This file must be located within the top level of the
 :ref:`calibration_directory_pearl_isis-powder-diffraction-ref`
 directory.
 
 On PEARL this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
 
   vanadium_absorb_filename: "pearl_absorp_sphere_10mm_newinst2_long.nxs"
 
@@ -832,12 +833,12 @@ within the :ref:`create_vanadium_pearl_isis-powder-diffraction-ref`
 method. This is applied after focusing and before a spline is taken.
 
 It is used to remove low counts at the start and end of the vanadium run
-to produce a spline which better matches the data. 
+to produce a spline which better matches the data.
 
-This parameter is stored as a tuple of both values (lower and upper bound). 
-The values **must** have a larger TOF window than the 
+This parameter is stored as a tuple of both values (lower and upper bound).
+The values **must** have a larger TOF window than the
 :ref:`focused_cropping_values_pearl_isis-powder-diffraction-ref`
-and a smaller window than :ref:`raw_tof_cropping_values_pearl_isis-powder-diffraction-ref`.
+and a smaller window than :ref:`raw_data_tof_cropping_pearl_isis-powder-diffraction-ref`.
 
 *Note: The value passed with the*
 :ref:`long_mode_pearl_isis-powder-diffraction-ref` *parameter
@@ -845,9 +846,9 @@ determines the set of values used.*
 
 On PEARL this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
 
   # Long mode OFF:
     vanadium_tof_cropping: (1400, 19990)
   # Long mode ON:
-    vanadium_tof_cropping: (20295, 39993)
\ No newline at end of file
+    vanadium_tof_cropping: (20295, 39993)
diff --git a/docs/source/api/python/techniques/ISISPowder-Polaris-v1.rst b/docs/source/api/python/techniques/ISISPowder-Polaris-v1.rst
index 4c208e8345178a8477ba8ce90930b7371dbeaed8..0f79611c66853eedc8980540d3fe06f594b96edb 100644
--- a/docs/source/api/python/techniques/ISISPowder-Polaris-v1.rst
+++ b/docs/source/api/python/techniques/ISISPowder-Polaris-v1.rst
@@ -31,7 +31,7 @@ on YAML configuration files for more details
 Example
 ^^^^^^^
 
-.. code-block:: Python
+..  code-block:: python
 
   from isis_powder import Polaris
   
@@ -83,7 +83,7 @@ above:
 Example
 =======
 
-.. code-block:: Python
+..  code-block:: python
 
   # Notice how the filename ends with .yaml
   cal_mapping_file = r"C:\path\to\cal_mapping.yaml"
@@ -127,7 +127,7 @@ set then the following parameter is also required:
 Example
 =======
 
-.. code-block:: Python
+..  code-block:: python
 
   # Notice how the filename ends with .yaml
   cal_mapping_file = r"C:\path\to\cal_mapping.yaml"
@@ -157,7 +157,7 @@ The following parameter is required when calling *set_sample*
 Example
 =======
 
-.. code-block:: Python
+..  code-block:: python
 
   sample_obj = SampleDetails(...)
   sample_obj.set_material(...)
@@ -242,7 +242,7 @@ label folder which are subsequently loaded and used within the
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   calibration_dir = r"C:\path\to\calibration_dir"
   polaris_example = Polaris(calibration_directory=calibration_dir, ...)
@@ -259,7 +259,7 @@ calibration mapping. For more details on this file see:
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   # Notice the filename always ends in .yaml
   cal_mapping_file = r"C:\path\to\file\calibration_mapping.yaml"
@@ -279,7 +279,7 @@ Accepted values are: **True** or **False**
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   polaris_example.create_vanadium(chopper_on=True, ...)
   # Or
@@ -299,7 +299,7 @@ in the scripting window.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   # Notice the filename always ends in .yaml
   configuration_file = r"C:\path\to\file\configuration.yaml"
@@ -324,7 +324,7 @@ Accepted values are: **True** or **False**
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   polaris_example.create_vanadium(do_absorb_corrections=True, ...)
 
@@ -347,7 +347,7 @@ Accepted values are: **True** or **False**
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   polaris_example.focus(do_van_normalisation=True, ...)
 
@@ -370,7 +370,7 @@ is preferred for readability*
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   polaris_example.focus(file_ext=".s01", ...)
 
@@ -388,7 +388,7 @@ must be in the correct cycle according to the
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   # In this example assume we mean a cycle with run numbers 100-200
   polaris_example.create_vanadium(first_cycle_run_no=100, ...)
@@ -412,7 +412,7 @@ Accepted values are: **Summed** and **Individual**
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   polaris_example.focus(input_mode="Summed", ...)
 
@@ -434,7 +434,7 @@ the computer you are using*
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   polaris_example.create_vanadium(multiple_scattering=True, ...)
   # Or
@@ -456,7 +456,7 @@ several formats.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   output_dir = r"C:\path\to\output_dir"
   polaris_example = Polaris(output_directory=output_dir, ...)
@@ -486,7 +486,7 @@ on the data to be processed
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   # Process run number 1, 3, 5, 6, 7
   polaris_example.focus(run_number="1, 3, 5-7", ...)
@@ -515,7 +515,7 @@ Please visit the above page for more details.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   # Our sample empty is a single number
   polaris_example.focus(sample_empty=100, ...)
@@ -537,7 +537,7 @@ the data set. For more details see: :ref:`Scale <algm-Scale-v1>`.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   # Scale sample empty to 90% of original
   polaris_example.focus(sample_empty_scale=0.9, ...)
@@ -554,7 +554,7 @@ for more details.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
   polaris_example = Polaris(user_name="Mantid", ...)
 
@@ -588,7 +588,7 @@ TOF window than the :ref:`vanadium_cropping_values_polaris_isis-powder-diffracti
 
 On POLARIS this is set to the following TOF windows:
 
-.. code-block:: Python
+..  code-block:: python
 
   focused_cropping_values = [
       (1500, 19900),  # Bank 1
@@ -610,7 +610,7 @@ whilst focusing the spectra into banks.
 
 On POLARIS this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
 
   grouping_file_name: "Master_copy_of_grouping_file_with_essential_masks.cal"
 
@@ -625,7 +625,7 @@ be located within the top level of the
 
 On POLARIS this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
 
   masking_file_name: "VanaPeaks.dat"
 
@@ -643,7 +643,7 @@ of the run to process.
 
 On POLARIS this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
 
   raw_data_cropping_values: (750, 20000)
 
@@ -660,7 +660,7 @@ will need to be called again.*
 
 On POLARIS this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
   
   spline_coefficient: 100
 
@@ -683,7 +683,7 @@ and a smaller window than :ref:`raw_data_cropping_values_polaris_isis-powder-dif
 
 On POLARIS this is set to the following:
 
-.. code-block:: Python
+..  code-block:: python
 
   vanadium_cropping_values = [(800, 19995),  # Bank 1
                               (800, 19995),  # Bank 2
diff --git a/docs/source/api/python/techniques/ISISPowder-SampleDetails-v1.rst b/docs/source/api/python/techniques/ISISPowder-SampleDetails-v1.rst
index 1881cb6ccc19c94d0e5677227dcf954e4756e030..3d872cb11046276b0efea9c774d544fd88d345b9 100644
--- a/docs/source/api/python/techniques/ISISPowder-SampleDetails-v1.rst
+++ b/docs/source/api/python/techniques/ISISPowder-SampleDetails-v1.rst
@@ -50,7 +50,7 @@ sample geometry are required:
 Example
 ^^^^^^^
 
-.. code-block:: Python
+..  code-block:: python
 
     from isis_powder import SampleDetails
 
@@ -69,7 +69,7 @@ which is greater than 0.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
     sample_obj = SampleDetails(height=5.0, ...)
 
@@ -82,7 +82,7 @@ which is greater than 0.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
     sample_obj = SampleDetails(radius=5.0, ...)
 
@@ -95,7 +95,7 @@ co-ordinates. This co-ordinates must be numeric.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
     sample_obj = SampleDetails(center=[-1.0, 0.0, 1.0], ...)
 
@@ -120,7 +120,7 @@ The following properties are required to set the sample material:
 Example
 ^^^^^^^
 
-.. code-block:: Python
+..  code-block:: python
 
     sample_obj.set_material(chemical_formula="V")
     # OR
@@ -139,7 +139,7 @@ more details.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
     sample_obj.set_material(chemical_formula="V")
     # Or
@@ -158,7 +158,7 @@ is not an element the user must enter this value.
 
 Example Input:
 
-.. code-block:: Python
+..  code-block:: python
 
     sample_obj.set_material(number_density=0.123, ...)
 
@@ -181,7 +181,7 @@ These properties are:
 Example
 ^^^^^^^
 
-.. code-block:: Python
+..  code-block:: python
 
         sample_obj.set_material_properties(absorption_cross_section=123, 
                                            scattering_cross_section=456)
@@ -223,6 +223,6 @@ To change the chemical material or its advanced properties all
 *reset_sample_material*. This will reset **all** details (i.e
 advanced properties and chemical properties).
 
-.. code-block:: Python
+..  code-block:: python
 
     sample_obj.reset_sample_material()
\ No newline at end of file