Skip to content
This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Commit 5a82a98

Browse files
Changes to see if theme loads
1 parent 54611f3 commit 5a82a98

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

docs/src/.vitepress/config.mts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import footnote from "markdown-it-footnote";
55

66
// https://vitepress.dev/reference/site-config
77
export default defineConfig({
8-
base: '/ReefGuideAPI.jl/',// TODO: replace this in makedocs!
9-
title: 'ReefGuideAPI.jl',
8+
base: 'REPLACE_ME_DOCUMENTER_VITEPRESS',// TODO: replace this in makedocs!
9+
title: 'REPLACE_ME_DOCUMENTER_VITEPRESS',
1010
description: 'An API for Reef Guidance',
1111
lastUpdated: true,
1212
cleanUrls: true,
@@ -40,12 +40,10 @@ export default defineConfig({
4040
{ text: 'Getting Started', link: '/getting_started' },
4141
{ text: 'Docker', link: '/docker' },
4242
{ text: 'API', link: '/api' }
43-
]
44-
,
43+
],
4544
sidebar: [
4645

47-
]
48-
,
46+
],
4947
editLink: { pattern: "https://github.com/open-AIMS/ReefGuideAPI.jl/edit/main/docs/src/:path" },
5048
socialLinks: [
5149
{ icon: 'github', link: 'https://github.com/open-AIMS/ReefGuideAPI.jl' }

docs/src/.vitepress/theme/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import { h } from 'vue'
33
import type { Theme } from 'vitepress'
44
import DefaultTheme from 'vitepress/theme'
5-
// import AsideTrustees from '../../components/AsideTrustees.vue'
65

76
import { enhanceAppWithTabs } from 'vitepress-plugin-tabs/client'
87
import './style.css'
@@ -11,8 +10,7 @@ export default {
1110
extends: DefaultTheme,
1211
Layout() {
1312
return h(DefaultTheme.Layout, null, {
14-
// 'home-hero-info-after': () => h(HomeTrustees),
15-
// 'aside-ads-before': () => h(AsideTrustees),
13+
// https://vitepress.dev/guide/extending-default-theme#layout-slots
1614
})
1715
},
1816
enhanceApp({ app, router, siteData }) {

0 commit comments

Comments
 (0)