From c77f2fce9152424360ce04c71751f3c54b969e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kr=C3=B3l?= Date: Mon, 29 Jan 2024 00:38:16 +0100 Subject: [PATCH 1/6] .github: update versions of all actions used MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Piotr Król --- .github/workflows/deploy.yml | 10 +++++----- .github/workflows/seo.yml | 26 +++++++++++++------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 269a42b..9148680 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,19 +15,19 @@ jobs: environment: prod steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 with: fetch-depth: 1 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4.0.1 with: - node-version: 16 + node-version: 20 - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@v2.6.0 with: - hugo-version: '0.110.0' + hugo-version: "0.111.3" extended: true - name: Setup Env diff --git a/.github/workflows/seo.yml b/.github/workflows/seo.yml index cc7a4bb..6a3bb27 100644 --- a/.github/workflows/seo.yml +++ b/.github/workflows/seo.yml @@ -13,10 +13,10 @@ jobs: linkChecker: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.1 - name: Link Checker id: lychee - uses: lycheeverse/lychee-action@v1.8.0 + uses: lycheeverse/lychee-action@v1.9.2 with: fail: true args: --timeout 60 --max-redirects 10 -a 403,500,502,503,504 . @@ -26,19 +26,19 @@ jobs: name: Check orphan pages steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 with: submodules: true - name: Checkout SEO Spy - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 with: repository: 3mdeb/seo-spy path: seo-spy - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: "3.9" - name: Install Dependencies run: | @@ -46,7 +46,7 @@ jobs: pip install -r seo-spy/requirements.txt - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@v2.6.0 with: extended: true @@ -59,26 +59,26 @@ jobs: - name: Check orphan pages uses: 3mdeb/seo-spy-action@main with: - domain: 'http://localhost:1313' + domain: "http://localhost:1313" seo_spy_canonical_links: runs-on: ubuntu-latest name: Check canonical links steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 with: submodules: true - name: Checkout SEO Spy - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 with: repository: 3mdeb/seo-spy path: seo-spy - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: "3.9" - name: Install Dependencies run: | @@ -86,7 +86,7 @@ jobs: pip install -r seo-spy/requirements.txt - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@v2.6.0 with: extended: true From dfad18fe0d7756c27dbb279fca00c14b38d76c81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kr=C3=B3l?= Date: Mon, 29 Jan 2024 00:38:43 +0100 Subject: [PATCH 2/6] scripts/local-preview.sh: update version of container used to match CI/CD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Piotr Król --- scripts/local-preview.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/local-preview.sh b/scripts/local-preview.sh index e17e030..0c8e2d3 100755 --- a/scripts/local-preview.sh +++ b/scripts/local-preview.sh @@ -1,3 +1,3 @@ #!/bin/bash -docker run --rm -it -v $PWD:/src -p 1313:1313 -u $(id -u) klakegg/hugo:0.105.0-ext-alpine serve -b $1 +docker run --rm -it -v $PWD:/src -p 1313:1313 -u $(id -u) klakegg/hugo:0.111.3-ext-alpine serve -b $1 From 49e7fe75bcf90374eef418793e892d1f7858a75c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 17:50:28 +0000 Subject: [PATCH 3/6] pre-commit: autoupdate hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/igorshubovych/markdownlint-cli: v0.38.0 → v0.39.0](https://github.com/igorshubovych/markdownlint-cli/compare/v0.38.0...v0.39.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 669b69e..63c974d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: args: [-c=.yamllint] - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.38.0 + rev: v0.39.0 hooks: - id: markdownlint args: [-c.markdown.yaml] From ce7df015da927808b513e26e317b7a77600480b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kr=C3=B3l?= Date: Mon, 29 Jan 2024 23:51:40 +0100 Subject: [PATCH 4/6] content/elements.md: fix pre-commit issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Piotr Król --- content/elements.md | 50 ++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/content/elements.md b/content/elements.md index cca059b..e8a371e 100755 --- a/content/elements.md +++ b/content/elements.md @@ -69,11 +69,11 @@ Some example text here. ### Unordered List -* List item -* List item -* List item -* List item -* List item +- List item +- List item +- List item +- List item +- List item ### Tab @@ -135,24 +135,24 @@ echo "Hello World!" {{< collapse "Why should you need to do this?" >}} -* Lorem ipsum dolor sit amet consectetur adipisicing elit. -* Lorem ipsum dolor sit amet consectetur adipisicing elit. -* Lorem ipsum dolor sit amet consectetur -{{< /collapse >}} +- Lorem ipsum dolor sit amet consectetur adipisicing elit. +- Lorem ipsum dolor sit amet consectetur adipisicing elit. +- Lorem ipsum dolor sit amet consectetur + {{< /collapse >}} {{< collapse "How can I adjust Horizontal centering" >}} -* Lorem ipsum dolor sit amet consectetur adipisicing elit. -* Lorem ipsum dolor sit amet consectetur adipisicing elit. -* Lorem ipsum dolor sit amet consectetur -{{< /collapse >}} +- Lorem ipsum dolor sit amet consectetur adipisicing elit. +- Lorem ipsum dolor sit amet consectetur adipisicing elit. +- Lorem ipsum dolor sit amet consectetur + {{< /collapse >}} {{< collapse "Should you use Negative margin?" >}} -* Lorem ipsum dolor sit amet consectetur adipisicing elit. -* Lorem ipsum dolor sit amet consectetur adipisicing elit. -* Lorem ipsum dolor sit amet consectetur -{{< /collapse >}} +- Lorem ipsum dolor sit amet consectetur adipisicing elit. +- Lorem ipsum dolor sit amet consectetur adipisicing elit. +- Lorem ipsum dolor sit amet consectetur + {{< /collapse >}} ### Code and Syntax Highlighting @@ -180,20 +180,20 @@ Avoid using inline html. Colons can be used to align columns. -| Tables | Are | Cool | -| ------------- |:-------------:| -----:| +| Tables | Are | Cool | +| ------------- | :-----------: | ----: | | col 3 is | right-aligned | $1600 | -| col 2 is | centered | $12 | -| zebra stripes | are neat | $1 | +| col 2 is | centered | $12 | +| zebra stripes | are neat | $1 | There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown. -Markdown | Less | Pretty ---- | --- | --- -_Still_ | `renders` | **nicely** -1 | 2 | 3 +| Markdown | Less | Pretty | +| -------- | --------- | ---------- | +| _Still_ | `renders` | **nicely** | +| 1 | 2 | 3 | ### Image From 254ea04d63b146b75ad27376ad749a2468a74f00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kr=C3=B3l?= Date: Mon, 29 Jan 2024 23:57:08 +0100 Subject: [PATCH 5/6] CHANGELOG.md: add v0.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Piotr Król --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea388a7..1afb1f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,34 @@ All notable changes to this project will be documented in this file. +## [0.9.0] - 2024-01-29 + +070c095...070c095 + +### CHANGELOG.md + +- Add v0.9.0 (070c095) + +### CI/CD + +- Update versions of all actions used (c77f2fc) + +### Content + +- Fix pre-commit issues (ce7df01) + +### Pre-commit + +- Autoupdate hooks (49e7fe7) + +### README + +- Update development workflow (6b3aeb1) + +### Scripts + +- Update version of container used to match CI/CD (dfad18f) + ## [0.8.0] - 2024-01-28 ### About Us From 55e7a89e937f6432bdf2f8ebfdf63234fed49c35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kr=C3=B3l?= Date: Tue, 30 Jan 2024 00:04:08 +0100 Subject: [PATCH 6/6] .markdown.yaml: allow MD024 for changelog-like structures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Piotr Król --- .markdown.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.markdown.yaml b/.markdown.yaml index 21946f2..a13f4d9 100644 --- a/.markdown.yaml +++ b/.markdown.yaml @@ -4,6 +4,10 @@ MD013: # Number of characters for code blocks code_block_line_length: 400 tables: false +MD024: + # If the parameter siblings_only is set to true, duplication is allowed for + # headings with different parents (as is common in changelogs) + siblings_only: true # MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading MD041: