diff options
| author | ruki <[email protected]> | 2017-08-31 10:07:50 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-08-31 10:07:50 +0800 |
| commit | e606ad1653625a1b89ca7722bd182490c7ffabfa (patch) | |
| tree | b0d47cfbd5fa1be3afe71c0402f430629ee39109 /docs/config.js | |
| parent | 28e152d756f81976c035ca7db8e1017c6463928c (diff) | |
remove docs
Diffstat (limited to 'docs/config.js')
| -rw-r--r-- | docs/config.js | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/docs/config.js b/docs/config.js deleted file mode 100644 index 2059343dd..000000000 --- a/docs/config.js +++ /dev/null @@ -1,76 +0,0 @@ -const langs = [ - {title: 'English', path: '/home'}, - {title: '中文', path: '/zh/'}, -] - -docute.init({ - landing: true, - repo: 'tboox/xmake', - twitter: 'waruqi', - url: 'http://xmake.io', - 'edit-link': 'https://github.com/tboox/xmake/blob/dev/docs', - announcement(route) { - const info = { type: 'success' } - if (/\/zh/.test(route.path)) { - info.html = '<a style="margin-right:10px;" class="docute-button docute-button-mini docute-button-success" href="/cn/pages/donation.html#donate" target="_blank">捐赠!</a> 通过成为赞助商或者一次性捐赠支持xmake的开发和文档更新。' - } else { - info.html = '<a style="margin-right:10px;" class="docute-button docute-button-mini docute-button-success" href="/pages/donation.html#donate" target="_blank">Donate!</a> Support xmake development and documentation updates by becoming a sponsor or one-time donation.' - } - return info - }, - nav: { - default: [ - { - title: 'Home', path: '/home' - }, - { - title: 'Plugins', path: '/plugins' - }, - { - title: 'Manual', path: '/manual' - }, - { - title: 'Articles', path: 'http://www.tboox.org/category/#xmake' - }, - { - title: 'Feedback', path: 'https://github.com/tboox/xmake/issues' - }, - { - title: 'Community', path: 'https://github.com/tboox/community/issues' - }, - { - title: 'English', type: 'dropdown', items: langs, exact: true - } - ], - 'zh': [ - { - title: '首页', path: '/zh/' - }, - { - title: '插件', path: '/zh/plugins' - }, - { - title: '手册', path: '/zh/manual' - }, - { - title: '文章', path: 'http://www.tboox.org/cn/category/#xmake' - }, - { - title: '反馈', path: 'https://github.com/tboox/xmake/issues' - }, - { - title: '社区', path: 'https://github.com/tboox/community/issues' - }, - { - title: '中文', type: 'dropdown', items: langs, exact: true - } - ] - }, - plugins: [ - docsearch({ - apiKey: 'fbba61eefc60a833d8caf1fa72bd8ef8', - indexName: 'xmake', - tags: ['en', 'zh'] - }) - ] -}) |
