Attempt to fix vuepress site

This commit is contained in:
Daniel Lovell
2024-09-30 02:26:02 -07:00
parent 4882caea45
commit 4fb40a2bc6
4 changed files with 42 additions and 29 deletions

View File

@@ -1,25 +1,32 @@
module.exports = {
title : 'Micromissiles Unity Project',
description : 'Documentation for the Micromissiles Unity project',
base : '/micromissiles-unity/',
themeConfig : {
navbar :
[
{text : 'Home', link : '/'}, {
text : 'Keybinds and Controls',
link : '/Keybinds_and_Controls.html'
},
{
text : 'Simulation Configuration Guide',
link : '/Simulation_Config_Guide.html'
},
{text : 'Simulation Logging', link : '/Simulation_Logging.html'}, {
text : 'Coverage Reports',
link : '/coverage/'
}, // Link to coverage reports
],
sidebar : 'auto',
},
// Add this to ensure INDEX.md is used as the home page
patterns : ['INDEX.md', '**/*.md', '**/*.vue'],
}
module.exports = async () => {
const { viteBundler } = await import('@vuepress/bundler-vite')
return {
title : 'Micromissiles Unity Project',
description : 'Documentation for the Micromissiles Unity project',
base : './',
themeConfig : {
navbar :
[
{text : 'Home', link : '/'}, {
text : 'Keybinds and Controls',
link : '/Keybinds_and_Controls.html'
},
{
text : 'Simulation Configuration Guide',
link : '/Simulation_Config_Guide.html'
},
{text : 'Simulation Logging', link : '/Simulation_Logging.html'}, {
text : 'Coverage Reports',
link : '/coverage/'
}, // Link to coverage reports
],
sidebar : 'auto',
},
bundler: viteBundler(),
public: '../images',
// Add this to ensure INDEX.md is used as the home page
patterns : ['INDEX.md', '**/*.md', '**/*.vue'],
}
}