Skip to content

Commit 24df6fe

Browse files
committed
chore: migrated docs to vitepress
Refs: #73
1 parent 865ce67 commit 24df6fe

38 files changed

+21986
-2330
lines changed

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@
1616
## Features
1717
- **[Vue 3](https://v3.vuejs.org/) support**
1818
- **[TypeScript](https://www.typescriptlang.org/) support** *(ships with out of the box type declarations)*
19-
- **Interactivity** *(dynamic, moveable, pushable bars with various event handlers)*
20-
- **Reactivity / Responsiveness** (*bars will be properly repositioned on width resize*)
21-
- **Customization options** (*chart and bar styling, changes in behavior, slots, event handlers etc.*)
22-
- **[Day.js](https://day.js.org/en/) support** *(uses Day.js under the hood for date-time manipulation)*
19+
- **Interactivity** *(dynamic, movable and pushable bars)*
20+
- **Reactivity / Responsiveness** (*when changes occur, bars are repositioned accordingly*)
21+
- **Customization options** (*chart/bar styling, slots, event handlers etc.*)
2322

2423
Using Vue 2? Check out [Vue-Ganttastic v1](https://github.com/zunnzunn/vue-ganttastic/tree/vue-ganttastic-v1).
2524

@@ -119,13 +118,17 @@ For further guides and references, check out the [official docs](https://zunnzun
119118
**Author**: Marko Žunić, BSc
120119
[GitHub Repository](https://github.com/zunnzunn/vue-ganttastic)
121120

122-
## Donate
121+
## Support the project!
123122
In case you found the library useful, a little tip would be much appreciated!
124123

125-
![image](https://user-images.githubusercontent.com/28678851/233090745-a0a6d8a4-6df6-4b82-ac0c-90e69551786e.png)
126-
BTC address: bc1qmz4gcewnarl6ldfz78x2htrf7ux6yvl3p2aqje
127-
124+
<form action="https://www.paypal.com/donate" method="post" target="_top">
125+
<input type="hidden" name="hosted_button_id" value="M63C8DAMV5YDJ" />
126+
<input type="image" src="https://pics.paypal.com/00/s/MTdhMWZmNTUtOWQ1Yi00YmRjLWJjMjgtY2Y0NTNhODM0OTJl/file.PNG" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" style="max-width:200px"/>
127+
<img alt="" border="0" src="https://www.paypal.com/en_AT/i/scr/pixel.gif" width="1" height="1" />
128+
</form>
128129

130+
BTC address:
131+
![image](https://user-images.githubusercontent.com/28678851/233090745-a0a6d8a4-6df6-4b82-ac0c-90e69551786e.png)
129132

130133

131134
## Screenshots

docs-deploy.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Sample workflow for building and deploying a VitePress site to GitHub Pages
2+
#
3+
name: Deploy VitePress site to Pages
4+
5+
on:
6+
# Runs on pushes targeting the `main` branch. Change this to `master` if you're
7+
# using the `master` branch as the default branch.
8+
push:
9+
branches: [master]
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
15+
permissions:
16+
contents: read
17+
pages: write
18+
id-token: write
19+
20+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
21+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
22+
concurrency:
23+
group: pages
24+
cancel-in-progress: false
25+
26+
jobs:
27+
# Build job
28+
build:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v3
33+
with:
34+
fetch-depth: 0 # Not needed if lastUpdated is not enabled
35+
# - uses: pnpm/action-setup@v2 # Uncomment this if you're using pnpm
36+
- name: Setup Node
37+
uses: actions/setup-node@v3
38+
with:
39+
node-version: 18
40+
cache: npm # or pnpm / yarn
41+
- name: Setup Pages
42+
uses: actions/configure-pages@v3
43+
- name: Install dependencies
44+
run: npm ci # or pnpm install / yarn install
45+
- name: Build with VitePress
46+
run: npm run docs:build # or pnpm docs:build / yarn docs:build
47+
- name: Upload artifact
48+
uses: actions/upload-pages-artifact@v2
49+
with:
50+
path: docs/.vitepress/dist
51+
52+
# Deployment job
53+
deploy:
54+
environment:
55+
name: github-pages
56+
url: ${{ steps.deployment.outputs.page_url }}
57+
needs: build
58+
runs-on: ubuntu-latest
59+
name: Deploy
60+
steps:
61+
- name: Deploy to GitHub Pages
62+
id: deployment
63+
uses: actions/deploy-pages@v2

0 commit comments

Comments
 (0)