From 0014895c19094a3e1cd64a5ed6fbd308b6c06b34 Mon Sep 17 00:00:00 2001 From: "qingwei.li" Date: Tue, 30 May 2017 19:39:39 +0800 Subject: [PATCH] fix(ssr): clean files --- docs/ssr.config.js | 33 ----------------------- docs/ssr.html | 29 -------------------- packages/docsify-server-renderer/index.js | 2 +- 3 files changed, 1 insertion(+), 63 deletions(-) delete mode 100644 docs/ssr.config.js delete mode 100644 docs/ssr.html diff --git a/docs/ssr.config.js b/docs/ssr.config.js deleted file mode 100644 index 47c8549c0..000000000 --- a/docs/ssr.config.js +++ /dev/null @@ -1,33 +0,0 @@ -module.exports = { - config: { - alias: { - '/de-de/changelog': '/changelog', - '/zh-cn/changelog': '/changelog', - '/changelog': 'https://raw.githubusercontent.com/QingWei-Li/docsify/master/CHANGELOG' - }, - auto2top: true, - coverpage: true, - executeScript: true, - loadSidebar: true, - loadNavbar: true, - mergeNavbar: true, - maxLevel: 4, - subMaxLevel: 2, - basePath: '/docs/', - name: 'docsify', - search: { - noData: { - '/de-de/': 'Keine Ergebnisse!', - '/zh-cn/': '没有结果!', - '/': 'No results!' - }, - paths: 'auto', - placeholder: { - '/de-de/': 'Suche', - '/zh-cn/': '搜索', - '/': 'Search' - } - } - }, - template: './docs/ssr.html' -} diff --git a/docs/ssr.html b/docs/ssr.html deleted file mode 100644 index 739595acc..000000000 --- a/docs/ssr.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - docsify - - - - - - - - - - - - - - - - - - - - diff --git a/packages/docsify-server-renderer/index.js b/packages/docsify-server-renderer/index.js index 62081ffb7..cc0df321e 100644 --- a/packages/docsify-server-renderer/index.js +++ b/packages/docsify-server-renderer/index.js @@ -96,7 +96,7 @@ export default class Renderer { case 'sidebar': html = this.compiler.sidebar(html, maxLevel) + `` break case 'cover':