Reformat slides

This commit is contained in:
Oliver Davies 2021-04-22 14:00:00 +01:00
parent 05dbcb55fe
commit 9738028448
2 changed files with 70 additions and 27 deletions

View file

@ -113,3 +113,14 @@ styles:
smaller: smaller:
textColor: red textColor: red
centredtitle:
alignment: TA_CENTER
fontName: stdBold
fontSize: 48
leading: 64
parent: heading
centred:
alignment: TA_CENTER
parent: normal

View file

@ -115,8 +115,9 @@ Contrib improvements
PageBreak titlePage PageBreak titlePage
.. class:: centredtitle
The difference is deprecated code The difference is deprecated code
==================================
.. raw:: pdf .. raw:: pdf
@ -153,8 +154,9 @@ Deprecation example
PageBreak titlePage PageBreak titlePage
.. class:: centredtitle
How do I find it? How do I find it?
=================
.. raw:: pdf .. raw:: pdf
@ -171,11 +173,15 @@ Drupal Check
PageBreak titlePage PageBreak titlePage
composer global require mglaman/drupal-check .. class:: centredtitle
============================================
drupal-check web/modules/custom ``composer global require
=============================== mglaman/drupal-check``
.. page::
.. class:: centredtitle
``drupal-check web/modules/custom``
.. raw:: pdf .. raw:: pdf
@ -188,8 +194,9 @@ drupal-check web/modules/custom
PageBreak titlePage PageBreak titlePage
.. class:: centredtitle
Upgrade Status module Upgrade Status module
=====================
.. raw:: pdf .. raw:: pdf
@ -246,24 +253,37 @@ Composer
PageBreak titlePage PageBreak titlePage
composer require drupal/admin_toolbar:^2.0 .. class:: centredtitle
==========================================
composer install ``composer require
================ drupal/admin_toolbar:^2.0``
composer update drupal/admin_toolbar .. page::
==================================== .. class:: centredtitle
``composer install``
.. page::
.. class:: centredtitle
``composer update
drupal/admin_toolbar``
.. page::
.. class:: centredtitle
Always add '--no-dev' in production Always add '--no-dev' in production
===================================
.. raw:: pdf .. raw:: pdf
PageBreak titlePage
TextAnnotation "Prevents development dependencies from being installed, and potential security exploits from being added." TextAnnotation "Prevents development dependencies from being installed, and potential security exploits from being added."
.. class:: centredtitle
An Example: Dransible An Example: Dransible
=====================
.. class:: centred
https://github.com/opdavies/dransible https://github.com/opdavies/dransible
@ -299,11 +319,16 @@ Upgrading Dransible
PageBreak titlePage PageBreak titlePage
composer update drupal/core-* --with-dependencies .. class:: centredtitle
=================================================
composer require drupal/upgrade_status ``composer update drupal/core-*
====================================== --with-dependencies``
.. page::
.. class:: centredtitle
``composer require
drupal/upgrade_status``
.. raw:: pdf .. raw:: pdf
@ -337,8 +362,10 @@ composer require drupal/upgrade_status
PageBreak titlePage PageBreak titlePage
composer update drupal/core-* --with-dependencies .. class:: centredtitle
=================================================
``composer update drupal/core-*
--with-dependencies``
.. raw:: pdf .. raw:: pdf
@ -358,25 +385,30 @@ composer update drupal/core-* --with-dependencies
PageBreak titlePage PageBreak titlePage
.. class:: centredtitle
There were some autowiring gotchas... There were some autowiring gotchas...
=====================================
.. raw:: pdf .. raw:: pdf
PageBreak PageBreak
Error: Class 'Symfony\Component\Config\Resource\ClassExistenceResource' not found in Symfony\Component\DependencyInjection\Compiler\AutowirePass->createTypeNotFoundMessage() ``Error: Class 'Symfony\Component\Config\Resource\ClassExistenceResource' not found in Symfony\Component\DependencyInjection\Compiler\AutowirePass->createTypeNotFoundMessage()``
composer require symfony/config:^4 .. page::
==================================
.. class:: centredtitle
``composer require
symfony/config:^4``
.. raw:: pdf .. raw:: pdf
TextAnnotation "Composer tried installing version 5 by default, so locked to 4.x." TextAnnotation "Composer tried installing version 5 by default, so locked to 4.x."
PageBreak PageBreak titlePage
Cannot autowire service "Drupal\simple_message\DisplaySimpleMessage": argument "$messenger" of method "__construct()" references interface "Drupal\Core\Messenger\MessengerInterface" but no such service exists. You should maybe alias this interface to the existing "messenger" service ``Cannot autowire service "Drupal\simple_message\DisplaySimpleMessage": argument "$messenger" of method "__construct()" references interface "Drupal\Core\Messenger\MessengerInterface" but no such service exists. You should maybe alias this interface to the existing "messenger" service``
.. raw:: pdf .. raw:: pdf