- VitePress config with canonical URLs to core.help - Developer preview banner linking to main docs - Documentation pages: quick-start, commands, core-folder, repos-yaml - GitHub Actions workflow for Pages deployment Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
21 lines
557 B
TypeScript
21 lines
557 B
TypeScript
import { h } from 'vue'
|
|
import DefaultTheme from 'vitepress/theme'
|
|
import type { Theme } from 'vitepress'
|
|
import './custom.css'
|
|
|
|
const Banner = () => {
|
|
return h('div', { class: 'dev-banner' }, [
|
|
h('span', '📚 Developer preview. '),
|
|
h('a', { href: 'https://core.help/packages/devops/', target: '_blank' }, 'Visit core.help'),
|
|
h('span', ' for the complete documentation.')
|
|
])
|
|
}
|
|
|
|
export default {
|
|
extends: DefaultTheme,
|
|
Layout() {
|
|
return h(DefaultTheme.Layout, null, {
|
|
'layout-top': () => h(Banner)
|
|
})
|
|
}
|
|
} satisfies Theme
|