feat(docs): Documentation for Hyperion (#780)

* Add Documentation

* git ignore dist and node_modules filder

* Update dependencies

* Add GH Actions to test build

* Update header to latest Quasar spec

* resolve c&p issue

* Update splashscreens

* Add docs deploy
This commit is contained in:
brindosch
2020-05-01 20:19:19 +02:00
committed by GitHub
parent 0c16293319
commit 884c68b239
82 changed files with 12251 additions and 0 deletions

38
.github/workflows/deploy.yml vendored Normal file
View File

@@ -0,0 +1,38 @@
name: Build & Deploy
on:
release:
types: [published]
jobs:
######################
#### Documentation ###
######################
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# Install dependencies
- name: Setup node 12
uses: actions/setup-node@v1
with:
node-version: '12'
# Build Docs
- name: Build docs
run: |
cd docs
npm install -g yarn
yarn install
yarn docs:build
# Deploy to gh-pages
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/dist
cname: docs.hyperion-project.org

View File

@@ -113,3 +113,30 @@ jobs:
with:
name: macOS.zip
path: macOS
######################
#### Documentation ###
######################
docs:
name: Documentation
runs-on: ubuntu-latest
defaults:
run:
working-directory: docs
steps:
- name: Checkout
uses: actions/checkout@v2
# Install dependencies
- name: Setup node 12
uses: actions/setup-node@v1
with:
node-version: '12'
# Build Docs
- name: Build docs
run: |
npm install -g yarn
yarn install
yarn docs:build

View File

@@ -66,3 +66,30 @@ jobs:
PLATFORM: osx
shell: bash
run: ./.ci/ci_build.sh
######################
#### Documentation ###
######################
docs:
name: Documentation
runs-on: ubuntu-latest
defaults:
run:
working-directory: docs
steps:
- name: Checkout
uses: actions/checkout@v2
# Install dependencies
- name: Setup node 12
uses: actions/setup-node@v1
with:
node-version: '12'
# Build Docs
- name: Build docs
run: |
npm install -g yarn
yarn install
yarn docs:build