Skip to content

Commit 365736c

Browse files
committed
sunset v1
1 parent b106728 commit 365736c

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed

.github/workflows/gh-pages.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: github-pages
33
on:
44
push:
55
branches:
6-
- master
6+
- legacy
77

88
jobs:
99
build-deploy:
@@ -29,3 +29,4 @@ jobs:
2929
keep_files: true
3030
publish_branch: gh-pages
3131
publish_dir: ./docs
32+
destination_dir: legacy

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,15 @@
3030

3131
<hr>
3232

33+
<!-- tell users this is for vue 2 and its not maintained but stable -->
34+
>[!IMPORTANT]
35+
> This is the documentation for the legacy version of `vue-css-donut-chart` which supports Vue 2 and is no longer maintained. However, it is stable and can be used in existing projects. If you are starting a new project or using Vue 3, consider using the latest version of the package which is written in TypeScript and supports Vue 3.
36+
37+
3338
| Using Vue 3? |
3439
| :- |
35-
| Check out the [documentation for vue-css-donut-chart v2](https://github.com/dumptyd/vue-css-donut-chart/tree/next). |
36-
| **NPM** - https://www.npmjs.com/package/vue-css-donut-chart/v/next |
40+
| Check out the [documentation for vue-css-donut-chart v2](https://github.com/dumptyd/vue-css-donut-chart). |
41+
| **NPM** - https://www.npmjs.com/package/vue-css-donut-chart/ |
3742

3843
## Live demo
3944

@@ -74,14 +79,14 @@ Playground &ndash; https://jsfiddle.net/dumptyd/ujvypcd3/
7479
#### Install via `yarn` or `npm`
7580

7681
```console
77-
yarn add vue-css-donut-chart
82+
yarn add vue-css-donut-chart@legacy
7883
```
7984

8085
<p align="center"><strong><small>OR</small></strong></p>
8186

8287

8388
```console
84-
npm install vue-css-donut-chart
89+
npm install vue-css-donut-chart@legacy
8590
```
8691

8792
#### Registering `vue-css-donut-chart`
@@ -241,4 +246,4 @@ All the `section-*` listeners are called with the `section` object on which the
241246

242247
## License
243248

244-
Code released under [MIT](https://github.com/vue-css-donut-chart/vue-css-donut-chart/blob/master/LICENSE) license.
249+
Code released under [MIT](https://github.com/dumptyd/vue-css-donut-chart/blob/legacy/LICENSE) license.

src/components/site/Demo.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
<div>
66
Lightweight
77
<select class="vue-version-select" @change="handleVersionSelectChange">
8-
<option value="/vue-css-donut-chart" selected>Vue 2</option>
9-
<option value="/vue-css-donut-chart/next">Vue 3</option>
8+
<option value="/vue-css-donut-chart/legacy" selected>Vue 2</option>
9+
<option value="/vue-css-donut-chart">Vue 3</option>
1010
</select>
1111
component for drawing pure CSS donut charts
1212
</div>
1313
</div>
1414

1515
<nav class="container-nav">
16-
<a href="https://github.com/dumptyd/vue-css-donut-chart/blob/master/README.md">Documentation</a>
17-
<a href="https://github.com/dumptyd/vue-css-donut-chart/blob/master/README.md#installation">Installation</a>
18-
<a href="https://github.com/dumptyd/vue-css-donut-chart/blob/master/README.md#usage">Usage</a>
16+
<a href="https://github.com/dumptyd/vue-css-donut-chart/blob/legacy/README.md">Documentation</a>
17+
<a href="https://github.com/dumptyd/vue-css-donut-chart/blob/legacy/README.md#installation">Installation</a>
18+
<a href="https://github.com/dumptyd/vue-css-donut-chart/blob/legacy/README.md#usage">Usage</a>
1919
<a href="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/dumptyd/vue-css-donut-chart">GitHub</a>
2020
</nav>
2121
<div class="container-donut">

0 commit comments

Comments
 (0)