-
-
Notifications
You must be signed in to change notification settings - Fork 0
Upstream/v7.2.4 #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Upstream/v7.2.4 #10
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
367262e
fix(i18n): correct fr-FR translations (#1949)
denis-games 3ab3b84
refactor: replace deprecated meta element
cotes2020 5a63244
fix(pwa): site baseurl not passed to `app.js` (#1955)
cotes2020 fac6116
build(dev-deps): bump 7 dependencies versions
cotes2020 fbcdf8c
Merge branch 'master' into production
cotes2020 fd0df83
chore(release): 7.1.1
semantic-release-bot 7374906
Merge branch 'production'
semantic-release-bot e6b87d2
chore: remove `h1` element from site title (#1960)
kungfux 93f616b
fix: pagination error when pinned posts exceed the page size (#1965)
cotes2020 740bd84
chore(i18n): update hungarian translation (#1976)
borosbence 8a064a5
feat: show toc on mobile screens (#1964)
kungfux 03e302c
chore: close toc-popup gracefully with Esc key (#1990)
kungfux 6f46113
refactor: improve toc popup module
cotes2020 c1bd9eb
refactor: reduce duplicate scss
cotes2020 d4f7f39
refactor: simplify sidebar animation
cotes2020 74ed063
ci: block invalid pull requests (#2010)
cotes2020 c7f9675
ci: skip test for invalid PRs (#2013)
cotes2020 4ef3cd8
ci: improve workflow triggers (#2017)
cotes2020 86b13c9
chore: improve feed interoperability (#2024)
kungfux 42dea8e
build(deps): update `wdm` gem version for compatibility (#2028)
supreethmv 2f84497
chore: change stale label to `inactive`
cotes2020 d51345e
ci: reduce unnecessary pr-filter runs (#2033)
cotes2020 65f960c
perf: speed up page rendering and jekyll build process (#2034)
cotes2020 c69914e
ci: avoid repeated runs of stylelint (#2057)
cotes2020 35c794c
perf: modular sass architecture (#2052)
cotes2020 5756b8f
build(deps-dev): upgrade dependencies
cotes2020 1164769
build(deps): update dependencies version
cotes2020 5265b03
feat: support vertical scrolling for toc in desktop mode (#2064)
cotes2020 82ba82e
Merge branch 'master' into production
cotes2020 3df83fd
chore(release): 7.2.0
semantic-release-bot 2966fc1
Merge branch 'production'
semantic-release-bot b4019f3
fix: ensure pageviews are fetched after DOM is loaded (#2071)
kungfux 8e55e4d
build: correct the js rollup watch path (#2074)
cotes2020 a16aa7d
fix: correct the import condition for theme script (#2075)
kungfux 4180992
style: add indentation to js code
cotes2020 8280adb
fix(toc): resume fade up animation in desktop mode (#2085)
cotes2020 7ea3545
refactor: reduce the height of the TOC bottom overlay in desktop mode
cotes2020 976e1a1
fix(build): exclude `purgecss.js` from output files (#2090)
cotes2020 6c112c6
Merge branch 'master' into production
cotes2020 7630356
chore(release): 7.2.1
semantic-release-bot f55cc31
fix: js files in subdirectories are excluded from the site output (#2…
cotes2020 d87c2de
Merge branch 'hotfix/7.2.2' into production
cotes2020 0360c9e
chore(release): 7.2.2
semantic-release-bot 2f00d41
fix: refreshing mermaid theme may fail (#2113)
cotes2020 1b4e318
fix(ui): gap between TOC entries is inconsistent (#2119)
cotes2020 e0c3faf
fix(ui): slow script loading hides TOC fade-up effect in desktop (#2120)
cotes2020 e741aa4
Merge branch 'hotfix/7.2.3' into production
cotes2020 c174f62
chore(release): 7.2.3
semantic-release-bot 32051da
fix: toc not visible when switching from mobile to desktop mode (#2139)
cotes2020 1b93f6d
docs: update the setting name for the comments
cotes2020 8a4d0bc
fix(ui): left borderline of TOC is notched (#2140)
cotes2020 774ee93
Release v7.2.4 (#2141)
cotes2020 5e41d87
chore(release): 7.2.4
semantic-release-bot f2d881f
fix: solve merge conflicts applying v7.2.4
jwsung91 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| name: PR Filter | ||
|
|
||
| on: | ||
| pull_request_target: | ||
| types: [opened, reopened] | ||
|
|
||
| jobs: | ||
| check-template: | ||
| if: github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| pull-requests: write | ||
|
|
||
| steps: | ||
| - name: Checkout Code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Check PR Content | ||
| id: intercept | ||
| uses: actions/github-script@v7 | ||
| with: | ||
| github-token: ${{ secrets.GITHUB_TOKEN }} | ||
| script: | | ||
| const script = require('.github/workflows/scripts/pr-filter.js'); | ||
| await script({ github, context, core }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,7 @@ on: | |
| required: true | ||
| BUILDER: | ||
| required: true | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| launch: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| function hasTypes(markdown) { | ||
| return /## Type of change/.test(markdown) && /-\s\[x\]/i.test(markdown); | ||
| } | ||
|
|
||
| function hasDescription(markdown) { | ||
| return ( | ||
| /## Description/.test(markdown) && | ||
| !/## Description\s*\n\s*(##|\s*$)/.test(markdown) | ||
| ); | ||
| } | ||
|
|
||
| module.exports = async ({ github, context, core }) => { | ||
| const pr = context.payload.pull_request; | ||
| const body = pr.body === null ? '' : pr.body; | ||
| const markdown = body.replace(/<!--[\s\S]*?-->/g, ''); | ||
| const action = context.payload.action; | ||
|
|
||
| const isValid = | ||
| markdown !== '' && hasTypes(markdown) && hasDescription(markdown); | ||
|
|
||
| if (!isValid) { | ||
| await github.rest.pulls.update({ | ||
| ...context.repo, | ||
| pull_number: pr.number, | ||
| state: 'closed' | ||
| }); | ||
|
|
||
| await github.rest.issues.createComment({ | ||
| ...context.repo, | ||
| issue_number: pr.number, | ||
| body: `Oops, it seems you've ${action} an invalid pull request. No worries, we'll close it for you.` | ||
| }); | ||
|
|
||
| core.setFailed('PR content does not meet template requirements.'); | ||
| } | ||
| }; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,5 +23,5 @@ package-lock.json | |
| !.vscode/tasks.json | ||
|
|
||
| # Misc | ||
| # _sass/dist | ||
| # assets/js/dist | ||
| _sass/vendors | ||
| assets/js/dist | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| { | ||
| "ignoreFiles": ["_sass/vendors/**"], | ||
| "extends": "stylelint-config-standard-scss", | ||
| "rules": { | ||
| "no-descending-specificity": null, | ||
| "shorthand-property-no-redundant-values": null, | ||
| "at-rule-no-vendor-prefix": null, | ||
| "property-no-vendor-prefix": null, | ||
| "selector-no-vendor-prefix": null, | ||
| "value-no-vendor-prefix": null, | ||
| "color-function-notation": "legacy", | ||
| "alpha-value-notation": "number", | ||
| "selector-not-notation": "simple", | ||
| "color-hex-length": "long", | ||
| "declaration-block-single-line-max-declarations": 3, | ||
| "scss/operator-no-newline-after": null, | ||
| "rule-empty-line-before": [ | ||
| "always", | ||
| { | ||
| "ignore": ["after-comment", "first-nested"] | ||
| } | ||
| ], | ||
| "value-keyword-case": [ | ||
| "lower", | ||
| { | ||
| "ignoreProperties": ["/^\\$/"] | ||
| } | ||
| ], | ||
| "media-feature-range-notation": "prefix" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,17 +20,17 @@ webfonts: https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Sour | |
| # Libraries | ||
|
|
||
| toc: | ||
| css: https://cdn.jsdelivr.net/npm/tocbot@4.29.0/dist/tocbot.min.css | ||
| js: https://cdn.jsdelivr.net/npm/tocbot@4.29.0/dist/tocbot.min.js | ||
| css: https://cdn.jsdelivr.net/npm/tocbot@4.32.2/dist/tocbot.min.css | ||
| js: https://cdn.jsdelivr.net/npm/tocbot@4.32.2/dist/tocbot.min.js | ||
|
|
||
| fontawesome: | ||
| css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.6.0/css/all.min.css | ||
| css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.7.1/css/all.min.css | ||
|
|
||
| search: | ||
| js: https://cdn.jsdelivr.net/npm/[email protected]/dest/simple-jekyll-search.min.js | ||
|
|
||
| mermaid: | ||
| js: https://cdn.jsdelivr.net/npm/mermaid@11.0.2/dist/mermaid.min.js | ||
| js: https://cdn.jsdelivr.net/npm/mermaid@11.4.0/dist/mermaid.min.js | ||
|
|
||
| dayjs: | ||
| js: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,13 @@ | ||
| <!-- Matomo --> | ||
| <script type="text/javascript"> | ||
| var _paq = window._paq = window._paq || []; | ||
| _paq.push(['trackPageView']); | ||
| _paq.push(['enableLinkTracking']); | ||
| (function() { | ||
| <script> | ||
| document.addEventListener('DOMContentLoaded', () => { | ||
| var _paq = (window._paq = window._paq || []); | ||
| _paq.push(['trackPageView']); | ||
| _paq.push(['enableLinkTracking']); | ||
| var u="//{{ site.analytics.matomo.domain }}/"; | ||
| _paq.push(['setTrackerUrl', u+'matomo.php']); | ||
| _paq.push(['setSiteId', {{ site.analytics.matomo.id }}]); | ||
| var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; | ||
| g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); | ||
| })(); | ||
| }); | ||
| </script> | ||
| <!-- End Matomo Code --> |
File renamed without changes.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.