|
1 | 1 | import { themes as prismThemes } from 'prism-react-renderer'; |
2 | 2 | import type { Config } from '@docusaurus/types'; |
3 | 3 | import type * as Preset from '@docusaurus/preset-classic'; |
| 4 | +import ZenUMLPlugin from './src/plugins/zenuml'; |
4 | 5 |
|
5 | 6 | const config: Config = { |
6 | 7 | title: 'ZenUML', |
@@ -58,22 +59,17 @@ const config: Config = { |
58 | 59 | [ |
59 | 60 | 'classic', |
60 | 61 | { |
61 | | - docs: false, |
62 | | - blog: false, |
63 | | - // docs: { |
64 | | - // sidebarPath: './sidebars.ts', |
65 | | - // // Please change this to your repo. |
66 | | - // // Remove this to remove the "edit this page" links. |
67 | | - // editUrl: |
68 | | - // 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', |
69 | | - // }, |
70 | | - // blog: { |
71 | | - // showReadingTime: true, |
72 | | - // // Please change this to your repo. |
73 | | - // // Remove this to remove the "edit this page" links. |
74 | | - // editUrl: |
75 | | - // 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', |
76 | | - // }, |
| 62 | + // remove false to enable docs |
| 63 | + docs: false && { |
| 64 | + sidebarPath: './sidebars.ts', |
| 65 | + editUrl: 'https://github.com/ZenUml/docs', |
| 66 | + remarkPlugins: [ZenUMLPlugin], |
| 67 | + }, |
| 68 | + // remove false to enable blog |
| 69 | + blog: false && { |
| 70 | + showReadingTime: true, |
| 71 | + editUrl: 'https://github.com/ZenUml/docs', |
| 72 | + }, |
77 | 73 | theme: { |
78 | 74 | customCss: './src/css/custom.css', |
79 | 75 | }, |
@@ -176,7 +172,7 @@ const config: Config = { |
176 | 172 | // }, |
177 | 173 | { |
178 | 174 | label: 'GitHub', |
179 | | - href: 'https://github.com/facebook/docusaurus', |
| 175 | + href: 'https://github.com/ZenUml', |
180 | 176 | }, |
181 | 177 | { |
182 | 178 | label: 'EULA', |
|
0 commit comments