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

@ -10,7 +10,9 @@ Task 9: Configure PurgeCSS
:include: code/yarn-output-before-purge.txt
:end-before: # yarn prod
.. page::
.. raw:: pdf
PageBreak
.. code-block::
:include: code/yarn-output-before-purge.txt
@ -22,7 +24,9 @@ Configuring PurgeCSS
.. code-block:: diff
:include: code/configuring-purgecss.txt
.. page::
.. raw:: pdf
PageBreak
.. code-block::
:include: code/yarn-output-after-purge.txt