Skip to content

Commit

Permalink
fix(ssr): clean files
Browse files Browse the repository at this point in the history
  • Loading branch information
QingWei-Li committed May 30, 2017
1 parent 23590fa commit 0014895
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 63 deletions.
33 changes: 0 additions & 33 deletions docs/ssr.config.js

This file was deleted.

29 changes: 0 additions & 29 deletions docs/ssr.html

This file was deleted.

2 changes: 1 addition & 1 deletion packages/docsify-server-renderer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default class Renderer {
case 'sidebar':
html = this.compiler.sidebar(html, maxLevel) +
`<script>window.__SUB_SIDEBAR__ = ${JSON.stringify(
this.compiler.subSidebar(html, subMaxLevel)
this.compiler.subSidebar(subMaxLevel)
)}</script>`
break
case 'cover':
Expand Down

0 comments on commit 0014895

Please sign in to comment.