Skip to content

Commit 664112a

Browse files
committed
feat: create the anthopedia
0 parents  commit 664112a

112 files changed

Lines changed: 18895 additions & 0 deletions

File tree

Some content is hidden

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

.encore-theme-images/red-stars.jpg

1.4 MB
Loading

.github/workflows/deploy.yml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
name: Deploy Quartz site to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
jobs:
18+
cleanup:
19+
runs-on: ubuntu-latest
20+
permissions: write-all
21+
steps:
22+
- name: Delete old deployment
23+
uses: strumwolf/delete-deployment-environment@v2
24+
with:
25+
token: ${{ secrets.GITHUB_TOKEN }}
26+
environment: github-pages
27+
onlyRemoveDeployments: true
28+
29+
build:
30+
needs: cleanup
31+
runs-on: ubuntu-22.04
32+
steps:
33+
- name: Checkout code
34+
uses: actions/checkout@v4
35+
with:
36+
fetch-depth: 0 # Fetch all history for git info
37+
38+
# quartz uses file modification dates for last edited
39+
# date on each page. Use the git added date as the file ts
40+
- name: Set file timestamps
41+
run: |
42+
readarray -t CONTENT < <(git ls-files -z content | xargs -0 -n 1)
43+
for file in "${CONTENT[@]}"; do
44+
time="$(git log --pretty=format:%cd -n 1 \
45+
--date=format:%Y%m%d%H%M.%S --date-order -- "$file")"
46+
if [ -z "$time" ]; then
47+
echo "ERROR: skipping '$file' -- no git log found" >&2
48+
continue
49+
fi
50+
touch -m -t "$time" "$file"
51+
done
52+
53+
- name: Setup Docker Buildx
54+
uses: docker/setup-buildx-action@v3
55+
56+
- name: Build docker image
57+
run: docker build -t quartz .
58+
59+
- name: Extract static site from quartz container
60+
run: |
61+
docker run --name quartz_builder --env CI=true quartz
62+
docker cp quartz_builder:/quartz/public ./public
63+
docker rm quartz_builder
64+
65+
- name: Upload artifact
66+
uses: actions/upload-pages-artifact@v3
67+
with:
68+
path: public
69+
70+
deploy:
71+
needs: build
72+
environment:
73+
name: github-pages
74+
url: ${{ steps.deployment.outputs.page_url }}
75+
runs-on: ubuntu-latest
76+
steps:
77+
- name: Deploy to GitHub Pages
78+
id: deployment
79+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.obsidian/workspace.json
2+
.obsidian/workspace-mobile.json

.obsidian/app.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"userIgnoreFilters": [
3+
"quartz/",
4+
"node_modules/",
5+
"docs/",
6+
"CODE_OF_CONDUCT",
7+
"README",
8+
"templates/"
9+
],
10+
"alwaysUpdateLinks": true,
11+
"attachmentFolderPath": "content/_images",
12+
"readableLineLength": true,
13+
"useTab": true,
14+
"tabSize": 2
15+
}

.obsidian/appearance.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"cssTheme": "Encore",
3+
"accentColor": "",
4+
"theme": "obsidian",
5+
"enabledCssSnippets": [
6+
"mermaid-fit-page",
7+
"mermaid-resizable",
8+
"consistent-line-spacing",
9+
"make-same",
10+
"set-editor-style-to-reader"
11+
]
12+
}

.obsidian/community-plugins.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
"OA-file-hider",
3+
"customjs",
4+
"obsidian-style-settings",
5+
"editor-width-slider",
6+
"shiki-highlighter"
7+
]
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"file-explorer": true,
3+
"global-search": true,
4+
"switcher": true,
5+
"graph": true,
6+
"backlink": true,
7+
"canvas": true,
8+
"outgoing-link": true,
9+
"tag-pane": true,
10+
"properties": false,
11+
"page-preview": true,
12+
"daily-notes": true,
13+
"templates": false,
14+
"note-composer": true,
15+
"command-palette": true,
16+
"slash-command": false,
17+
"editor-status": true,
18+
"bookmarks": true,
19+
"markdown-importer": false,
20+
"zk-prefixer": false,
21+
"random-note": false,
22+
"outline": true,
23+
"word-count": true,
24+
"slides": false,
25+
"audio-recorder": false,
26+
"workspaces": false,
27+
"file-recovery": true,
28+
"publish": false,
29+
"sync": false
30+
}

.obsidian/core-plugins.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"file-explorer": true,
3+
"global-search": true,
4+
"switcher": true,
5+
"graph": true,
6+
"backlink": true,
7+
"canvas": true,
8+
"outgoing-link": true,
9+
"tag-pane": true,
10+
"properties": false,
11+
"page-preview": true,
12+
"daily-notes": true,
13+
"templates": false,
14+
"note-composer": true,
15+
"command-palette": true,
16+
"slash-command": false,
17+
"editor-status": true,
18+
"bookmarks": true,
19+
"markdown-importer": false,
20+
"zk-prefixer": false,
21+
"random-note": false,
22+
"outline": true,
23+
"word-count": true,
24+
"slides": false,
25+
"audio-recorder": false,
26+
"workspaces": false,
27+
"file-recovery": true,
28+
"publish": false,
29+
"sync": false,
30+
"webviewer": false
31+
}

.obsidian/graph.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"collapse-filter": false,
3+
"search": "",
4+
"showTags": true,
5+
"showAttachments": false,
6+
"hideUnresolved": false,
7+
"showOrphans": false,
8+
"collapse-color-groups": false,
9+
"colorGroups": [],
10+
"collapse-display": false,
11+
"showArrow": false,
12+
"textFadeMultiplier": -0.2,
13+
"nodeSizeMultiplier": 0.763541666666667,
14+
"lineSizeMultiplier": 1,
15+
"collapse-forces": false,
16+
"centerStrength": 0.518713248970312,
17+
"repelStrength": 10,
18+
"linkStrength": 1,
19+
"linkDistance": 250,
20+
"scale": 0.2726859917360072,
21+
"close": false
22+
}

.obsidian/hotkeys.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"customjs:invoke-QuoteStyleAdjuster": [
3+
{
4+
"modifiers": [],
5+
"key": "F8"
6+
}
7+
],
8+
"customjs:invoke-StyleAdjuster": [
9+
{
10+
"modifiers": [],
11+
"key": "F8"
12+
}
13+
]
14+
}

0 commit comments

Comments
 (0)