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

@ -25,7 +25,9 @@ Before we start
What is Tailwind CSS?
.. page::
.. raw:: pdf
PageBreak
.. class:: centredtitle
@ -38,7 +40,9 @@ A utility-first CSS framework for rapidly building custom designs
TextAnnotation "Make different looking sites using the same class names."
TextAnnotation "No 'Tailwind looking site' like there is with Bootstrap."
.. page::
.. raw:: pdf
PageBreak
.. class:: centredtitle
@ -52,7 +56,9 @@ Tailwind CSS is a highly customisable, low-level CSS framework
TextAnnotation "Avoids the need to name things prematurely."
TextAnnotation "Can extract components if needed (reusability)."
.. page::
.. raw:: pdf
PageBreak
.. class:: centredtitle
@ -81,7 +87,9 @@ Tailwind is more than a CSS framework, it's an engine for creating design system
TextAnnotation "Some of the 'original' things that Tailwind would generate classes for."
.. page::
.. raw:: pdf
PageBreak
- Screenreader visibility
- Placeholder colour
@ -102,12 +110,16 @@ Tailwind is more than a CSS framework, it's an engine for creating design system
.. image:: images/screenshot-laravel-nova.png
:width: 22cm
.. page::
.. raw:: pdf
PageBreak
.. image:: images/screenshot-send-firefox.png
:width: 22cm
.. page::
.. raw:: pdf
PageBreak
.. image:: images/screenshot-rebuilding-bartik.png
:width: 22cm