From 77c63d4dd4af28ed048880099b83302af273e96a Mon Sep 17 00:00:00 2001 From: Jakub Juszczak Date: Sat, 1 Apr 2017 19:59:25 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Update=20docute=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/config.js | 18 ++++++++++++++---- docs/index.html | 2 +- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/docs/config.js b/docs/config.js index daa22ad..b2948a1 100644 --- a/docs/config.js +++ b/docs/config.js @@ -1,12 +1,22 @@ -self.$config = { +docute.init({ title: 'vue-chartjs docs', plugins: [ evanyou() ], landing: true, - // or custom path landing: '_landing.html', repo: 'apertureless/vue-chartjs', twitter: 'apertureless', - 'edit-link': 'https://github.com/apertureless/vue-chartjs/blob/master/docs' -} + tocVisibleDepth: 2, + 'edit-link': 'https://github.com/apertureless/vue-chartjs/blob/master/docs', + nav: { + default: [ + { + title: 'Home', path: '/home' + }, + { + title: 'Changelog', path: '/changelog', source: 'https://raw.githubusercontent.com/apertureless/vue-chartjs/develop/CHANGELOG.md' + }, + ] + } +}) diff --git a/docs/index.html b/docs/index.html index dc1215b..236c890 100644 --- a/docs/index.html +++ b/docs/index.html @@ -11,8 +11,8 @@
- +