Update docs

This commit is contained in:
Alan Grainger
2026-10-08 22:33:54 +13:00
parent ecc22d2a08
commit bbff86957a
14 changed files with 1196 additions and 217 deletions
+7 -2
View File
@@ -1,7 +1,8 @@
import DefaultTheme from 'vitepress/theme'
import { useData } from 'vitepress'
import { h } from 'vue'
import { h, type App } from 'vue'
import type { ThemeConfig } from '../config'
import ConfigGenerator from './components/ConfigGenerator.vue'
import './custom.css'
const DEMO_URL = 'https://demo.ipp.nz/s/demo-gallery'
@@ -46,10 +47,14 @@ const StarCount = {
* - use the live-demo screenshot as the hero image (`home-hero-image`),
* absolutely centred within the hero image container so it lines up
* vertically with the hero text;
* - place the IPP shield logo below the feature grid (`home-features-after`).
* - place the IPP shield logo below the feature grid (`home-features-after`);
* - register `<ConfigGenerator />` for the Config generator page.
*/
export default {
extends: DefaultTheme,
enhanceApp ({ app }: { app: App }) {
app.component('ConfigGenerator', ConfigGenerator)
},
Layout () {
return h(DefaultTheme.Layout, null, {
'nav-bar-content-after': () => h(StarCount),