Attempt to fix vuepress site
This commit is contained in:
3
docs/.gitignore
vendored
Normal file
3
docs/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
node_modules/
|
||||
package-lock.json
|
||||
.vuepress/dist/
|
||||
@@ -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'],
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,10 @@
|
||||
"docs:dev": "vuepress dev .",
|
||||
"docs:build": "vuepress build ."
|
||||
},
|
||||
"dependencies": {
|
||||
"vuepress": "^1.9.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vuepress": "^2.0.0-beta.51"
|
||||
"@vuepress/bundler-vite": "^2.0.0-rc.16"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user