Skip to content

Commit 413bbdf

Browse files
committed
docs(donation): Add donation badges to docs
1 parent 1e046e8 commit 413bbdf

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
[![Gitter chat](https://img.shields.io/gitter/room/TechnologyAdvice/Stardust.svg)](https://gitter.im/vue-chartjs/Lobby)
1111
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/apertureless/vue-chartjs/blob/master/LICENSE.txt)
1212
[![CDNJS version](https://img.shields.io/cdnjs/v/vue-chartjs.svg)](https://cdnjs.com/libraries/vue-chartjs)
13+
[![Known Vulnerabilities](https://snyk.io/test/github/apertureless/vue-chartjs/badge.svg)](https://snyk.io/test/github/apertureless/vue-chartjs)
14+
[![Maintainability](https://api.codeclimate.com/v1/badges/8c0256b16ba7a50a9f93/maintainability)](https://codeclimate.com/github/apertureless/vue-chartjs/maintainability)
15+
[![Donate](assets/donate.svg)](paypal)
1316

1417
# vue-chartjs
1518

@@ -307,3 +310,5 @@ For a detailed explanation of how things work, check out the [guide](http://vuej
307310
## License
308311

309312
This software is distributed under [MIT license](LICENSE.txt).
313+
314+
[paypal]: https://www.paypal.me/apertureless/50eur

assets/donate.svg

+2
Loading

docs/config.js

+5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ const langs = [
1111

1212
docute.init({
1313
title: 'vue-chartjs docs',
14+
announcement(route) {
15+
const info = { type: 'success' }
16+
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.'
17+
return info
18+
},
1419
landing: true,
1520
landing: '_landing.html',
1621
repo: 'apertureless/vue-chartjs',

docs/index.html

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

0 commit comments

Comments
 (0)