Skip to content

Commit afa2f05

Browse files
authored
Documentation Site (#31)
* first set of docs * cmd + s * more docs * tutorial; getting stared/readme; repo files * Home page, deactivate API * Remove docs copy
1 parent b884270 commit afa2f05

30 files changed

+2297
-988
lines changed

.github/workflows/docs.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Docs
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
9+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
15+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
16+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
17+
concurrency:
18+
group: "pages"
19+
cancel-in-progress: false
20+
21+
jobs:
22+
build:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Setup
26+
uses: wyvox/action@v1
27+
- name: Build Docs
28+
run: pnpm build:docs
29+
- name: Setup Pages
30+
uses: actions/configure-pages@v3
31+
- name: Upload artifact
32+
uses: actions/upload-pages-artifact@v1
33+
with:
34+
path: "docs/.vitepress/dist"
35+
36+
deploy:
37+
environment:
38+
name: github-pages
39+
url: ${{ steps.deployment.outputs.page_url }}
40+
runs-on: ubuntu-latest
41+
needs: build
42+
steps:
43+
- name: Deploy to GitHub Pages
44+
id: deployment
45+
uses: actions/deploy-pages@v2

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,8 @@ declarations/
3131

3232
# broccoli-debug
3333
/DEBUG/
34+
35+
#vitepress
36+
/docs/.vitepress/dist/
37+
/docs/.vitepress/cache/
38+
/docs/api

CHANGELOG.md

Lines changed: 0 additions & 72 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ember-command/CHANGELOG.md

LICENSE.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

LICENSE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ember-command/LICENSE.md

0 commit comments

Comments
 (0)