6 Commits

Author SHA1 Message Date
c0b54ad843 Publish post 'Test nginx Configuration Directives' (#3)
Sitegen had some problems rendering `$host$request_uri` and `$$ct` so I had to make some changes to the Markdown renderer.

Reviewed-on: #3
2025-06-30 22:49:28 +00:00
41baffb445 Refactor pygments.moon 2025-06-16 20:18:05 -07:00
a4258167df Add spec for unlabeled code blocks 2025-06-16 20:18:05 -07:00
3f39bfeae7 Add test for syntax highlighting moonscript code block 2025-06-16 20:18:05 -07:00
26f77eab9a Add specs for pandoc markdown renderer 2025-06-16 20:18:05 -07:00
406208f26c Add tests for nginx.conf directives (#1)
Adds tests to make sure all the `nginx.conf` directives (the redirects and rewrites and such) are all correct.

- Uses the `busted` framework
- The tests are run in a Docker container by the bash script `test.sh`
- Self-signed certs are generated in `Dockerfile` for all the domain names
- Adds new `Makefile` commands: `test`, `image-build` and `image-rm`

Reviewed-on: #1
Co-authored-by: Catalin Mititiuc <webdevcat@proton.me>
Co-committed-by: Catalin Mititiuc <webdevcat@proton.me>
2025-06-16 20:18:05 -07:00