Skip to content

Commit

Permalink
patch files
Browse files Browse the repository at this point in the history
  • Loading branch information
hailiang-wang committed May 18, 2024
1 parent 12c1de9 commit 2a4d897
Show file tree
Hide file tree
Showing 1,719 changed files with 131,468 additions and 199 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: pages

on:
push:
branches:
- main

jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm

- name: Install dependencies
run: npm ci

- name: Build website
run: npm run build && mkdir -p build/.github/workflows && cp .github/workflows/gitee.yml build/.github/workflows && ls ./build/.github/workflows

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GHP_ACCESS_TOKEN }}
exclude_assets: ''
publish_dir: ./build
34 changes: 34 additions & 0 deletions .github/workflows/gitee.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: gitee

on:
- push
- delete

jobs:
sync:
runs-on: ubuntu-latest
name: Git Repo Sync
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: wangchucheng/[email protected]
with:
target-url: https://gitee.com/readthe/cskefu-docs.git
target-username: ${{ secrets.USERNAME }}
target-token: ${{ secrets.ACCESS_TOKEN }}

- uses: wangchucheng/[email protected]
with:
target-url: https://gitee.com/cskefu/docs.git
target-username: ${{ secrets.USERNAME }}
target-token: ${{ secrets.ACCESS_TOKEN }}

- uses: yanglbme/gitee-pages-action@main
with:
gitee-username: ${{ secrets.USERNAME }}
gitee-password: ${{ secrets.GITEE_USER_PASSWORD }}
gitee-repo: readthe/cskefu-docs
branch: gh-pages

22 changes: 22 additions & 0 deletions .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Test deployment

on:
pull_request:
branches:
- main

jobs:
test-deploy:
name: Test deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm

- name: Install dependencies
run: npm ci
- name: Test build website
run: npm run build
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,8 @@ dist

# TernJS port file
.tern-port

# remove cache files
.docusaurus
build/
.obsidian/workspace.json
23 changes: 23 additions & 0 deletions .obsidian/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"alwaysUpdateLinks": true,
"newFileLocation": "current",
"newLinkFormat": "relative",
"useMarkdownLinks": true,
"showUnsupportedFiles": true,
"attachmentFolderPath": "static/img/products",
"userIgnoreFilters": [
"tmp",
".git",
".fid",
"temp",
"_build",
"dist",
"node_moduels",
"min.js"
],
"promptDelete": false,
"livePreview": false,
"showLineNumber": true,
"autoPairBrackets": true,
"autoPairMarkdown": false
}
4 changes: 4 additions & 0 deletions .obsidian/appearance.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"accentColor": "",
"theme": "system"
}
6 changes: 6 additions & 0 deletions .obsidian/canvas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"snapToObjects": true,
"snapToGrid": true,
"newFileLocation": "folder",
"newFileFolderPath": "canvas"
}
8 changes: 8 additions & 0 deletions .obsidian/community-plugins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
"calendar",
"dataview",
"cm-editor-syntax-highlight-obsidian",
"obsidian-editor-shortcuts",
"templater-obsidian",
"obsidian-enhancing-mindmap"
]
31 changes: 31 additions & 0 deletions .obsidian/core-plugins-migration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"file-explorer": true,
"global-search": true,
"switcher": true,
"graph": false,
"backlink": true,
"outgoing-link": true,
"tag-pane": true,
"page-preview": true,
"daily-notes": false,
"templates": false,
"note-composer": false,
"command-palette": true,
"slash-command": false,
"editor-status": true,
"starred": true,
"markdown-importer": false,
"zk-prefixer": false,
"random-note": false,
"outline": true,
"word-count": true,
"slides": true,
"audio-recorder": false,
"workspaces": true,
"file-recovery": true,
"publish": false,
"sync": false,
"canvas": true,
"bookmarks": true,
"properties": false
}
18 changes: 18 additions & 0 deletions .obsidian/core-plugins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[
"file-explorer",
"global-search",
"switcher",
"backlink",
"canvas",
"outgoing-link",
"tag-pane",
"page-preview",
"command-palette",
"editor-status",
"bookmarks",
"outline",
"word-count",
"slides",
"workspaces",
"file-recovery"
]
22 changes: 22 additions & 0 deletions .obsidian/graph.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"collapse-filter": true,
"search": "README",
"showTags": true,
"showAttachments": false,
"hideUnresolved": false,
"showOrphans": false,
"collapse-color-groups": true,
"colorGroups": [],
"collapse-display": true,
"showArrow": true,
"textFadeMultiplier": 0,
"nodeSizeMultiplier": 1,
"lineSizeMultiplier": 1,
"collapse-forces": true,
"centerStrength": 0.518713248970312,
"repelStrength": 10,
"linkStrength": 1,
"linkDistance": 250,
"scale": 1.372039082753741,
"close": true
}
43 changes: 43 additions & 0 deletions .obsidian/hotkeys.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"app:open-vault": [
{
"modifiers": [
"Mod",
"Shift"
],
"key": "N"
}
],
"app:toggle-left-sidebar": [
{
"modifiers": [
"Alt"
],
"key": "ArrowLeft"
}
],
"app:toggle-right-sidebar": [
{
"modifiers": [
"Alt"
],
"key": "ArrowRight"
}
],
"editor:toggle-source": [
{
"modifiers": [
"Alt"
],
"key": "P"
}
],
"obsidian-enhancing-mindmap:Toggle to markdown or mindmap": [
{
"modifiers": [
"Alt"
],
"key": "M"
}
]
}
10 changes: 10 additions & 0 deletions .obsidian/plugins/calendar/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"shouldConfirmBeforeCreate": true,
"weekStart": "locale",
"wordsPerDot": 250,
"showWeeklyNote": false,
"weeklyNoteFormat": "",
"weeklyNoteTemplate": "",
"weeklyNoteFolder": "",
"localeOverride": "system-default"
}
Loading

0 comments on commit 2a4d897

Please sign in to comment.