From 2dffa172a44b3f728bf72fa6e63bd295f7234fb5 Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Mon, 25 Jul 2016 11:30:42 +0800 Subject: [PATCH] site: fix meaningless anchor --- package.json | 4 ++-- site/bisheng.config.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0f20a0aa66..327154c71c 100644 --- a/package.json +++ b/package.json @@ -80,10 +80,10 @@ "babel-jest": "^13.2.2", "babel-plugin-antd": "^0.4.0", "bisheng": "^0.7.1", - "bisheng-plugin-antd": "~0.1.3", + "bisheng-plugin-antd": "~0.2.0", "bisheng-plugin-description": "^0.1.1", "bisheng-plugin-react": "^0.2.0", - "bisheng-plugin-toc": "0.2.0", + "bisheng-plugin-toc": "^0.3.0", "dora-plugin-upload": "^0.3.1", "enquire.js": "^2.1.1", "es6-shim": "^0.35.0", diff --git a/site/bisheng.config.js b/site/bisheng.config.js index fb91b288f6..e4b10b138a 100644 --- a/site/bisheng.config.js +++ b/site/bisheng.config.js @@ -12,7 +12,7 @@ module.exports = { htmlTemplate: './site/theme/static/template.html', plugins: [ 'bisheng-plugin-description', - 'bisheng-plugin-toc?maxDepth=2', + 'bisheng-plugin-toc?maxDepth=2&keepElem', 'bisheng-plugin-react?lang=__react', 'bisheng-plugin-antd', ],