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' {} \; ```
32 lines
515 B
ReStructuredText
32 lines
515 B
ReStructuredText
.. page:: titlePage
|
|
|
|
.. class:: centredtitle
|
|
|
|
Task 9: Configure PurgeCSS
|
|
|
|
.. page:: standardPage
|
|
|
|
.. code-block::
|
|
:include: code/yarn-output-before-purge.txt
|
|
:end-before: # yarn prod
|
|
|
|
.. raw:: pdf
|
|
|
|
PageBreak
|
|
|
|
.. code-block::
|
|
:include: code/yarn-output-before-purge.txt
|
|
:start-at: # yarn prod
|
|
|
|
Configuring PurgeCSS
|
|
--------------------
|
|
|
|
.. code-block:: diff
|
|
:include: code/configuring-purgecss.txt
|
|
|
|
.. raw:: pdf
|
|
|
|
PageBreak
|
|
|
|
.. code-block::
|
|
:include: code/yarn-output-after-purge.txt
|