Skip to content

Commit ce66337

Browse files
MasssiveJuice08saberzero1dependabot[bot]threehymnsaarnphm
authoredJan 27, 2025
Quartz-7d7e334 (#108)
* feat: responsive design grid (#1354) * Responsive design grid * Addressed PR feedback * Bump Quartz version 4.3.1 => 4.4.0 * Moved page-header into center * Updated docs with new layouts * Sync updated version number with package-lock * Table of Content scrollbar auto * Reset node_modules * Updated layout images * Fixed tablet layout * Finilazed layout images * cull Quartz docs * Replace $mobileBreakpoint with $mobile reflects new scss variables updated with Quartz responsive design grid * chore(deps): bump shiki from 1.12.1 to 1.18.0 (#1436) Bumps [shiki](https://github.com/shikijs/shiki/tree/HEAD/packages/shiki) from 1.12.1 to 1.18.0. - [Release notes](https://github.com/shikijs/shiki/releases) - [Changelog](https://github.com/shikijs/shiki/blob/main/CHANGELOG.md) - [Commits](https://github.com/shikijs/shiki/commits/v1.18.0/packages/shiki) --- updated-dependencies: - dependency-name: shiki dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump hast-util-to-html from 9.0.2 to 9.0.3 (#1434) Bumps [hast-util-to-html](https://github.com/syntax-tree/hast-util-to-html) from 9.0.2 to 9.0.3. - [Release notes](https://github.com/syntax-tree/hast-util-to-html/releases) - [Commits](syntax-tree/hast-util-to-html@9.0.2...9.0.3) --- updated-dependencies: - dependency-name: hast-util-to-html dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump rehype-pretty-code from 0.13.2 to 0.14.0 (#1433) Bumps [rehype-pretty-code](https://github.com/rehype-pretty/rehype-pretty-code/tree/HEAD/packages/core) from 0.13.2 to 0.14.0. - [Release notes](https://github.com/rehype-pretty/rehype-pretty-code/releases) - [Changelog](https://github.com/rehype-pretty/rehype-pretty-code/blob/master/packages/core/CHANGELOG.md) - [Commits](https://github.com/rehype-pretty/rehype-pretty-code/commits/rehype-pretty-code@0.14.0/packages/core) --- updated-dependencies: - dependency-name: rehype-pretty-code dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump remark-rehype from 11.1.0 to 11.1.1 (#1435) Bumps [remark-rehype](https://github.com/remarkjs/remark-rehype) from 11.1.0 to 11.1.1. - [Release notes](https://github.com/remarkjs/remark-rehype/releases) - [Commits](remarkjs/remark-rehype@11.1.0...11.1.1) --- updated-dependencies: - dependency-name: remark-rehype dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump pixi.js from 8.3.4 to 8.4.1 (#1432) Bumps [pixi.js](https://github.com/pixijs/pixijs) from 8.3.4 to 8.4.1. - [Release notes](https://github.com/pixijs/pixijs/releases) - [Commits](pixijs/pixijs@v8.3.4...v8.4.1) --- updated-dependencies: - dependency-name: pixi.js dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix: truncate (max-width: $mobile) to ($mobile) `$mobile` variable includes max-width rule already. Was causing media query error preventing site build * feat: add a config option for a pageTitleSuffix (#1320) * feat: add a config option for a pageTitleSuffix * Run Prettier on Head.tsx * Make pageTitleSuffix optional Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com> --------- Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com> * fix(layout): grid triage and regression (#1440) * fix(table of contents): multiple scrollbars (jackyzha0/quartz#1388) * fix(center): Main content mininum width (jackyzha0/quartz#1439) * fix(code block): Horizontal overflow fix (jackyzha0/quartz#1438, jackyzha0/quartz#1353) * WIP fix for ul/ol .overflow * Fix: restore former scrollbar behavior for overflow lists (jackyzha0/quartz#1437) * Fix: code block overflow-x * fix: Table of Content overflow (jackyzha0/quartz#1437) * Address feedback * Move max-height toggle from js to css * fix(layout): grid triage with backlinks (#1442) * fix: provide default pageTitleSuffix (closes #1452) * fix(layout): backlinks grid triage (#1447) * fix: mobile backlinks orientation * temp: hide broken list gradient * fix: backlinks overflow * feat(analytics): clarity (#1446) Add the code necessary for support of Microsoft clarity * chore(deps): bump @floating-ui/dom from 1.6.10 to 1.6.11 (#1463) Bumps [@floating-ui/dom](https://github.com/floating-ui/floating-ui/tree/HEAD/packages/dom) from 1.6.10 to 1.6.11. - [Release notes](https://github.com/floating-ui/floating-ui/releases) - [Changelog](https://github.com/floating-ui/floating-ui/blob/master/packages/dom/CHANGELOG.md) - [Commits](https://github.com/floating-ui/floating-ui/commits/@floating-ui/dom@1.6.11/packages/dom) --- updated-dependencies: - dependency-name: "@floating-ui/dom" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(layout): restore footer to the proper position (#1470) * fix(layout): restore footer to the proper position * align ToC scrollbar properly on short headers * chore(deps-dev): bump tsx from 4.19.0 to 4.19.1 (#1467) Bumps [tsx](https://github.com/privatenumber/tsx) from 4.19.0 to 4.19.1. - [Release notes](https://github.com/privatenumber/tsx/releases) - [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs) - [Commits](privatenumber/tsx@v4.19.0...v4.19.1) --- updated-dependencies: - dependency-name: tsx dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump hast-util-to-string from 3.0.0 to 3.0.1 (#1466) Bumps [hast-util-to-string](https://github.com/rehypejs/rehype-minify) from 3.0.0 to 3.0.1. - [Release notes](https://github.com/rehypejs/rehype-minify/releases) - [Changelog](https://github.com/rehypejs/rehype-minify/blob/main/changelog.md) - [Commits](https://github.com/rehypejs/rehype-minify/commits) --- updated-dependencies: - dependency-name: hast-util-to-string dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/node from 22.5.5 to 22.7.4 (#1465) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.5.5 to 22.7.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump preact from 10.24.0 to 10.24.1 (#1464) Bumps [preact](https://github.com/preactjs/preact) from 10.24.0 to 10.24.1. - [Release notes](https://github.com/preactjs/preact/releases) - [Commits](preactjs/preact@10.24.0...10.24.1) --- updated-dependencies: - dependency-name: preact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * i18n: add Czech translation (#1477) * add Czech translation * fix formatting * infra: build quartz docker image to GHCR (#1192) * Add GitHub action to build & push Docker image to GHCR * Use double quotes to keep `prettier` happy :) * Don't run Docker build & push on forks * -1 char commit lmao * Add git metadata to Docker image * Apply Aaron's patch * chore: run prettier --------- Signed-off-by: Aaron Pham <contact@aarnphm.xyz> Co-authored-by: Aaron Pham <contact@aarnphm.xyz> * fix(ci): run build on tags (#1483) * fix(ci): run build on tags Signed-off-by: Aaron Pham <contact@aarnphm.xyz> * chore: update docker warning and not push on PR Signed-off-by: Aaron Pham <contact@aarnphm.xyz> --------- Signed-off-by: Aaron Pham <contact@aarnphm.xyz> * chore(ci): remove signing and vuln (#1484) Signed-off-by: Aaron Pham <contact@aarnphm.xyz> * chore(ci): group dependabot upgrade (#1491) Signed-off-by: Aaron Pham <contact@aarnphm.xyz> * chore(citations): passthrough options (#1429) * chore(deps): bump the production-dependencies group with 9 updates (#1495) Bumps the production-dependencies group with 9 updates: | Package | From | To | | --- | --- | --- | | [chokidar](https://github.com/paulmillr/chokidar) | `3.6.0` | `4.0.1` | | [esbuild-sass-plugin](https://github.com/glromeo/esbuild-sass-plugin) | `2.16.1` | `3.3.1` | | [lightningcss](https://github.com/parcel-bundler/lightningcss) | `1.26.0` | `1.27.0` | | [preact](https://github.com/preactjs/preact) | `10.24.1` | `10.24.2` | | [rehype-citation](https://github.com/timlrx/rehype-citation) | `2.1.1` | `2.1.2` | | [shiki](https://github.com/shikijs/shiki/tree/HEAD/packages/shiki) | `1.18.0` | `1.22.0` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.7.4` | `22.7.5` | | [esbuild](https://github.com/evanw/esbuild) | `0.19.12` | `0.24.0` | | [typescript](https://github.com/microsoft/TypeScript) | `5.6.2` | `5.6.3` | Updates `chokidar` from 3.6.0 to 4.0.1 - [Release notes](https://github.com/paulmillr/chokidar/releases) - [Commits](paulmillr/chokidar@3.6.0...4.0.1) Updates `esbuild-sass-plugin` from 2.16.1 to 3.3.1 - [Release notes](https://github.com/glromeo/esbuild-sass-plugin/releases) - [Commits](glromeo/esbuild-sass-plugin@v2.16.1...v3.3.1) Updates `lightningcss` from 1.26.0 to 1.27.0 - [Release notes](https://github.com/parcel-bundler/lightningcss/releases) - [Commits](parcel-bundler/lightningcss@v1.26.0...v1.27.0) Updates `preact` from 10.24.1 to 10.24.2 - [Release notes](https://github.com/preactjs/preact/releases) - [Commits](preactjs/preact@10.24.1...10.24.2) Updates `rehype-citation` from 2.1.1 to 2.1.2 - [Release notes](https://github.com/timlrx/rehype-citation/releases) - [Commits](timlrx/rehype-citation@v2.1.1...v2.1.2) Updates `shiki` from 1.18.0 to 1.22.0 - [Release notes](https://github.com/shikijs/shiki/releases) - [Changelog](https://github.com/shikijs/shiki/blob/main/CHANGELOG.md) - [Commits](https://github.com/shikijs/shiki/commits/v1.22.0/packages/shiki) Updates `@types/node` from 22.7.4 to 22.7.5 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `esbuild` from 0.19.12 to 0.24.0 - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md) - [Commits](evanw/esbuild@v0.19.12...v0.24.0) Updates `typescript` from 5.6.2 to 5.6.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](microsoft/TypeScript@v5.6.2...v5.6.3) --- updated-dependencies: - dependency-name: chokidar dependency-type: direct:production update-type: version-update:semver-major dependency-group: production-dependencies - dependency-name: esbuild-sass-plugin dependency-type: direct:production update-type: version-update:semver-major dependency-group: production-dependencies - dependency-name: lightningcss dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: preact dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: rehype-citation dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: shiki dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: esbuild dependency-type: direct:development update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(ofm): Allow for dashes in custom callout label (#1493) * [OFM] Allow for dashes in custom callout label For compatibility with Obsidian's behavior, a custom callout like [!see-also] is possible. Previously, this was parsed by Quartz as a callout “see” with metadata “-also”. Instead, this is should be a callout “see-also” with title “See also” (capitalization + replace dashes by spaces). * prettier * fix(toc): invalid desktop-only styling (#1502) * fix(toc): invalid desktop-only styling should display none instead. * Update toc.scss * docs: Update Name and URL of Simon's SB and adding DE Vault (#1507) * fix(cli): use shell on win32 for `update` (#1503) (#1504) If there is no `npm.exe` on the system, but instead an `npm.cmd`, then node won't find the `npm` executable when calling `spawnSync`. This occurs frequently when using node package managers on Windows. See the node documentation for `.bat` and `.cmd` files here. <https://nodejs.org/api/child_process.html#spawning-bat-and-cmd-files-on-windows>. * fix: make filter checks more strict (closes #1519) * fix(toc): regression (#1517) --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Aaron Pham <contact@aarnphm.xyz> Co-authored-by: Emile Bangma <github@emilebangma.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: threehymns <70611435+threehymns@users.noreply.github.com> Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com> Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com> Co-authored-by: Malcolm Mielle <malcolm.mielle@gmail.com> Co-authored-by: Emile Bangma <ewjbangma@hotmail.com> Co-authored-by: KurekMartin <79570332+KurekMartin@users.noreply.github.com> Co-authored-by: Julia van der Kris <juliavdkris@proton.me> Co-authored-by: Aaron Pham <contact@aarnphm.xyz> Co-authored-by: Pierre Lairez <lairez@users.noreply.github.com> Co-authored-by: Simon Späti <simon@ssp.sh> Co-authored-by: Sohum <31165513+ssmendon@users.noreply.github.com>
1 parent 2305dcf commit ce66337

31 files changed

+1238
-417
lines changed
 
+88
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
name: Docker build & push image
2+
3+
on:
4+
push:
5+
branches: [v4]
6+
tags: ["v*"]
7+
pull_request:
8+
branches: [v4]
9+
paths:
10+
- .github/workflows/docker-build-push.yaml
11+
- quartz/**
12+
workflow_dispatch:
13+
14+
jobs:
15+
build:
16+
if: ${{ github.repository == 'jackyzha0/quartz' }} # Comment this out if you want to publish your own images on a fork!
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Set lowercase repository owner environment variable
20+
run: |
21+
echo "OWNER_LOWERCASE=${OWNER,,}" >> ${GITHUB_ENV}
22+
env:
23+
OWNER: "${{ github.repository_owner }}"
24+
- uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 1
27+
- name: Inject slug/short variables
28+
uses: rlespinasse/github-slug-action@v4.4.1
29+
- name: Set up QEMU
30+
uses: docker/setup-qemu-action@v3
31+
- name: Set up Docker Buildx
32+
uses: docker/setup-buildx-action@v3
33+
with:
34+
install: true
35+
driver-opts: |
36+
image=moby/buildkit:master
37+
network=host
38+
- name: Install cosign
39+
if: github.event_name != 'pull_request'
40+
uses: sigstore/cosign-installer@v3.7.0
41+
- name: Login to GitHub Container Registry
42+
uses: docker/#-action@v3
43+
if: github.event_name != 'pull_request'
44+
with:
45+
registry: ghcr.io
46+
username: ${{ github.actor }}
47+
password: ${{ secrets.GITHUB_TOKEN }}
48+
49+
- name: Extract metadata tags and labels on PRs
50+
if: github.event_name == 'pull_request'
51+
id: meta-pr
52+
uses: docker/metadata-action@v5
53+
with:
54+
images: ghcr.io/${{ env.OWNER_LOWERCASE }}/quartz
55+
tags: |
56+
type=raw,value=sha-${{ env.GITHUB_SHA_SHORT }}
57+
labels: |
58+
org.opencontainers.image.source="https://github.com/${{ github.repository_owner }}/quartz"
59+
- name: Extract metadata tags and labels for main, release or tag
60+
if: github.event_name != 'pull_request'
61+
id: meta
62+
uses: docker/metadata-action@v5
63+
with:
64+
flavor: |
65+
latest=auto
66+
images: ghcr.io/${{ env.OWNER_LOWERCASE }}/quartz
67+
tags: |
68+
type=semver,pattern={{version}}
69+
type=semver,pattern={{major}}.{{minor}}
70+
type=semver,pattern={{major}}.{{minor}}.{{patch}}
71+
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
72+
type=raw,value=sha-${{ env.GITHUB_SHA_SHORT }}
73+
labels: |
74+
maintainer=${{ github.repository_owner }}
75+
org.opencontainers.image.source="https://github.com/${{ github.repository_owner }}/quartz"
76+
77+
- name: Build and push Docker image
78+
id: build-and-push
79+
uses: docker/build-push-action@v6
80+
with:
81+
push: ${{ github.event_name != 'pull_request' }}
82+
build-args: |
83+
GIT_SHA=${{ env.GITHUB_SHA }}
84+
DOCKER_LABEL=sha-${{ env.GITHUB_SHA_SHORT }}
85+
tags: ${{ steps.meta.outputs.tags || steps.meta-pr.outputs.tags }}
86+
labels: ${{ steps.meta.outputs.labels || steps.meta-pr.outputs.labels }}
87+
cache-from: type=gha
88+
cache-to: type=gha

‎Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20-slim as builder
1+
FROM node:20-slim AS builder
22
WORKDIR /usr/src/app
33
COPY package.json .
44
COPY package-lock.json* .

0 commit comments

Comments
 (0)