Remove instances of .. page::

Replace instances of `.. page::` with:

```rst
.. raw:: pdf

    PageBreak
```

This reduces my usage on the `preprocess` functionality I'd like to
remove.

This was done by executing this command:

```
find src -type f -name '*.rst' \
  -exec sed -Ei 's/.. page::$/.. raw:: pdf\n\n    PageBreak/g' {} \;
```
This commit is contained in:
Oliver Davies 2024-05-10 22:37:50 +02:00
parent 4f888eb6ec
commit 4de38d0276
27 changed files with 396 additions and 132 deletions

View file

@ -55,7 +55,9 @@ requirements.yml
TextAnnotation "Ordering matters here!"
TextAnnotation "If these were ordered alphabetically then Composer install would fail because it would run before PHP is installed."
.. page::
.. raw:: pdf
PageBreak
.. code-block:: yaml
@ -71,7 +73,9 @@ requirements.yml
TextAnnotation "configuring the Apache role to install virtual hosts."
.. page::
.. raw:: pdf
PageBreak
.. code-block:: yaml
@ -88,7 +92,9 @@ requirements.yml
TextAnnotation "configuring PHP."
.. page::
.. raw:: pdf
PageBreak
.. code-block:: yaml
@ -139,7 +145,9 @@ requirements.yml
TASK [geerlingguy.apache : Update apt cache.] **************************************************************************
changed: [webservers]
.. page::
.. raw:: pdf
PageBreak
.. code-block::
@ -167,7 +175,9 @@ requirements.yml
PLAY RECAP *************************************************************************************************************
webservers : ok=111 changed=32 unreachable=0 failed=0 skipped=78 rescued=0 ignored=0
.. page::
.. raw:: pdf
PageBreak
.. image:: images/after-provision-1.png
:width: 24cm
@ -176,7 +186,9 @@ requirements.yml
TextAnnotation "IP address of server, Apache is installed and running."
.. page::
.. raw:: pdf
PageBreak
.. image:: images/after-provision-2.png
:width: 24cm