Skip to content

Commit

Permalink
Obsidian vault backup: 2024-04-21 19:35:40
Browse files Browse the repository at this point in the history
  • Loading branch information
html5syt committed Apr 21, 2024
1 parent 8bf8481 commit 9bc7ce5
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 21 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/buildnext.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build Next↹
on:
push:
branches:
- master
- main
workflow_dispatch:

permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: apt-get install libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev
- run: pip install \
mkdocs-material \
mkdocs-material[imaging] \
- run: mkdocs gh-deploy --force
10 changes: 0 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
name: CI-Run Deploy→

on:
push:
branches:
- main
paths-ignore:
- "**.md"
pull_request:
paths-ignore:
- "**.md"
release:
types: [published]
workflow_dispatch:

jobs:
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: github pages

on:
push:
branches:
- main
pull_request:

workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-22.04
Expand Down
4 changes: 2 additions & 2 deletions .obsidian/workspace-mobile.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,9 @@
"table-editor-obsidian:Advanced Tables Toolbar": false
}
},
"active": "99f1268c8e8bdb2f",
"active": "845fe3642ac2a575",
"lastOpenFiles": [
"docs/about.md",
"10856822.tmp",
"docs/assets/fa-light-300.woff2",
"docs/assets/fa-light-300.woff",
Expand All @@ -165,7 +166,6 @@
"docs/advanced/3.2.文件照片上传.md",
"docs/advanced/3.1.私密主题.md",
"docs/advanced/advanced.md",
"docs/advanced",
"docs/basic/basic.md",
"docs/basic/2.6.个人设置.md",
"docs/basic/2.5.小黑屋.md",
Expand Down
File renamed without changes.
15 changes: 11 additions & 4 deletions mkdocs-conf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ theme:
- navigation.tracking
- navigation.tabs
- navigation.path
- navigation.indexes
# - navigation.indexes
- toc.follow
- navigation.top
# font:
Expand Down Expand Up @@ -79,23 +79,30 @@ markdown_extensions:
custom_checkbox: true
- pymdownx.tilde


plugins:
- search:
separator: '[\s\-\.]+'
lang:
- en

- social:
cards_layout: default/variant
cards_layout_options:
background_color: "#02A6F2"


# Customization
extra_javascript:
- "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.6/MathJax.js?config=TeX-MML-AM_CHTML"
# - "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.6/MathJax.js?config=TeX-MML-AM_CHTML"
- "https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-mml-chtml.min.js"
extra_css:
- "assets/css/custom.css"


# Page tree!!!目录
nav:
- "开始→": "index.md"
- "1. 关于社区": "about.md"
- "1. 关于社区": "about/about.md"
- "2. 基本功能":
- "basic/basic.md"
- "2.1 注册&登录": "basic/2.1.注册&登录.md"
Expand Down

0 comments on commit 9bc7ce5

Please sign in to comment.