docs(donation): Add donation badges to docs

This commit is contained in:
Jakub Juszczak
2018-03-20 21:05:14 +01:00
parent 1e046e828e
commit 413bbdf91a
4 changed files with 13 additions and 1 deletions

View File

@@ -11,6 +11,11 @@ const langs = [
docute.init({
title: 'vue-chartjs docs',
announcement(route) {
const info = { type: 'success' }
info.html = '<a style="margin-right:10px;" class="docute-button docute-button-mini docute-button-success" href="https://www.paypal.me/apertureless/50eur" target="_blank">Donate!</a> Support vue-chartjs development by a one-time donation.'
return info
},
landing: true,
landing: '_landing.html',
repo: 'apertureless/vue-chartjs',

View File

@@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
<title>vue-chartjs doc</title>
<link rel="stylesheet" href="https://unpkg.com/docute@2/dist/docute.css">
<link rel="stylesheet" href="https://unpkg.com/docute/dist/docute.css">
</head>
<body>
<!-- don't remove this part start -->