diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..5e0f547 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +docs/** linguist-documentation +docs.ps1 linguist-vendored +build.ps1 linguist-vendored diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0325401..609e897 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -20,7 +20,7 @@ jobs: steps: - name: "Checkout" - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: "Debug event.json" continue-on-error: true @@ -32,9 +32,9 @@ jobs: GITHUB_CTX: ${{ toJSON(github) }} run: echo "$GITHUB_CTX" - #- name: "Debug Environment" - # continue-on-error: true - # run: env + - name: "Debug Environment" + continue-on-error: true + run: env - name: "Setup Python 3.13" uses: actions/setup-python@v6 diff --git a/.github/workflows/dev.yaml b/.github/workflows/dev.yaml index 94b3245..c681239 100644 --- a/.github/workflows/dev.yaml +++ b/.github/workflows/dev.yaml @@ -23,6 +23,7 @@ jobs: uses: cssnr/zensical-action@master with: upload: "artifact" + prepare: 'sed -i "s/>Zensical<\/a>/>Zensical<\/a> v${ZENSICAL_VERSION}/" zensical.toml' deploy: name: "Deploy" diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 0b81856..affb004 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -35,6 +35,8 @@ jobs: - name: "Zensical Action" id: zensical uses: cssnr/zensical-action@master + with: + prepare: 'sed -i "s/>Zensical<\/a>/>Zensical<\/a> v${ZENSICAL_VERSION}/" zensical.toml' - name: "Purge Cache" if: ${{ env.purge-domain != '' }} diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml index 2f3c44d..6f280f5 100644 --- a/.github/workflows/labeler.yaml +++ b/.github/workflows/labeler.yaml @@ -19,7 +19,7 @@ jobs: steps: - name: "Checkout Configs" - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: repository: cssnr/configs ref: master diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index d291cd0..56fc135 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -27,7 +27,7 @@ jobs: steps: - name: "Checkout" - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: "Debug event.json" continue-on-error: true @@ -67,7 +67,6 @@ jobs: python -m pip list - name: "Debug" - if: ${{ !github.event.act }} continue-on-error: true run: | python -V diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 07f6e0f..1d85cb9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -41,9 +41,9 @@ jobs: GITHUB_CTX: ${{ toJSON(github) }} run: echo "$GITHUB_CTX" - #- name: "Debug Environment" - # continue-on-error: true - # run: env + - name: "Debug Environment" + continue-on-error: true + run: env - name: "Debug" run: | diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3bc4ff4..b9afe09 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -34,7 +34,7 @@ jobs: steps: - name: "Checkout" - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: "Debug event.json" if: ${{ !github.event.act }} diff --git a/README.md b/README.md index 71d2261..b3e4077 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,8 @@ [](https://github.com/cssnr/actions-tools/actions/workflows/test.yaml) [](https://github.com/cssnr/actions-tools/actions/workflows/lint.yaml) [](https://github.com/cssnr/actions-tools/actions/workflows/release.yaml) -[](https://pypi.org/project/actions-tools/) -[](https://actions-tools.cssnr.com/) +[](https://pypi.org/project/actions-tools/) +[](https://actions-tools.cssnr.com/) [](https://github.com/cssnr/actions-tools/graphs/commit-activity) [](https://github.com/cssnr/actions-tools) [](https://github.com/cssnr/actions-tools?tab=readme-ov-file#readme) @@ -271,6 +271,7 @@ Additionally, you can support other [GitHub Actions](https://actions.cssnr.com/) - [Mirror Repository Action](https://github.com/cssnr/mirror-repository-action?tab=readme-ov-file#readme) - [Update Version Tags Action](https://github.com/cssnr/update-version-tags-action?tab=readme-ov-file#readme) - [Docker Tags Action](https://github.com/cssnr/docker-tags-action?tab=readme-ov-file#readme) +- [TOML Action](https://github.com/cssnr/toml-action?tab=readme-ov-file#readme) - [Update JSON Value Action](https://github.com/cssnr/update-json-value-action?tab=readme-ov-file#readme) - [JSON Key Value Check Action](https://github.com/cssnr/json-key-value-check-action?tab=readme-ov-file#readme) - [Parse Issue Form Action](https://github.com/cssnr/parse-issue-form-action?tab=readme-ov-file#readme) diff --git a/docs/actions.md b/docs/actions.md index 6698dae..206be1d 100644 --- a/docs/actions.md +++ b/docs/actions.md @@ -4,7 +4,7 @@ icon: simple/githubactions # :simple-githubactions: Actions -[{ align=right width=96 }](https://github.com/cssnr/actions-tools?tab=readme-ov-file#readme){target=\_blank} +[{ align=right width=96 }](https://github.com/cssnr/actions-tools?tab=readme-ov-file#readme) I have also developed quite a few [GitHub Actions](https://actions.cssnr.com/actions). diff --git a/docs/index.md b/docs/index.md index b7e6efb..41daed9 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4,7 +4,7 @@ icon: lucide/rocket # :lucide-rocket: Get Started -[{ align=right width=96 }](https://github.com/cssnr/actions-tools?tab=readme-ov-file#readme){target=\_blank} +[{ align=right width=96 }](https://github.com/cssnr/actions-tools?tab=readme-ov-file#readme) [](https://pypi.org/project/actions-tools/) [](https://github.com/cssnr/actions-tools?tab=readme-ov-file#readme) diff --git a/docs/javascripts/external-links.js b/docs/javascripts/external-links.js new file mode 100644 index 0000000..1bf83a7 --- /dev/null +++ b/docs/javascripts/external-links.js @@ -0,0 +1,12 @@ +// Open External Links in New Tab + +// noinspection JSUnresolvedReference,JSIgnoredPromiseFromCall +document$.subscribe(function () { + // console.log('processing:', window.location) + for (const el of document.querySelectorAll('a')) { + if (el.host !== globalThis.location.host) { + el.target = '_blank' + el.rel = 'noopener' + } + } +}) diff --git a/docs/support.md b/docs/support.md index 81a9161..feacef0 100644 --- a/docs/support.md +++ b/docs/support.md @@ -4,7 +4,7 @@ icon: lucide/message-circle-question-mark # :lucide-message-circle-question-mark: Support -[{ align=right width=96 }](https://github.com/cssnr/actions-tools?tab=readme-ov-file#readme){target=\_blank} +[{ align=right width=96 }](https://github.com/cssnr/actions-tools?tab=readme-ov-file#readme) If you run into any [issues](https://github.com/cssnr/actions-tools/issues) want to see more [features](https://github.com/cssnr/actions-tools/discussions/categories/feature-requests) @@ -25,7 +25,7 @@ or [Q&A](https://github.com/cssnr/actions-tools/discussions/categories/q-a). If you want to see a new feature, start a discussion in the [Feature Requests](https://github.com/cssnr/actions-tools/discussions/categories/feature-requests) section. -[:fontawesome-brands-github: Start A Discussion](https://github.com/cssnr/actions-tools/discussions){ .md-button .md-button--primary target=\_blank } +[:fontawesome-brands-github: Start A Discussion](https://github.com/cssnr/actions-tools/discussions){ .md-button .md-button--primary } ### GitHub Issues @@ -33,7 +33,7 @@ If you run into any problems or find a bug, please [open an issue](https://githu **These reports are treated with the highest priority.** -[:lucide-circle-alert: Report an Issue](https://github.com/cssnr/actions-tools/issues){ .md-button .md-button--primary target=\_blank } +[:lucide-circle-alert: Report an Issue](https://github.com/cssnr/actions-tools/issues){ .md-button .md-button--primary } ### Discord Chat @@ -41,7 +41,7 @@ You can chat with us about anything [on discord](https://discord.gg/wXy6m2X8wY). From here you can contact me directly, `Shane@111150265075298304`. -[:fontawesome-brands-discord: Chat on Discord](https://discord.gg/wXy6m2X8wY){ .md-button .md-button--primary target=\_blank } +[:fontawesome-brands-discord: Chat on Discord](https://discord.gg/wXy6m2X8wY){ .md-button .md-button--primary } ### General Feedback @@ -49,7 +49,7 @@ You can submit general feedback via the [web form](https://cssnr.github.io/feedb _This method is not recommended to [report issues](https://github.com/cssnr/actions-tools/issues) or [request features](https://github.com/cssnr/actions-tools/discussions/categories/feature-requests)._ -[:lucide-send: Send Feedback](https://cssnr.github.io/feedback/?app=actions-tools){ .md-button .md-button--primary target=\_blank } +[:lucide-send: Send Feedback](https://cssnr.github.io/feedback/?app=actions-tools){ .md-button .md-button--primary } ## Additional Links @@ -79,4 +79,4 @@ on [GitHub](https://github.com/cssnr/actions-tools?tab=readme-ov-file#contributi -[{ width=360 }](https://ko-fi.com/cssnr){target=\_blank} +[{ width=360 }](https://ko-fi.com/cssnr) diff --git a/docs/usage.md b/docs/usage.md index 6b06e79..d9e813f 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -4,7 +4,7 @@ icon: lucide/notebook-pen # :lucide-notebook-pen: Usage -[{ align=right width=96 }](https://github.com/cssnr/actions-tools?tab=readme-ov-file#readme){target=\_blank} +[{ align=right width=96 }](https://github.com/cssnr/actions-tools?tab=readme-ov-file#readme) After [installing](index.md#install) import the module and start using the methods... @@ -166,7 +166,7 @@ core.summary.add_table([["Head 1", "Head 2"], ["data 1", "data 2"]]) #