|
| 1 | +module.exports = { |
| 2 | + title: '@tsed/logger - Ts.LogDebug - A Node.js and TypeScript multi chanel logger', |
| 3 | + description: 'A Node.js and TypeScript multi chanel logger', |
| 4 | + serviceWorker: false, |
| 5 | + theme: 'tsed', |
| 6 | + themeConfig: { |
| 7 | + shortTitle: 'Ts.LogDebug', |
| 8 | + version: require('../../package').version, |
| 9 | + repo: 'TypedProject/ts-log-debug', |
| 10 | + openCollective: 'tsed', |
| 11 | + gitterUrl: 'https://gitter.im/Tsed-io/community', |
| 12 | + editLinks: true, |
| 13 | + docsDir: 'docs', |
| 14 | + sidebar: 'auto', |
| 15 | + api: require('./public/api.json'), |
| 16 | + // algolia: { |
| 17 | + // apiKey: "f8a038207e461aaac0e2fd16403c2b01", |
| 18 | + // indexName: "ts_ed" |
| 19 | + // }, |
| 20 | + locales: { |
| 21 | + '/': { |
| 22 | + label: 'English', |
| 23 | + selectText: 'Languages', |
| 24 | + editLinkText: 'Edit this page on GitHub', |
| 25 | + lastUpdated: 'Last Updated', |
| 26 | + serviceWorker: { |
| 27 | + updatePopup: { |
| 28 | + message: 'New content is available.', |
| 29 | + buttonText: 'Refresh' |
| 30 | + } |
| 31 | + }, |
| 32 | + nav: [ |
| 33 | + { |
| 34 | + text: 'Getting started', |
| 35 | + link: '/getting-started.html' |
| 36 | + }, |
| 37 | + { |
| 38 | + text: 'Appenders', |
| 39 | + items: [ |
| 40 | + { link: '/appenders/index.html', text: 'Configuration', items: [] }, |
| 41 | + { |
| 42 | + text: 'Built-in appenders', |
| 43 | + items: [ |
| 44 | + { link: '/appenders/console.html', text: 'Console', items: [] }, |
| 45 | + { link: '/appenders/file.html', text: 'File', items: [] }, |
| 46 | + { link: '/appenders/stdout.html', text: 'Stdout', items: [] }, |
| 47 | + { link: '/appenders/stderr.html', text: 'Stderr', items: [] } |
| 48 | + ] |
| 49 | + }, |
| 50 | + { |
| 51 | + text: 'Advanced', |
| 52 | + items: [ |
| 53 | + { link: '/appenders/custom.html', text: 'Custom appender', items: [] } |
| 54 | + ] |
| 55 | + } |
| 56 | + ] |
| 57 | + }, |
| 58 | + { |
| 59 | + text: 'Layouts', |
| 60 | + items: [ |
| 61 | + { link: '/layouts/index.html', text: 'Configuration', items: [] }, |
| 62 | + { |
| 63 | + text: 'Built-in layouts', |
| 64 | + items: [ |
| 65 | + { link: '/layouts/basic.html', text: 'Basic', items: [] }, |
| 66 | + { link: '/layouts/colored.html', text: 'Colored', items: [] }, |
| 67 | + { link: '/layouts/dummy.html', text: 'Dummy', items: [] }, |
| 68 | + { link: '/layouts/message-pass-through.html', text: 'Message Pass-Through', items: [] }, |
| 69 | + { link: '/layouts/json.html', text: 'Json', items: [] }, |
| 70 | + { link: '/layouts/pattern.html', text: 'Pattern', items: [] } |
| 71 | + ] |
| 72 | + }, |
| 73 | + { |
| 74 | + text: 'Advanced', |
| 75 | + items: [ |
| 76 | + { link: '/layouts/custom.html', text: 'Custom layouts', items: [] } |
| 77 | + ] |
| 78 | + } |
| 79 | + ] |
| 80 | + }, |
| 81 | + { link: '/api.html', text: 'Api Reference' } |
| 82 | + ], |
| 83 | + sidebar: { |
| 84 | + '/appenders/': [ |
| 85 | + { |
| 86 | + title: 'Configuration', |
| 87 | + collapsable: false, |
| 88 | + children: [ |
| 89 | + '' |
| 90 | + ] |
| 91 | + }, |
| 92 | + { |
| 93 | + title: 'Built-in appenders', |
| 94 | + collapsable: false, |
| 95 | + children: [ |
| 96 | + 'console', |
| 97 | + 'file', |
| 98 | + 'stdout', |
| 99 | + 'stderr' |
| 100 | + ] |
| 101 | + }, |
| 102 | + { |
| 103 | + title: 'Advanced', |
| 104 | + collapsable: false, |
| 105 | + children: [ |
| 106 | + 'custom' |
| 107 | + ] |
| 108 | + } |
| 109 | + ], |
| 110 | + '/layouts/': [ |
| 111 | + { |
| 112 | + title: 'Configuration', |
| 113 | + collapsable: false, |
| 114 | + children: [ |
| 115 | + '' |
| 116 | + ] |
| 117 | + }, |
| 118 | + { |
| 119 | + title: 'Built-in layouts', |
| 120 | + collapsable: false, |
| 121 | + children: [ |
| 122 | + 'basic', |
| 123 | + 'colored', |
| 124 | + 'dummy', |
| 125 | + 'message-pass-through', |
| 126 | + 'json', |
| 127 | + 'pattern' |
| 128 | + ] |
| 129 | + }, |
| 130 | + { |
| 131 | + title: 'Advanced', |
| 132 | + collapsable: false, |
| 133 | + children: [ |
| 134 | + 'custom' |
| 135 | + ] |
| 136 | + } |
| 137 | + ] |
| 138 | + }, |
| 139 | + otherTopics: [ |
| 140 | + '/appenders/console', |
| 141 | + '/appenders/file', |
| 142 | + '/appenders/stdout', |
| 143 | + '/appenders/stderr', |
| 144 | + '/layouts/basic', |
| 145 | + '/layouts/colored', |
| 146 | + '/layouts/dummy', |
| 147 | + '/layouts/message-pass-through', |
| 148 | + '/layouts/json', |
| 149 | + '/layouts/pattern' |
| 150 | + ], |
| 151 | + footer: { |
| 152 | + lastUpdated: 'Last update', |
| 153 | + caughtMistake: 'Caught a mistake or want to contribute to the documentation?', |
| 154 | + editPageOnGithub: 'Edit on Github', |
| 155 | + contribute: 'Contribute', |
| 156 | + helpToContribute: 'Help shape the future of Ts.LogDebug by joining our team and send us pull requests via our', |
| 157 | + githubRepository: 'GitHub repository!', |
| 158 | + license: 'License', |
| 159 | + releaseUnder: 'Released under the', |
| 160 | + documentationGeneratedWith: 'Documentation generated with' |
| 161 | + } |
| 162 | + } |
| 163 | + }, |
| 164 | + plugins: [ |
| 165 | + [ |
| 166 | + '@vuepress/google-analytics', |
| 167 | + { |
| 168 | + ga: 'UA-35240348-2' |
| 169 | + } |
| 170 | + ] |
| 171 | + ] |
| 172 | + }, |
| 173 | + markdown: { |
| 174 | + lineNumbers: true, |
| 175 | + extendMarkdown: md => { |
| 176 | + md.use(require('vuepress-theme-tsed/plugins/markdown-it-symbol')) |
| 177 | + } |
| 178 | + } |
| 179 | +} |
0 commit comments