Skip to content

Commit a9c4647

Browse files
ci: test no-config build
1 parent 230699f commit a9c4647

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ jobs:
5555
- kind: ja-JP
5656
tag: latest
5757
base: "/docs/"
58+
- kind: no-config
59+
tag: v0.14.1
60+
base: "/docs/"
5861
name: |
5962
Build for ${{ matrix.kind }} ${{ matrix.tag }} (base: ${{ matrix.base }})
6063
steps:
@@ -69,7 +72,7 @@ jobs:
6972
if: ${{ matrix.kind == 'ja-JP' }}
7073
run: bun run fetch-docs-ja-jp
7174
- name: Fetch docs assets
72-
if: ${{ matrix.kind == 'official' }}
75+
if: ${{ matrix.kind == 'official' || matrix.kind == 'no-config' }}
7376
shell: bash
7477
run: |
7578
set -euxo pipefail
@@ -84,6 +87,9 @@ jobs:
8487
unzip docs-assets.zip
8588
mv assets public/assets
8689
90+
# Skip further configuration if no-config
91+
${{ matrix.kind == 'no-config' && 'exit 0' }}
92+
8793
# Prepare favicon
8894
curl -L https://github.com/typst-community/org/raw/main/design/typst-community.icon.png \
8995
-o public/favicon.png

src/metadata.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,7 @@ const metadata: Metadata = (() => {
4646
typstOfficialUrl: "https://typst.app/",
4747
typstOfficialDocsUrl: "https://typst.app/docs/",
4848
githubOrganizationUrl: "https://github.com/typst",
49-
socialLinks: [
50-
{ url: "https://github.com/typst/typst" },
51-
{
52-
title: "Discord (dummy)",
53-
url: "https://discord.gg/dummy",
54-
},
55-
],
49+
socialLinks: [{ url: "https://github.com/typst/typst" }],
5650
originUrl: "https://example.com/",
5751
basePath: "/docs/",
5852
displayTranslationStatus: true,

0 commit comments

Comments
 (0)