Skip to content

Commit bd2fb2d

Browse files
committed
prefix /docs to fonts
1 parent bea0695 commit bd2fb2d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/docs-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Docs - Publish
1+
name: Docs / Publish
22

33
permissions:
44
contents: read

.github/workflows/docs-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Docs - Test
1+
name: Docs / Test
22
permissions:
33
contents: read
44

@@ -50,4 +50,4 @@ jobs:
5050
aws_secret_access_key: ${{ secrets.DOCS_AWS_SECRET_ACCESS_KEY}}
5151
aws_bucket: spacetimedb-docs
5252
source_dir: docs/build
53-
destination_dir: ''
53+
destination_dir: 'docs'

docs/docusaurus.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const config: Config = {
3535
favicon: 'images/favicon.ico',
3636

3737
url: 'https://spacetimedb.com',
38-
baseUrl: '/docs',
38+
baseUrl: '/docs/',
3939

4040
onBrokenLinks: 'throw',
4141
onBrokenAnchors: 'throw',
@@ -60,7 +60,7 @@ const config: Config = {
6060
rel: 'preload',
6161
as: 'font',
6262
type: 'font/woff2',
63-
href: '/fonts/inter-latin-wght-normal.woff2',
63+
href: '/docs/fonts/inter-latin-wght-normal.woff2',
6464
crossorigin: 'anonymous',
6565
},
6666
},
@@ -70,7 +70,7 @@ const config: Config = {
7070
rel: 'preload',
7171
as: 'font',
7272
type: 'font/woff2',
73-
href: '/fonts/source-code-pro-latin-wght-normal.woff2',
73+
href: '/docs/fonts/source-code-pro-latin-wght-normal.woff2',
7474
crossorigin: 'anonymous',
7575
},
7676
},

0 commit comments

Comments
 (0)