Skip to content

Commit

Permalink
docs(donation): Add donation badges to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
apertureless committed Mar 20, 2018
1 parent 1e046e8 commit 413bbdf
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
[![Gitter chat](https://img.shields.io/gitter/room/TechnologyAdvice/Stardust.svg)](https://gitter.im/vue-chartjs/Lobby)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/apertureless/vue-chartjs/blob/master/LICENSE.txt)
[![CDNJS version](https://img.shields.io/cdnjs/v/vue-chartjs.svg)](https://cdnjs.com/libraries/vue-chartjs)
[![Known Vulnerabilities](https://snyk.io/test/github/apertureless/vue-chartjs/badge.svg)](https://snyk.io/test/github/apertureless/vue-chartjs)
[![Maintainability](https://api.codeclimate.com/v1/badges/8c0256b16ba7a50a9f93/maintainability)](https://codeclimate.com/github/apertureless/vue-chartjs/maintainability)
[![Donate](assets/donate.svg)](paypal)

# vue-chartjs

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

This software is distributed under [MIT license](LICENSE.txt).

[paypal]: https://www.paypal.me/apertureless/50eur
2 changes: 2 additions & 0 deletions assets/donate.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions docs/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
Expand Down

0 comments on commit 413bbdf

Please sign in to comment.