Skip to content

Commit e0411cc

Browse files
authored
Merge pull request #35 from versatica/remove-docs-from-repo
Remove docs from repo
2 parents b4832f9 + 60d99fa commit e0411cc

File tree

115 files changed

+59
-6377
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+59
-6377
lines changed

.github/workflows/docs.yaml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Workflow for deploying docs static content to GitHub Pages.
2+
name: Deploy static docs to Pages
3+
4+
on:
5+
release:
6+
types: [published]
7+
# Allows you to run this workflow manually from the Actions tab.
8+
workflow_dispatch:
9+
10+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
# Allow only one concurrent deployment, skipping runs queued between the run
17+
# in-progress and latest queued. However, do NOT cancel in-progress runs as we
18+
# want to allow these production deployments to complete.
19+
concurrency:
20+
group: 'pages'
21+
cancel-in-progress: false
22+
23+
jobs:
24+
# Single deploy job since we're just deploying.
25+
deploy:
26+
environment:
27+
name: github-pages
28+
url: ${{ steps.deployment.outputs.page_url }}
29+
30+
runs-on: ubuntu-latest
31+
32+
steps:
33+
- name: Checkout
34+
uses: actions/checkout@v4
35+
36+
- name: Node.js
37+
uses: actions/setup-node@v4
38+
with:
39+
node-version: 22
40+
41+
- name: npm ci
42+
run: npm ci --foreground-scripts
43+
44+
- name: npm run docs
45+
run: npm run docs
46+
47+
# - name: Setup Pages
48+
# uses: actions/configure-pages@v5
49+
50+
- name: Upload artifact
51+
uses: actions/upload-pages-artifact@v3
52+
with:
53+
path: docs/
54+
55+
- name: Deploy to GitHub Pages
56+
id: deployment
57+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/lib
44

55
## Others.
6+
/docs
67
/coverage
78
/.cache
89

docs/.nojekyll

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/assets/custom.css

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

docs/assets/hierarchy.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/assets/highlight.css

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

docs/assets/icons.js

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

0 commit comments

Comments
 (0)