Skip to content

Commit 76168ea

Browse files
committed
initial commit 🚀
0 parents  commit 76168ea

Some content is hidden

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

52 files changed

+2839
-0
lines changed

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.png filter=lfs diff=lfs merge=lfs -text
2+
*.afdesign filter=lfs diff=lfs merge=lfs -text

.github/dependabot.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"

.github/workflows/lint-md.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Lint with dprint
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
style:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- uses: dprint/[email protected]

.github/workflows/mdbook.yml

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Deploy mdBook site to Pages
2+
3+
on:
4+
# Runs on pushes targeting the default branch
5+
push:
6+
branches: ["main"]
7+
8+
# Allows you to run this workflow manually from the Actions tab
9+
workflow_dispatch:
10+
11+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
12+
permissions:
13+
contents: read
14+
pages: write
15+
id-token: write
16+
17+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
18+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
19+
concurrency:
20+
group: "pages"
21+
cancel-in-progress: false
22+
23+
jobs:
24+
# Build job
25+
build:
26+
runs-on: ubuntu-latest
27+
env:
28+
MDBOOK_VERSION: 0.4.21
29+
steps:
30+
- uses: actions/checkout@v4
31+
- uses: taiki-e/install-action@v2
32+
with:
33+
tool: mdbook
34+
- name: Setup Pages
35+
id: pages
36+
uses: actions/configure-pages@v3
37+
- name: Build with mdBook
38+
run: mdbook build
39+
- name: Upload artifact
40+
uses: actions/upload-pages-artifact@v2
41+
with:
42+
path: ./book
43+
44+
# Deployment job
45+
deploy:
46+
environment:
47+
name: github-pages
48+
url: ${{ steps.deployment.outputs.page_url }}
49+
runs-on: ubuntu-latest
50+
needs: build
51+
steps:
52+
- name: Deploy to GitHub Pages
53+
id: deployment
54+
uses: actions/deploy-pages@v2
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"ignorePatterns": [
3+
{
4+
"pattern": "^(http|https)://crates.io/"
5+
}
6+
]
7+
}
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Check Markdown links
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
markdown-link-check:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
14+
with:
15+
use-verbose-mode: "yes"
16+
use-quiet-mode: "yes"
17+
config-file: ".github/workflows/url-check-config.json"
18+
check-modified-files-only: "yes"
19+
base-branch: "main"
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Check Markdown links Periodically
2+
3+
on:
4+
schedule:
5+
# Run everyday at 0:00 AM
6+
- cron: "0 0 * * *"
7+
8+
jobs:
9+
markdown-link-check:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
14+
with:
15+
use-verbose-mode: "yes"
16+
use-quiet-mode: "yes"
17+
config-file: ".github/workflows/url-check-config.json"
18+
base-branch: "main"

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
book

0 commit comments

Comments
 (0)