@@ -23,14 +23,14 @@ could be helpful to factor out the commonality into a shared module. Remember,
2323your build configuration is just a Python script at the end of the day.
2424
2525In Fab's
26- `example configurations <https://github.com/metomi /fab/tree/master /run_configs >`_,
26+ `example configurations <https://github.com/MetOffice /fab/tree/main /run_configs >`_,
2727we have two build scripts to compile GCOM. Much of the configuration for these
2828two scripts is identical. We extracted the common steps into
29- `gcom_build_steps.py <https://github.com/metomi /fab/blob/master /run_configs/gcom/gcom_build_steps.py >`_
29+ `gcom_build_steps.py <https://github.com/MetOffice /fab/blob/main /run_configs/gcom/gcom_build_steps.py >`_
3030and used them in
31- `build_gcom_ar.py <https://github.com/metomi /fab/blob/master /run_configs/gcom/build_gcom_ar.py >`_
31+ `build_gcom_ar.py <https://github.com/MetOffice /fab/blob/main /run_configs/gcom/build_gcom_ar.py >`_
3232and
33- `build_gcom_so.py <https://github.com/metomi /fab/blob/master /run_configs/gcom/build_gcom_so.py >`_.
33+ `build_gcom_so.py <https://github.com/MetOffice /fab/blob/main /run_configs/gcom/build_gcom_so.py >`_.
3434
3535
3636Separate grab and build scripts
@@ -289,7 +289,7 @@ will be affected consistently.
289289
290290
291291Tool arguments
292- ==============
292+ ==============
293293
294294Sometimes it is necessary to pass additional arguments when we call a software
295295tool.
@@ -398,13 +398,13 @@ We can currently only *add* flags for a path.
398398 This can require some understanding of where and when files are placed in
399399 the *build_output * folder: It will generally match the structure you've
400400 created in ``*<project workspace>/source* ``, with your grab steps.
401-
401+
402402 Early steps like preprocessors generally read files from ``*source* `` and
403403 write to ``*build_output* ``.
404-
404+
405405 Later steps like compilers generally read files which are already in
406406 ``*build_output* ``.
407-
407+
408408 For more information on where files end up see :ref: `Directory Structure `.
409409
410410
@@ -608,7 +608,7 @@ Custom Step
608608An alternative approach for some problems is to write a custom step to modify
609609the source so that the language parser can process it. Here's a simple example,
610610based on a
611- `real workaround <https://github.com/metomi /fab/blob/216e00253ede22bfbcc2ee9b2e490d8c40421e5d/run_configs/um/build_um.py#L42-L65 >`_
611+ `real workaround <https://github.com/MetOffice /fab/blob/216e00253ede22bfbcc2ee9b2e490d8c40421e5d/run_configs/um/build_um.py#L42-L65 >`_
612612where the parser gets confused by a variable called `NameListFile `.
613613
614614.. code-block ::
0 commit comments