|
@@ -9,6 +9,10 @@ module.exports = {
|
|
favicon: 'img/favicon.ico',
|
|
favicon: 'img/favicon.ico',
|
|
organizationName: 'windhamdavid',
|
|
organizationName: 'windhamdavid',
|
|
projectName: 'til',
|
|
projectName: 'til',
|
|
|
|
+ markdown: {
|
|
|
|
+ mermaid: true,
|
|
|
|
+ },
|
|
|
|
+ themes: ['@docusaurus/theme-mermaid'],
|
|
plugins: [
|
|
plugins: [
|
|
require.resolve('docusaurus-plugin-matomo'),
|
|
require.resolve('docusaurus-plugin-matomo'),
|
|
require.resolve('docusaurus-lunr-search'),
|
|
require.resolve('docusaurus-lunr-search'),
|
|
@@ -42,24 +46,19 @@ module.exports = {
|
|
jsLoader: 'matomo.js',
|
|
jsLoader: 'matomo.js',
|
|
},
|
|
},
|
|
image: 'img/zw.png',
|
|
image: 'img/zw.png',
|
|
- hideableSidebar: true,
|
|
|
|
|
|
+ docs: {
|
|
|
|
+ sidebar: {
|
|
|
|
+ hideable: true,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
prism: {
|
|
prism: {
|
|
additionalLanguages: ['shell-session'],
|
|
additionalLanguages: ['shell-session'],
|
|
|
|
+ additionalLanguages: ['swift'],
|
|
},
|
|
},
|
|
colorMode: {
|
|
colorMode: {
|
|
defaultMode: 'dark',
|
|
defaultMode: 'dark',
|
|
disableSwitch: false,
|
|
disableSwitch: false,
|
|
respectPrefersColorScheme: false,
|
|
respectPrefersColorScheme: false,
|
|
- switchConfig: {
|
|
|
|
- darkIcon: '\u2800',
|
|
|
|
- darkIconStyle: {
|
|
|
|
- marginLeft: '1px',
|
|
|
|
- },
|
|
|
|
- lightIcon: '\u2800',
|
|
|
|
- lightIconStyle: {
|
|
|
|
- marginLeft: '1px',
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
},
|
|
},
|
|
navbar: {
|
|
navbar: {
|
|
hideOnScroll: true,
|
|
hideOnScroll: true,
|