Commit graph

184 commits

Author SHA1 Message Date
Oliver Davies 24e3e387b1 Remove justfile 2024-07-23 22:19:50 +01:00
Oliver Davies 6f53f8c026 Update for BrumPHP 2024-05-23 22:45:43 +01:00
Oliver Davies cb4b396577 Update Tailwind CSS talk for DrupalCamp Ghent 2024-05-11 13:35:43 +02:00
Oliver Davies ad467a8700 Consistent indentation
This was done by executing this command:

```
find src -type f -name '*.rst' -exec sed -Ei 's/^  :/    :/g' {} \;
```
2024-05-10 22:41:07 +02:00
Oliver Davies 4de38d0276 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' {} \;
```
2024-05-10 22:37:50 +02:00
Oliver Davies 4f888eb6ec Remove duplicated style files
The canonical versions of my style files are stored within `src/styles`,
and these are the ones that should be used as they have the latest
changes and have been converted to the YAML format.

This commit removes any styles within the individual talk directories.
2024-05-10 22:35:54 +02:00
Oliver Davies 179e27f1b7 Update Test Driven Drupal for DrupalCamp Ghent 2024-05-10 18:16:08 +02:00
Oliver Davies 7fdeffb1af Update justfile recipes
* Hide the `default` recipe by renaming it to `_default` (recipes
  prefixed with an underscore are hidden from `just --list`.
* Re-add the `present` recipe for presenting with `pdfpc`, but making
  the duration a required argument.
* Add a `watch` recipe that watches files for changes and re-generates
  the PDF. This is based on a given path,
  e.g. `./src/test-driven-drupal`, and optionally allows for overriding
  the rst filename if I only want to watch a specfic source file, such
  as `demo.rst`.
2024-05-10 10:08:04 +01:00
Oliver Davies d814d86808 Fix bullet point positioning 2024-05-10 09:12:01 +01:00
Oliver Davies 9f10128230 Allow for compiling other files
Instead of assuming we're always compiling from `slides.rst`, make the
filename dynamic so it can build whatever files are needed.

For example, to generate the demo slides for Test Driven Drupal, I can
run:

```shell
just generate-pdf ./src/test-driven-drupal demo.rst
```

If no filename is specified, default to `slides.rst` and all the slides
will be compiled.
2024-05-09 15:19:01 +01:00
Oliver Davies 8b47c24889 Update syntax highlighting styles 2024-05-09 13:57:30 +01:00
Oliver Davies ea3fcd0704 Use the talk path instead of just the name
Pass the path to the talk directory - e.g.
`just generate ./src/test-driven-drupal` instead of just the talk
name/slug.

This doesn't change where the files are sourced from or output, but this
makes it easier to use `just generate` as I can use tab completion when
executing the command - making it quicker and less prone to typos.
2024-05-09 11:06:40 +01:00
Oliver Davies 4f6ca80035 Update stylesheets 2024-05-09 10:45:06 +01:00
Oliver Davies 6ef6c8359d Add texlive which includes pdfjam 2024-04-26 13:35:10 +01:00
Oliver Davies 9f15e2389f Add PHPSW talk 2024-04-21 23:08:08 +01:00
Oliver Davies d3c7984925 Add justfile 2024-04-21 23:07:57 +01:00
Oliver Davies 72118c1903 Reformat flake 2024-04-21 23:07:32 +01:00
Oliver Davies 72b22b41a8 Consolidate Build Configs talk slides 2024-01-25 15:49:14 +00:00
Oliver Davies fa99025778 Update run tasks 2024-01-25 15:49:02 +00:00
Oliver Davies c5e1da11f7 Fix missing speaker notes in pdfpc 2024-01-25 15:34:40 +00:00
Oliver Davies 70d330aa1b Add slides for PHP Munich 2024-01-24 12:17:35 +00:00
Oliver Davies 6d8f1db01f Add Build Configs lightning talk 2024-01-23 14:38:02 +00:00
Oliver Davies 17951f1fc9 build: add new task 2023-11-01 22:38:55 +01:00
Oliver Davies 3279719cfe feat(run): add thumbnails:generate task 2023-10-20 00:44:44 +02:00
Oliver Davies d55df5ca18 chore: add .git-blame-ignore-revs
Add a file of commit SHAs that can be ignored when running commands like
`git blame`.

This can be enabled with the following command:

$ git config blame.ignoreRevsFile .git-blame-ignore-revs

See https://moxio.com/blog/ignoring-bulk-change-commits-with-git-blame.
2023-10-18 00:23:01 +02:00
Oliver Davies 51c5f5759d refactor: move into src 2023-10-18 00:21:35 +02:00
Oliver Davies 675e89e9d1 docs: DrupalCon updates 2023-10-17 13:16:57 +02:00
Oliver Davies 6cf7d0fee4 docs: add TechConnect talk 2023-10-11 20:08:29 +01:00
Oliver Davies 1f271a2655 chore: updates
* Update `run` tasks to use the Nix Flake instead of Docker.
* Output PDFs into a `dist` directory and name them as the talk name.
* Move the stylesheets into a common place.
2023-10-11 20:02:32 +01:00
Oliver Davies d9f3cae654 build(flake): switch to 23.05 stable 2023-10-11 19:22:13 +01:00
Oliver Davies 1586971eea build(flake): remove just 2023-10-11 19:22:13 +01:00
Oliver Davies 596684a71d build(flake): use direnv 2023-10-11 19:19:37 +01:00
Oliver Davies 9692827603 Archive old talks 2023-07-18 19:55:43 +01:00
Oliver Davies 12863a4f92 build(nix): use flake-parts 2023-05-06 12:24:30 +01:00
Oliver Davies 8b18e05fbc wip 2023-05-06 12:24:30 +01:00
Oliver Davies 63bf55b978 build: delete .rst.build_temp files 2023-02-23 15:09:41 +00:00
Oliver Davies 639de3a234 Updates before nor(DEV):con 2023-02-23 15:08:45 +00:00
Oliver Davies de6303e55a build: ignore generated files 2023-02-23 15:07:43 +00:00
Oliver Davies 7dd48f3880 Updates before the Bristol Software meetup 2023-02-22 23:16:39 +00:00
Oliver Davies e392af7acf
Delete create.sh 2023-02-16 09:53:45 +00:00
Oliver Davies 3da19375f6 Add demo 2023-02-15 07:56:04 +00:00
Oliver Davies 0ad2dafa89 justfile: include the preprocess rst2pdf plugin 2023-02-14 23:30:06 +00:00
Oliver Davies 9a3353b8a2 Generate both light and dark versions of slides 2023-01-12 17:21:57 +00:00
Oliver Davies 7a762182ef build: add nix flake for rst2pdf 2023-01-12 17:21:44 +00:00
Oliver Davies 6640ded8c3 update slides before PHP Stoke 2023-01-12 17:21:44 +00:00
Oliver Davies 9b9d15a0e0 Archive Working with Workspace 2023-01-11 02:00:44 +00:00
Oliver Davies 3f3260764e docs: add "Things about PHP" slides 2022-03-09 17:12:10 +00:00
Oliver Davies 260d2d6c58 feat: add pdf:present task 2021-12-09 21:16:49 +00:00
Oliver Davies e796a6e2a9
Create demo.txt 2021-12-09 17:54:40 +00:00
Oliver Davies 017713a063 refactor: replace workspace.yml with run 2021-11-09 00:59:21 +00:00