From 018b49771173d2a9a94e99798e5f8ce874e2b25b Mon Sep 17 00:00:00 2001 From: Jonah Aragon Date: Sun, 31 Mar 2024 06:10:46 -0500 Subject: [PATCH] Automated PR Testing --- .github/workflows/test-lint.yml | 41 +++++++++++++++++++++++ docs/about/index.md | 12 +++---- docs/about/services.md | 6 ++-- theme/assets/stylesheets/lang-he.css | 8 ++--- theme/assets/stylesheets/lang-ru.css | 6 ++-- theme/assets/stylesheets/lang-zh-Hant.css | 8 ++--- 6 files changed, 61 insertions(+), 20 deletions(-) create mode 100644 .github/workflows/test-lint.yml diff --git a/.github/workflows/test-lint.yml b/.github/workflows/test-lint.yml new file mode 100644 index 0000000000..aadf39b8b8 --- /dev/null +++ b/.github/workflows/test-lint.yml @@ -0,0 +1,41 @@ +# Copyright (c) 2024 Jonah Aragon + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +name: Automated Testing + +on: + pull_request: + branches: + - main + workflow_dispatch: + +jobs: + editorconfig: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v4 + - uses: editorconfig-checker/action-editorconfig-checker@fe3b56f3fe5f55f8b325759f1fa454dc512e597b + - run: editorconfig-checker + + markdownlint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: articulate/actions-markdownlint@v1 diff --git a/docs/about/index.md b/docs/about/index.md index bcbf465963..71d196b30b 100644 --- a/docs/about/index.md +++ b/docs/about/index.md @@ -48,12 +48,12 @@ So far in 2023 we've launched international translations of our website in [Fren
- - :robot:{ .lg .middle } **@jonah** diff --git a/docs/about/services.md b/docs/about/services.md index b1e76809d9..9f4e8e0b65 100644 --- a/docs/about/services.md +++ b/docs/about/services.md @@ -13,14 +13,14 @@ We run a number of web services to test out features and promote cool decentrali ## Gitea - Domain: [code.privacyguides.dev](https://code.privacyguides.dev) -- Availability: Invite-Only +- Availability: Invite-Only Access may be granted upon request to any team working on *Privacy Guides*-related development or content. - Source: [snapcraft.io/gitea](https://snapcraft.io/gitea) ## Matrix - Domain: [matrix.privacyguides.org](https://matrix.privacyguides.org) -- Availability: Invite-Only +- Availability: Invite-Only Access may be granted upon request to Privacy Guides team members, Matrix moderators, third-party Matrix community administrators, Matrix bot operators, and other individuals in need of a reliable Matrix presence. - Source: [github.com/spantaleev/matrix-docker-ansible-deploy](https://github.com/spantaleev/matrix-docker-ansible-deploy) @@ -33,6 +33,6 @@ Access may be granted upon request to Privacy Guides team members, Matrix modera ## Invidious - Domain: [invidious.privacyguides.net](https://invidious.privacyguides.net) -- Availability: Semi-Public +- Availability: Semi-Public We host Invidious primarily to serve embedded YouTube videos on our website, this instance is not intended for general-purpose use and may be limited at any time. - Source: [github.com/iv-org/invidious](https://github.com/iv-org/invidious) diff --git a/theme/assets/stylesheets/lang-he.css b/theme/assets/stylesheets/lang-he.css index f2350a91a5..6b89367a3b 100644 --- a/theme/assets/stylesheets/lang-he.css +++ b/theme/assets/stylesheets/lang-he.css @@ -26,7 +26,7 @@ font-style: normal; font-weight: 400; font-display: swap; - src: url(https://fonts.bunny.net/suez-one/files/suez-one-hebrew-400-normal.woff2) format('woff2'); + src: url(https://fonts.bunny.net/suez-one/files/suez-one-hebrew-400-normal.woff2) format('woff2'); unicode-range: U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; } @@ -36,7 +36,7 @@ font-style: normal; font-weight: 400; font-display: swap; - src: url(https://fonts.bunny.net/suez-one/files/suez-one-latin-400-normal.woff2) format('woff2'); + src: url(https://fonts.bunny.net/suez-one/files/suez-one-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; } @@ -46,10 +46,10 @@ font-style: normal; font-weight: 400; font-display: swap; - src: url(https://fonts.bunny.net/suez-one/files/suez-one-latin-ext-400-normal.woff2) format('woff2'); + src: url(https://fonts.bunny.net/suez-one/files/suez-one-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; } - + h1, h2, h3, .md-header__topic { font-family: "Bagnard", "Suez One", serif; } diff --git a/theme/assets/stylesheets/lang-ru.css b/theme/assets/stylesheets/lang-ru.css index 7d249f3407..ef984c29e5 100644 --- a/theme/assets/stylesheets/lang-ru.css +++ b/theme/assets/stylesheets/lang-ru.css @@ -27,7 +27,7 @@ font-weight: 700; font-stretch: 100%; font-display: swap; - src: url(https://fonts.bunny.net/playfair-display/files/playfair-display-cyrillic-700-normal.woff2) format('woff2'), url(https://fonts.bunny.net/playfair-display/files/playfair-display-cyrillic-700-normal.woff) format('woff'); + src: url(https://fonts.bunny.net/playfair-display/files/playfair-display-cyrillic-700-normal.woff2) format('woff2'), url(https://fonts.bunny.net/playfair-display/files/playfair-display-cyrillic-700-normal.woff) format('woff'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; } @@ -38,7 +38,7 @@ font-weight: 700; font-stretch: 100%; font-display: swap; - src: url(https://fonts.bunny.net/playfair-display/files/playfair-display-latin-700-normal.woff2) format('woff2'), url(https://fonts.bunny.net/playfair-display/files/playfair-display-latin-700-normal.woff) format('woff'); + src: url(https://fonts.bunny.net/playfair-display/files/playfair-display-latin-700-normal.woff2) format('woff2'), url(https://fonts.bunny.net/playfair-display/files/playfair-display-latin-700-normal.woff) format('woff'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; } @@ -49,7 +49,7 @@ font-weight: 700; font-stretch: 100%; font-display: swap; - src: url(https://fonts.bunny.net/playfair-display/files/playfair-display-latin-ext-700-normal.woff2) format('woff2'), url(https://fonts.bunny.net/playfair-display/files/playfair-display-latin-ext-700-normal.woff) format('woff'); + src: url(https://fonts.bunny.net/playfair-display/files/playfair-display-latin-ext-700-normal.woff2) format('woff2'), url(https://fonts.bunny.net/playfair-display/files/playfair-display-latin-ext-700-normal.woff) format('woff'); unicode-range: U+0100-02AF,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; } diff --git a/theme/assets/stylesheets/lang-zh-Hant.css b/theme/assets/stylesheets/lang-zh-Hant.css index 18e00037e9..fd78bb57eb 100644 --- a/theme/assets/stylesheets/lang-zh-Hant.css +++ b/theme/assets/stylesheets/lang-zh-Hant.css @@ -25,7 +25,7 @@ font-family: 'Noto Serif TC'; font-style: normal; font-weight: 400; - src: url(https://fonts.bunny.net/noto-serif-tc/files/noto-serif-tc-chinese-traditional-400-normal.woff2) format('woff2'), url(https://fonts.bunny.net/noto-serif-tc/files/noto-serif-tc-chinese-traditional-400-normal.woff) format('woff'); + src: url(https://fonts.bunny.net/noto-serif-tc/files/noto-serif-tc-chinese-traditional-400-normal.woff2) format('woff2'), url(https://fonts.bunny.net/noto-serif-tc/files/noto-serif-tc-chinese-traditional-400-normal.woff) format('woff'); } /* latin */ @@ -33,7 +33,7 @@ font-family: 'Noto Serif TC'; font-style: normal; font-weight: 400; - src: url(https://fonts.bunny.net/noto-serif-tc/files/noto-serif-tc-latin-400-normal.woff2) format('woff2'), url(https://fonts.bunny.net/noto-serif-tc/files/noto-serif-tc-latin-400-normal.woff) format('woff'); + src: url(https://fonts.bunny.net/noto-serif-tc/files/noto-serif-tc-latin-400-normal.woff2) format('woff2'), url(https://fonts.bunny.net/noto-serif-tc/files/noto-serif-tc-latin-400-normal.woff) format('woff'); } /* chinese-traditional */ @@ -41,7 +41,7 @@ font-family: 'Noto Serif TC'; font-style: normal; font-weight: 700; - src: url(https://fonts.bunny.net/noto-serif-tc/files/noto-serif-tc-chinese-traditional-700-normal.woff2) format('woff2'), url(https://fonts.bunny.net/noto-serif-tc/files/noto-serif-tc-chinese-traditional-700-normal.woff) format('woff'); + src: url(https://fonts.bunny.net/noto-serif-tc/files/noto-serif-tc-chinese-traditional-700-normal.woff2) format('woff2'), url(https://fonts.bunny.net/noto-serif-tc/files/noto-serif-tc-chinese-traditional-700-normal.woff) format('woff'); } /* latin */ @@ -49,7 +49,7 @@ font-family: 'Noto Serif TC'; font-style: normal; font-weight: 700; - src: url(https://fonts.bunny.net/noto-serif-tc/files/noto-serif-tc-latin-700-normal.woff2) format('woff2'), url(https://fonts.bunny.net/noto-serif-tc/files/noto-serif-tc-latin-700-normal.woff) format('woff'); + src: url(https://fonts.bunny.net/noto-serif-tc/files/noto-serif-tc-latin-700-normal.woff2) format('woff2'), url(https://fonts.bunny.net/noto-serif-tc/files/noto-serif-tc-latin-700-normal.woff) format('woff'); } h1, h2, h3, .md-header__topic {