mirror of
https://github.com/JonasunderscoreJones/docs.jonasjones.dev.git
synced 2025-10-22 18:49:18 +02:00
fixed syntax issues
This commit is contained in:
parent
4c0fe127b5
commit
2a3e15f979
1 changed files with 5 additions and 8 deletions
|
@ -23,7 +23,7 @@ const config = {
|
|||
organizationName: 'JonasunderscoreJones', // Usually your GitHub org/user name.
|
||||
projectName: 'docs.jonasjones.dev', // Usually your repo name.
|
||||
|
||||
onBrokenLinks: 'throw',
|
||||
onBrokenLinks: 'warn',
|
||||
onBrokenMarkdownLinks: 'warn',
|
||||
|
||||
// Even if you don't use internationalization, you can use this field to set
|
||||
|
@ -54,6 +54,9 @@ const config = {
|
|||
themeConfig:
|
||||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
||||
({
|
||||
prism: {
|
||||
additionalLanguages: ['properties', 'ini'],
|
||||
},
|
||||
colorMode: {
|
||||
defaultMode: 'dark',
|
||||
disableSwitch: false,
|
||||
|
@ -79,13 +82,7 @@ const config = {
|
|||
style: 'dark',
|
||||
copyright: `Website by Jonas_Jones 2021 - ${new Date().getFullYear()}`,
|
||||
},
|
||||
prism: {
|
||||
theme: prismThemes.github,
|
||||
darkTheme: prismThemes.dracula,
|
||||
},
|
||||
}),
|
||||
onBrokenLinks: 'warn',
|
||||
onBrokenMarkdownLinks: 'warn',
|
||||
})
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue