Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Upgrade to docute 3 #76

Merged
merged 1 commit into from
Mar 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function lang_version(lang) {
return version
}

self.$config = {
docute.init({
repo: 'vuejs/rollup-plugin-vue',
'edit-link': 'https://github.com/vuejs/rollup-plugin-vue/edit/master/docs',

Expand All @@ -44,9 +44,9 @@ self.$config = {
docsearch({
apiKey: '7792597613e997afeb0b75a206ca0c5a',
indexName: 'rollup-plugin-vue',
tags: ['en', 'v2.2', 'v2.3']
tags: ['en', 'v2.2', 'v2.3'],
url: 'https://vuejs.github.io/rollup-plugin-vue'
})
],
]

url: 'https://vuejs.github.io/rollup-plugin-vue'
}
})
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@vuejs" />

<link rel="stylesheet" href="https://unpkg.com/docute/dist/docute.css">
<link rel="stylesheet" href="https://unpkg.com/docute@3/dist/docute.css">
</head>
<body>
<!-- don't remove this part start -->
<div id="app"></div>
<script src="https://unpkg.com/docute/plugins/docsearch.js"></script>
<script src="https://unpkg.com/docute@3/plugins/docsearch.js"></script>
<script src="https://unpkg.com/docute@3/docute.js"></script>
<script src="./config.js"></script>
<script src="https://unpkg.com/docute/dist/docute.js"></script>
<!-- don't remove this part end -->
</body>
</html>