Skip to content

Commit

Permalink
feat(documentation): vuejs docs (#19)
Browse files Browse the repository at this point in the history
* feat(documentation): vuejs docs
  • Loading branch information
Ealenn authored Apr 11, 2021
1 parent 7617796 commit 94e627b
Show file tree
Hide file tree
Showing 56 changed files with 39,984 additions and 811 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
www/*
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ module.exports = {
"no-inline-comments": "warn",
"quotes": ["error", "single"]
},
"ignorePatterns": ["**/*.js", "**/tests/*", "**/dist/*"]
"ignorePatterns": ["**/*.js", "**/tests/*", "**/dist/*", "**/www/*"]
};
27 changes: 27 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Documentation

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.5
with:
node-version: 14.x

- name: Build
run: |
cd www
npm ci
NODE_ENV=production npm run build
- name: Deploy
if: ${{ github.ref == 'refs/heads/master' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./www/dist
21 changes: 0 additions & 21 deletions .github/workflows/gh-page.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/jekyll.yml

This file was deleted.

10 changes: 9 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: bradennapier/eslint-plus-action@v3.4.2
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.5
with:
node-version: 14.x
- name: Linter
run: |
rm -rf www
npm ci
npm run lint
3 changes: 3 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ coverage:
precision: 2
round: down
range: "70...100"

ignore:
- "www/*"
38 changes: 0 additions & 38 deletions docs/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions docs/Gemfile

This file was deleted.

Loading

0 comments on commit 94e627b

Please sign in to comment.