Compare commits

...
79 Commits
64 changed files with 1888 additions and 1221 deletions

No files matched your search

+12 -4
View File
@@ -3,17 +3,25 @@ name: npm publish
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # OIDC 必須
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '12.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm publish
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+15 -5
View File
@@ -91,7 +91,8 @@ category_per_img:
footer_img: false
# Website Background
# Can set it to color or image url
# Can set it to color, image URL or an array containing colors and/or image URLs
# If an array is provided, a random background will be selected from the array on each load
background:
cover:
@@ -318,6 +319,7 @@ aside:
# If set 0 will show all
limit: 40
color: false
custom_colors:
# Order of tags, random/name/length
orderby: random
# Sort of order. 1, asc for ascending; -1, desc for descending
@@ -515,12 +517,12 @@ share:
# Share.js
# https://github.com/overtrue/share.js
sharejs:
sites: facebook,twitter,wechat,weibo,qq
sites: facebook,x,wechat,weibo,qq
# AddToAny
# https://www.addtoany.com/
addtoany:
item: facebook,twitter,wechat,sina_weibo,facebook_messenger,email,copy_link
item: facebook,x,wechat,sina_weibo,facebook_messenger,email,copy_link
# --------------------------------------
# Comments System
@@ -657,7 +659,7 @@ artalk:
# --------------------------------------
chat:
# Choose: chatra/tidio/crisp
# Choose: chatra/tidio/crisp/knocket
# Leave it empty if you don't need chat
use:
# Chat Button [recommend]
@@ -678,6 +680,10 @@ tidio:
crisp:
website_id:
# https://trtc.io/solutions/knocket
knocket:
identifier:
# --------------------------------------
# Analysis
# --------------------------------------
@@ -938,6 +944,10 @@ mermaid:
theme:
light: default
dark: dark
# Enable "Open in New Tab" button to view diagram in a separate window
open_in_new_tab: true
# Enable zoom and pan interactions on diagrams
zoom_pan: true
# chartjs
# see https://www.chartjs.org/docs/latest/
@@ -1067,7 +1077,7 @@ CDN:
third_party_provider: jsdelivr
# Add version number to url, true or false
version: false
version: true
# Custom format
# For example: https://cdn.staticfile.org/${cdnjs_name}/${version}/${min_cdnjs_file}
+1 -1
View File
@@ -49,7 +49,7 @@ search:
pagination:
prev: 上一篇
next: 下一篇
page_info: '第 ${current} 頁 / 共 ${total} 頁'
page_info: '第 ${current} 页 / 共 ${total} 页'
comment: 评论
Loaded 3 of 64 files, more files were not shown because too many files have changed in this diff. Show more