From ad467a8700fa8bd21af622b9810f80490a84c5b4 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 10 May 2024 22:40:24 +0200 Subject: [PATCH] Consistent indentation This was done by executing this command: ``` find src -type f -name '*.rst' -exec sed -Ei 's/^ :/ :/g' {} \; ``` --- .../sections/ansistrano.rst | 4 +- .../sections/basic-deployment.rst | 2 +- .../sections/building-a-lamp-stack.rst | 4 +- .../slides-short.rst | 2 +- src/building-build-configs/sections/intro.rst | 2 +- .../sections/templates.rst | 2 +- .../slides.rst | 2 +- .../2021-01/slides.rst | 6 +- src/test-driven-drupal/demo.rst | 608 +++++++++--------- src/test-driven-drupal/slides.rst | 8 +- 10 files changed, 320 insertions(+), 320 deletions(-) diff --git a/src/archive/deploying-php-ansible-ansistrano/sections/ansistrano.rst b/src/archive/deploying-php-ansible-ansistrano/sections/ansistrano.rst index d69364e..81c5fd4 100644 --- a/src/archive/deploying-php-ansible-ansistrano/sections/ansistrano.rst +++ b/src/archive/deploying-php-ansible-ansistrano/sections/ansistrano.rst @@ -7,7 +7,7 @@ Better deployments with Ansistrano .. page:: standardPage .. image:: images/ansistrano.png - :width: 24cm + :width: 24cm .. raw:: pdf @@ -197,7 +197,7 @@ Build Hooks .. page:: imagePage .. image:: images/ansistrano-flow.png - :width: 18cm + :width: 18cm .. raw:: pdf diff --git a/src/archive/deploying-php-ansible-ansistrano/sections/basic-deployment.rst b/src/archive/deploying-php-ansible-ansistrano/sections/basic-deployment.rst index 330ef9b..876e60f 100644 --- a/src/archive/deploying-php-ansible-ansistrano/sections/basic-deployment.rst +++ b/src/archive/deploying-php-ansible-ansistrano/sections/basic-deployment.rst @@ -48,7 +48,7 @@ Basic deployment .. page:: standardPage .. image:: images/after-deploy-1.png - :width: 24cm + :width: 24cm .. page:: standardPage diff --git a/src/archive/deploying-php-ansible-ansistrano/sections/building-a-lamp-stack.rst b/src/archive/deploying-php-ansible-ansistrano/sections/building-a-lamp-stack.rst index d1ac7e8..2a7e3cb 100644 --- a/src/archive/deploying-php-ansible-ansistrano/sections/building-a-lamp-stack.rst +++ b/src/archive/deploying-php-ansible-ansistrano/sections/building-a-lamp-stack.rst @@ -180,7 +180,7 @@ requirements.yml PageBreak .. image:: images/after-provision-1.png - :width: 24cm + :width: 24cm .. raw:: pdf @@ -191,7 +191,7 @@ requirements.yml PageBreak .. image:: images/after-provision-2.png - :width: 24cm + :width: 24cm .. raw:: pdf diff --git a/src/archive/deploying-php-ansible-ansistrano/slides-short.rst b/src/archive/deploying-php-ansible-ansistrano/slides-short.rst index 1efadd5..4eca58a 100644 --- a/src/archive/deploying-php-ansible-ansistrano/slides-short.rst +++ b/src/archive/deploying-php-ansible-ansistrano/slides-short.rst @@ -17,7 +17,7 @@ Oliver Davies, Inviqa .. page:: imagePage .. image:: images/techs.png - :width: 14cm + :width: 14cm .. include:: sections/building-a-lamp-stack.rst .. include:: sections/basic-deployment.rst diff --git a/src/building-build-configs/sections/intro.rst b/src/building-build-configs/sections/intro.rst index d302c15..6502a5d 100644 --- a/src/building-build-configs/sections/intro.rst +++ b/src/building-build-configs/sections/intro.rst @@ -39,7 +39,7 @@ How Does it Work? ================= .. image:: diagram.png - :width: 18cm + :width: 18cm .. raw:: pdf diff --git a/src/building-build-configs/sections/templates.rst b/src/building-build-configs/sections/templates.rst index b07ec59..4d3e766 100644 --- a/src/building-build-configs/sections/templates.rst +++ b/src/building-build-configs/sections/templates.rst @@ -6,7 +6,7 @@ Dockerfile.twig =============== .. code-block:: twig - :linenos: + :linenos: FROM php:{{ php.version }} AS base diff --git a/src/building-presenting-slide-decks-rst2pdf/slides.rst b/src/building-presenting-slide-decks-rst2pdf/slides.rst index d2b154e..383a0fd 100644 --- a/src/building-presenting-slide-decks-rst2pdf/slides.rst +++ b/src/building-presenting-slide-decks-rst2pdf/slides.rst @@ -125,7 +125,7 @@ Re-compiling when something changes. | .. code-block:: bash - :include: code/watching.txt + :include: code/watching.txt Presenting ========== diff --git a/src/php-south-wales-intro-slides/2021-01/slides.rst b/src/php-south-wales-intro-slides/2021-01/slides.rst index d80c882..c9531e1 100644 --- a/src/php-south-wales-intro-slides/2021-01/slides.rst +++ b/src/php-south-wales-intro-slides/2021-01/slides.rst @@ -68,14 +68,14 @@ Join us in ``#website-improve`` .. page:: imagePage .. image:: images/dpcon-cfp.png - :width: 18cm + :width: 18cm .. image:: images/symfonylive-online-cfp.png - :width: 18cm + :width: 18cm .. raw:: pdf PageBreak .. image:: images/deploy-friday-composer.png - :width: 20cm + :width: 20cm diff --git a/src/test-driven-drupal/demo.rst b/src/test-driven-drupal/demo.rst index 5a59a48..59a2a5c 100644 --- a/src/test-driven-drupal/demo.rst +++ b/src/test-driven-drupal/demo.rst @@ -76,10 +76,10 @@ Tasks .. Adding the first test. .. code-block:: php - :include: code/3.txt - :linenos: - :startinline: true - :end-before: // end test + :include: code/3.txt + :linenos: + :startinline: true + :end-before: // end test .. raw:: pdf @@ -150,21 +150,21 @@ Tasks PageBreak .. code-block:: yaml - :include: code/3.txt - :linenos: - :start-after: // start routing - :end-before: // end routing + :include: code/3.txt + :linenos: + :start-after: // start routing + :end-before: // end routing .. raw:: pdf PageBreak .. code-block:: yaml - :include: code/3.txt - :linenos: - :start-after: // start routing - :end-before: // end routing - :hl_lines: 4,6 + :include: code/3.txt + :linenos: + :start-after: // start routing + :end-before: // end routing + :hl_lines: 4,6 .. raw:: pdf @@ -175,11 +175,11 @@ Tasks PageBreak .. code-block:: php - :include: code/3.txt - :startinline: true - :start-after: // start output - :end-before: // end output - :hl_lines: 7,8,9 + :include: code/3.txt + :startinline: true + :start-after: // start output + :end-before: // end output + :hl_lines: 7,8,9 .. raw:: pdf @@ -190,18 +190,18 @@ Tasks PageBreak .. code-block:: php - :include: code/4.txt - :linenos: - :startinline: true - :end-before: // output + :include: code/4.txt + :linenos: + :startinline: true + :end-before: // output | .. code-block:: plain - :include: code/4.txt - :startinline: true - :start-after: // output - :end-before: // end output + :include: code/4.txt + :startinline: true + :start-after: // output + :end-before: // end output .. raw:: pdf @@ -211,17 +211,17 @@ Tasks .. Enable the node module. .. code-block:: php - :include: code/5.txt - :linenos: - :startinline: true - :end-before: // end code + :include: code/5.txt + :linenos: + :startinline: true + :end-before: // end code | .. code-block:: plain - :include: code/5.txt - :start-after: // start output - :end-before: // end output + :include: code/5.txt + :start-after: // start output + :end-before: // end output .. raw:: pdf @@ -232,67 +232,67 @@ Tasks .. Create the Controller. .. code-block:: php - :include: code/6.txt - :linenos: - :startinline: true - :start-after: // start code - :end-before: // end code + :include: code/6.txt + :linenos: + :startinline: true + :start-after: // start code + :end-before: // end code .. raw:: pdf PageBreak .. code-block:: php - :include: code/6.txt - :linenos: - :startinline: true - :start-after: // start code - :end-before: // end code - :hl_lines: 1,2,3 + :include: code/6.txt + :linenos: + :startinline: true + :start-after: // start code + :end-before: // end code + :hl_lines: 1,2,3 .. raw:: pdf PageBreak .. code-block:: php - :include: code/6.txt - :linenos: - :startinline: true - :start-after: // start code - :end-before: // end code - :hl_lines: 7,13 + :include: code/6.txt + :linenos: + :startinline: true + :start-after: // start code + :end-before: // end code + :hl_lines: 7,13 .. raw:: pdf PageBreak .. code-block:: php - :include: code/6.txt - :linenos: - :startinline: true - :start-after: // start code - :end-before: // end code - :hl_lines: 9,10,11 + :include: code/6.txt + :linenos: + :startinline: true + :start-after: // start code + :end-before: // end code + :hl_lines: 9,10,11 .. raw:: pdf PageBreak .. code-block:: plain - :include: code/6.txt - :start-after: // start output - :end-before: // end output + :include: code/6.txt + :start-after: // start output + :end-before: // end output .. raw:: pdf PageBreak .. code-block:: php - :include: code/7.txt - :linenos: - :startinline: true - :start-after: // start test - :end-before: // end test + :include: code/7.txt + :linenos: + :startinline: true + :start-after: // start test + :end-before: // end test .. raw:: pdf @@ -325,241 +325,241 @@ Tasks PageBreak .. code-block:: plain - :include: code/7.txt - :start-after: // start output - :end-before: // end output + :include: code/7.txt + :start-after: // start output + :end-before: // end output .. raw:: pdf PageBreak .. code-block:: php - :include: code/7.txt - :linenos: - :startinline: true - :start-after: // start code - :end-before: // end code - :hl_lines: 3,7 + :include: code/7.txt + :linenos: + :startinline: true + :start-after: // start code + :end-before: // end code + :hl_lines: 3,7 .. raw:: pdf PageBreak .. code-block:: php - :include: code/7.txt - :linenos: - :startinline: true - :start-after: // start code - :end-before: // end code - :hl_lines: 10,11,12 + :include: code/7.txt + :linenos: + :startinline: true + :start-after: // start code + :end-before: // end code + :hl_lines: 10,11,12 .. raw:: pdf PageBreak .. code-block:: plain - :include: code/7.txt - :start-after: // start output2 - :end-before: // end output2 + :include: code/7.txt + :start-after: // start output2 + :end-before: // end output2 .. raw:: pdf PageBreak .. code-block:: php - :include: code/8.txt - :linenos: - :startinline: true - :start-after: // start code - :end-before: // end code + :include: code/8.txt + :linenos: + :startinline: true + :start-after: // start code + :end-before: // end code .. raw:: pdf PageBreak .. code-block:: php - :include: code/8.txt - :linenos: - :startinline: true - :start-after: // start code - :end-before: // end code - :hl_lines: 1,2,3,4,5,6,7,15 + :include: code/8.txt + :linenos: + :startinline: true + :start-after: // start code + :end-before: // end code + :hl_lines: 1,2,3,4,5,6,7,15 .. raw:: pdf PageBreak .. code-block:: php - :include: code/8.txt - :linenos: - :startinline: true - :start-after: // start code - :end-before: // end code - :hl_lines: 9,10,14 + :include: code/8.txt + :linenos: + :startinline: true + :start-after: // start code + :end-before: // end code + :hl_lines: 9,10,14 .. raw:: pdf PageBreak .. code-block:: php - :include: code/8.txt - :linenos: - :startinline: true - :start-after: // start code - :end-before: // end code - :hl_lines: 11 + :include: code/8.txt + :linenos: + :startinline: true + :start-after: // start code + :end-before: // end code + :hl_lines: 11 .. raw:: pdf PageBreak .. code-block:: php - :include: code/8.txt - :linenos: - :startinline: true - :start-after: // start code - :end-before: // end code - :hl_lines: 13 + :include: code/8.txt + :linenos: + :startinline: true + :start-after: // start code + :end-before: // end code + :hl_lines: 13 .. raw:: pdf PageBreak .. code-block:: php - :include: code/8.txt - :start-after: // start output - :end-before: // end output + :include: code/8.txt + :start-after: // start output + :end-before: // end output .. code-block:: php - :include: code/8.txt - :start-after: // start output - :end-before: // end output + :include: code/8.txt + :start-after: // start output + :end-before: // end output .. raw:: pdf PageBreak .. code-block:: php - :include: code/9.txt - :linenos: - :startinline: true - :start-after: // start code - :end-before: // end code + :include: code/9.txt + :linenos: + :startinline: true + :start-after: // start code + :end-before: // end code | .. code-block:: yaml - :include: code/9.txt - :linenos: - :start-after: // start services - :end-before: // end services + :include: code/9.txt + :linenos: + :start-after: // start services + :end-before: // end services .. raw:: pdf PageBreak .. code-block:: yaml - :include: code/9.txt - :start-after: // start output - :end-before: // end output + :include: code/9.txt + :start-after: // start output + :end-before: // end output .. raw:: pdf PageBreak .. code-block:: php - :include: code/10.txt - :linenos: - :startinline: true - :start-after: // start code - :end-before: // end code - :hl_lines: 5,6,7 + :include: code/10.txt + :linenos: + :startinline: true + :start-after: // start code + :end-before: // end code + :hl_lines: 5,6,7 .. raw:: pdf PageBreak .. code-block:: plain - :include: code/10.txt - :start-after: // start output - :end-before: // end output + :include: code/10.txt + :start-after: // start output + :end-before: // end output .. raw:: pdf PageBreak .. code-block:: php - :include: code/11.txt - :linenos: - :startinline: true - :start-after: // start code 1 - :end-before: // end code 1 + :include: code/11.txt + :linenos: + :startinline: true + :start-after: // start code 1 + :end-before: // end code 1 .. raw:: pdf PageBreak .. code-block:: php - :include: code/11.txt - :linenos: - :startinline: true - :start-after: // start code 1 - :end-before: // end code 1 - :hl_lines: 10,11,12 + :include: code/11.txt + :linenos: + :startinline: true + :start-after: // start code 1 + :end-before: // end code 1 + :hl_lines: 10,11,12 .. raw:: pdf PageBreak .. code-block:: php - :include: code/11.txt - :linenos: - :startinline: true - :start-after: // start code 1 - :end-before: // end code 1 - :hl_lines: 8,13 + :include: code/11.txt + :linenos: + :startinline: true + :start-after: // start code 1 + :end-before: // end code 1 + :hl_lines: 8,13 .. raw:: pdf PageBreak .. code-block:: php - :include: code/11.txt - :linenos: - :startinline: true - :start-after: // start code 2 - :end-before: // end code 2 - :hl_lines: 1,3 + :include: code/11.txt + :linenos: + :startinline: true + :start-after: // start code 2 + :end-before: // end code 2 + :hl_lines: 1,3 .. raw:: pdf PageBreak .. code-block:: php - :include: code/11.txt - :linenos: - :startinline: true - :start-after: // start code 2 - :end-before: // end code 2 - :hl_lines: 2 + :include: code/11.txt + :linenos: + :startinline: true + :start-after: // start code 2 + :end-before: // end code 2 + :hl_lines: 2 .. raw:: pdf PageBreak .. code-block:: yaml - :include: code/12.txt - :linenos: - :start-after: // start services1 - :end-before: // end services1 + :include: code/12.txt + :linenos: + :start-after: // start services1 + :end-before: // end services1 | .. code-block:: yaml - :include: code/12.txt - :linenos: - :start-after: // start services2 - :end-before: // end services2 + :include: code/12.txt + :linenos: + :start-after: // start services2 + :end-before: // end services2 .. raw:: pdf @@ -571,71 +571,71 @@ Tasks PageBreak .. code-block:: plain - :include: code/12.txt - :start-after: // start output - :end-before: // end output + :include: code/12.txt + :start-after: // start output + :end-before: // end output | .. code-block:: php - :include: code/13.txt - :linenos: - :startinline: true - :start-after: // start test - :end-before: // end test + :include: code/13.txt + :linenos: + :startinline: true + :start-after: // start test + :end-before: // end test .. raw:: pdf PageBreak .. code-block:: plain - :include: code/13.txt - :start-after: // start output - :end-before: // end output + :include: code/13.txt + :start-after: // start output + :end-before: // end output .. raw:: pdf PageBreak .. code-block:: php - :include: code/14.txt - :linenos: - :startinline: true - :start-after: // start test - :end-before: // end test - :hl_lines: 1 + :include: code/14.txt + :linenos: + :startinline: true + :start-after: // start test + :end-before: // end test + :hl_lines: 1 .. raw:: pdf PageBreak .. code-block:: php - :include: code/14.txt - :linenos: - :startinline: true - :start-after: // start test - :end-before: // end test - :hl_lines: 5 + :include: code/14.txt + :linenos: + :startinline: true + :start-after: // start test + :end-before: // end test + :hl_lines: 5 .. raw:: pdf PageBreak .. code-block:: plain - :include: code/14.txt - :start-after: // start output - :end-before: // end output + :include: code/14.txt + :start-after: // start output + :end-before: // end output .. raw:: pdf PageBreak .. code-block:: php - :include: code/15.txt - :linenos: - :start-after: // start test - :end-before: // end test - :startinline: true + :include: code/15.txt + :linenos: + :start-after: // start test + :end-before: // end test + :startinline: true .. raw:: pdf @@ -643,12 +643,12 @@ Tasks PageBreak .. code-block:: php - :include: code/15.txt - :linenos: - :startinline: true - :start-after: // start test - :end-before: // end test - :hl_lines: 1,2,3,4 + :include: code/15.txt + :linenos: + :startinline: true + :start-after: // start test + :end-before: // end test + :hl_lines: 1,2,3,4 .. raw:: pdf @@ -656,24 +656,24 @@ Tasks PageBreak .. code-block:: php - :include: code/15.txt - :linenos: - :startinline: true - :end-before: // end test - :start-after: // start test - :hl_lines: 10,11 + :include: code/15.txt + :linenos: + :startinline: true + :end-before: // end test + :start-after: // start test + :hl_lines: 10,11 .. raw:: pdf PageBreak .. code-block:: php - :include: code/15.txt - :startinline: true - :linenos: - :start-after: // start test - :end-before: // end test - :hl_lines: 13,14,15 + :include: code/15.txt + :startinline: true + :linenos: + :start-after: // start test + :end-before: // end test + :hl_lines: 13,14,15 .. raw:: pdf @@ -683,47 +683,47 @@ Tasks .. Published or unpublished nodes. .. code-block:: php - :include: code/16.txt - :linenos: - :startinline: true - :start-after: // start test - :end-before: // end test + :include: code/16.txt + :linenos: + :startinline: true + :start-after: // start test + :end-before: // end test .. raw:: pdf PageBreak .. code-block:: php - :include: code/16.txt - :linenos: - :startinline: true - :start-after: // start test - :end-before: // end test - :hl_lines: 2,4,6 + :include: code/16.txt + :linenos: + :startinline: true + :start-after: // start test + :end-before: // end test + :hl_lines: 2,4,6 .. raw:: pdf PageBreak .. code-block:: php - :include: code/16.txt - :linenos: - :startinline: true - :start-after: // start test - :end-before: // end test - :hl_lines: 3,5 + :include: code/16.txt + :linenos: + :startinline: true + :start-after: // start test + :end-before: // end test + :hl_lines: 3,5 .. raw:: pdf PageBreak .. code-block:: php - :include: code/16.txt - :linenos: - :startinline: true - :start-after: // start test - :end-before: // end test - :hl_lines: 12 + :include: code/16.txt + :linenos: + :startinline: true + :start-after: // start test + :end-before: // end test + :hl_lines: 12 .. raw:: pdf @@ -731,27 +731,27 @@ Tasks PageBreak .. code-block:: plain - :include: code/16.txt - :start-after: // start output - :end-before: // end output + :include: code/16.txt + :start-after: // start output + :end-before: // end output .. raw:: pdf PageBreak .. code-block:: php - :include: code/17.txt - :linenos: - :startinline: true - :start-after: // start code - :end-before: // end code + :include: code/17.txt + :linenos: + :startinline: true + :start-after: // start code + :end-before: // end code | .. code-block:: plain - :include: code/17.txt - :start-after: // start output - :end-before: // end output + :include: code/17.txt + :start-after: // start output + :end-before: // end output .. raw:: pdf @@ -760,79 +760,79 @@ Tasks .. Ensure articles are ordered correctly. .. code-block:: php - :include: code/18.txt - :linenos: - :startinline: true - :start-after: // start test - :end-before: // end test + :include: code/18.txt + :linenos: + :startinline: true + :start-after: // start test + :end-before: // end test .. raw:: pdf PageBreak .. code-block:: php - :include: code/18.txt - :linenos: - :startinline: true - :start-after: // start test - :end-before: // end test - :hl_lines: 3,5,7,9,11 + :include: code/18.txt + :linenos: + :startinline: true + :start-after: // start test + :end-before: // end test + :hl_lines: 3,5,7,9,11 .. raw:: pdf PageBreak .. code-block:: php - :include: code/18.txt - :linenos: - :startinline: true - :start-after: // start test - :end-before: // end test - :hl_lines: 16 + :include: code/18.txt + :linenos: + :startinline: true + :start-after: // start test + :end-before: // end test + :hl_lines: 16 .. raw:: pdf PageBreak .. code-block:: plain - :include: code/18.txt - :start-after: // start output - :end-before: // end output + :include: code/18.txt + :start-after: // start output + :end-before: // end output .. raw:: pdf PageBreak .. code-block:: php - :include: code/19.txt - :linenos: - :startinline: true - :start-after: // start code - :end-before: // end code + :include: code/19.txt + :linenos: + :startinline: true + :start-after: // start code + :end-before: // end code .. raw:: pdf PageBreak .. code-block:: php - :include: code/19.txt - :linenos: - :startinline: true - :start-after: // start code - :end-before: // end code - :hl_lines: 2,3,4 + :include: code/19.txt + :linenos: + :startinline: true + :start-after: // start code + :end-before: // end code + :hl_lines: 2,3,4 .. raw:: pdf PageBreak .. code-block:: php - :include: code/19.txt - :linenos: - :startinline: true - :start-after: // start code - :end-before: // end code - :hl_lines: 6,7 + :include: code/19.txt + :linenos: + :startinline: true + :start-after: // start code + :end-before: // end code + :hl_lines: 6,7 .. raw:: pdf @@ -840,18 +840,18 @@ Tasks PageBreak .. code-block:: php - :include: code/19.txt - :linenos: - :startinline: true - :start-after: // start code - :end-before: // end code - :hl_lines: 9 + :include: code/19.txt + :linenos: + :startinline: true + :start-after: // start code + :end-before: // end code + :hl_lines: 9 .. raw:: pdf PageBreak .. code-block:: plain - :include: code/19.txt - :start-after: // start output - :end-before: // end output + :include: code/19.txt + :start-after: // start output + :end-before: // end output diff --git a/src/test-driven-drupal/slides.rst b/src/test-driven-drupal/slides.rst index a462911..58354b8 100644 --- a/src/test-driven-drupal/slides.rst +++ b/src/test-driven-drupal/slides.rst @@ -30,7 +30,7 @@ Software Developer, Consultant, open-source maintainer .. page:: imagePage .. image:: images/timmillwood-ono.png - :width: 22cm + :width: 22cm .. raw:: pdf @@ -39,7 +39,7 @@ Software Developer, Consultant, open-source maintainer .. page:: imagePage .. image:: images/override-node-options-1.png - :width: 18cm + :width: 18cm .. raw:: pdf @@ -50,12 +50,12 @@ Software Developer, Consultant, open-source maintainer | .. image:: images/override-node-options-2.png - :width: 22cm + :width: 22cm | .. image:: images/override-node-options-3.png - :width: 22cm + :width: 22cm .. raw:: pdf