Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,22 @@ export default defineConfig({
description: 'Technical Documentation about *.geo.admin.ch',
/*
Prepend a base path such that links still work when the page is built for the
preview in a PR ("test link" in the PR description).
preview in a PR ('test link' in the PR description).

For example, VITE_BASE_URL would be set to "/preview/feat-pb-1234-my-branch/"
For example, VITE_BASE_URL would be set to '/preview/feat-pb-1234-my-branch/'
for a link like this:

https://sys-docs.dev.bgdi.ch/preview/feat-pb-1234-my-branch/index.html
*/
base: process.env.VITE_BASE_URL || '/',
head: [['link', { rel: 'icon', href: '/favicon.ico' }]],
head: [
['link', { rel: 'icon', href: '/favicon.ico' }],
['meta', { name: 'robots', content: 'noindex' }],
],
ignoreDeadLinks: 'localhostLinks',
vite: {
build: {
// We add this to avoid the warning "(!) Some chunks are larger than 500 kB after minification."
// We add this to avoid the warning '(!) Some chunks are larger than 500 kB after minification.'
chunkSizeWarningLimit: 1000,
},
},
Expand Down
2 changes: 1 addition & 1 deletion page/status-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ This page provides the latest status updates for all \*.geo.admin.ch web service
'warning': '⚠️',
'danger': '🚨'
}[$frontmatter.type] || ''
}} **{{ $frontmatter.title }}**: {{ $frontmatter.content }}
}} **{{ $frontmatter.previewTitle }}**: {{ $frontmatter.content }}

## Incident History

Expand Down
Loading