Clean up config.js formatting

master
Daniel Lovell 2024-09-30 02:26:25 -07:00
parent 4fb40a2bc6
commit 611dcb8365
1 changed files with 26 additions and 28 deletions

View File

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