Skip to content

Commit 101a4b7

Browse files
committed
Merge branch 'v4' of https://github.com/jackyzha0/quartz into v4
2 parents ba2461c + e6cc9ba commit 101a4b7

File tree

25 files changed

+899
-403
lines changed

25 files changed

+899
-403
lines changed

.github/workflows/build-preview.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
runs-on: ubuntu-latest
1212
name: Build Preview
1313
steps:
14-
- uses: actions/checkout@v5
14+
- uses: actions/checkout@v6
1515
with:
1616
fetch-depth: 0
1717

1818
- name: Setup Node
19-
uses: actions/setup-node@v5
19+
uses: actions/setup-node@v6
2020
with:
2121
node-version: 22
2222

@@ -37,7 +37,7 @@ jobs:
3737
run: npx quartz build -d docs -v
3838

3939
- name: Upload build artifact
40-
uses: actions/upload-artifact@v4
40+
uses: actions/upload-artifact@v5
4141
with:
4242
name: preview-build
4343
path: public

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
permissions:
2020
contents: write
2121
steps:
22-
- uses: actions/checkout@v5
22+
- uses: actions/checkout@v6
2323
with:
2424
fetch-depth: 0
2525

2626
- name: Setup Node
27-
uses: actions/setup-node@v5
27+
uses: actions/setup-node@v6
2828
with:
2929
node-version: 22
3030

@@ -53,11 +53,11 @@ jobs:
5353
permissions:
5454
contents: write
5555
steps:
56-
- uses: actions/checkout@v5
56+
- uses: actions/checkout@v6
5757
with:
5858
fetch-depth: 0
5959
- name: Setup Node
60-
uses: actions/setup-node@v5
60+
uses: actions/setup-node@v6
6161
with:
6262
node-version: 22
6363
- name: Get package version

.github/workflows/deploy-preview.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
name: Deploy Preview to Cloudflare Pages
1919
steps:
2020
- name: Download build artifact
21-
uses: actions/download-artifact@v5
21+
uses: actions/download-artifact@v6
2222
id: preview-build-artifact
2323
with:
2424
name: preview-build

.github/workflows/docker-build-push.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
echo "OWNER_LOWERCASE=${OWNER,,}" >> ${GITHUB_ENV}
2222
env:
2323
OWNER: "${{ github.repository_owner }}"
24-
- uses: actions/checkout@v5
24+
- uses: actions/checkout@v6
2525
with:
2626
fetch-depth: 1
2727
- name: Inject slug/short variables
28-
uses: rlespinasse/github-slug-action@v5.2.0
28+
uses: rlespinasse/github-slug-action@v5.4.0
2929
- name: Set up QEMU
3030
uses: docker/setup-qemu-action@v3
3131
- name: Set up Docker Buildx
@@ -37,7 +37,7 @@ jobs:
3737
network=host
3838
- name: Install cosign
3939
if: github.event_name != 'pull_request'
40-
uses: sigstore/cosign-installer@v3.10.0
40+
uses: sigstore/cosign-installer@v4.0.0
4141
- name: Login to GitHub Container Registry
4242
uses: docker/login-action@v3
4343
if: github.event_name != 'pull_request'

docs/configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ This part of the configuration concerns anything that can affect the whole site.
3636
- `{provider: 'clarity', projectId: '<your-clarity-id-code' }`: use [Microsoft clarity](https://clarity.microsoft.com/). The project id can be found on top of the overview page.
3737
- `{ provider: 'matomo', siteId: '<your-matomo-id-code', host: 'matomo.example.com' }`: use [Matomo](https://matomo.org/), without protocol.
3838
- `{ provider: 'vercel' }`: use [Vercel Web Analytics](https://vercel.com/docs/concepts/analytics).
39+
- `{ provider: 'rybbit', siteId: 'my-rybbit-id' }` (managed) or `{ provider: 'rybbit', siteId: 'my-rybbit-id', host: 'my-rybbit-domain.com' }` (self-hosted) use [Rybbit](https://rybbit.com);
3940
- `locale`: used for [[i18n]] and date formatting
4041
- `baseUrl`: this is used for sitemaps and RSS feeds that require an absolute URL to know where the canonical 'home' of your site lives. This is normally the deployed URL of your site (e.g. `quartz.jzhao.xyz` for this site). Do not include the protocol (i.e. `https://`) or any leading or trailing slashes.
4142
- This should also include the subpath if you are [[hosting]] on GitHub pages without a custom domain. For example, if my repository is `jackyzha0/quartz`, GitHub pages would deploy to `https://jackyzha0.github.io/quartz` and the `baseUrl` would be `jackyzha0.github.io/quartz`.

docs/features/explorer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ You can access the tags of a file by `node.data.tags`.
162162
Component.Explorer({
163163
filterFn: (node) => {
164164
// exclude files with the tag "explorerexclude"
165-
return node.data.tags?.includes("explorerexclude") !== true
165+
return node.data?.tags?.includes("explorerexclude") !== true
166166
},
167167
})
168168
```

0 commit comments

Comments
 (0)