From f86357b2995be12cd70781acdfd86b1872555741 Mon Sep 17 00:00:00 2001 From: mustakshif Date: Sun, 20 Oct 2024 01:33:56 +0800 Subject: [PATCH] refactor(ci): update release action and adjust file paths - Update release action to use v1.13.0 - Adjust exclusions in release action to include 'doc' directory - Update image paths in README and README_zh_CN to use 'doc' instead of 'assets' --- .github/workflows/main.yml | 2 +- README.md | 8 ++++---- README_zh_CN.md | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 846d25fb..7c7e92eb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs: with: type: 'zip' filename: 'package.zip' - exclusions: '*.git* *.scss *.txt /*style/* /*assets/* /*src/* *config* *package*' + exclusions: '*.git* *.scss *.txt /*style/* /*doc/* /*src/* *config* *package*' - name: Create Release uses: ncipollo/release-action@v1.13.0 diff --git a/README.md b/README.md index 2a2b1a05..7a637446 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ English | [简体中文](https://github.com/mustakshif/Asri-for-SiYuan/blob/main
-![banner](https://cdn.jsdelivr.net/gh/mustakshif/Asri-for-SiYuan@main/assets/banner_v20.png) +![banner](https://cdn.jsdelivr.net/gh/mustakshif/Asri-for-SiYuan@main/doc/banner_v20.png) # Asri, theme for SiYuan @@ -36,7 +36,7 @@ An ultra-modern theme for [SiYuan Note](https://github.com/siyuan-note/siyuan), ### v3.0.0 -![custom theme color preview](https://cdn.jsdelivr.net/gh/mustakshif/Asri@main/assets/theme-config_en_US.gif) +![custom theme color preview](https://cdn.jsdelivr.net/gh/mustakshif/Asri@main/doc/theme-config_en_US.gif) 🎨 Refactored theme colors using a perceptual lightness-based color system, added supports for seamless adjustment of global color tones which can also follow system accent color (`#Windows` `#macOS`), providing a fully personalized note-taking experience. (Check *Theme Configurations* below for configuration options information) @@ -95,7 +95,7 @@ Check all updates [here](./CHANGELOG.md). ## Theme Configurations ### 🌈 Customizing Theme Colors -![asri config menu](https://cdn.jsdelivr.net/gh/mustakshif/Asri-for-SiYuan@main/assets/asri-config-menu_en_US_v2.png) +![asri config menu](https://cdn.jsdelivr.net/gh/mustakshif/Asri-for-SiYuan@main/doc/asri-config-menu_en_US_v2.png) Click on the `Appearance Mode` icon in the top right corner to open the Asri theme configuration menu and customize the theme colors: @@ -107,7 +107,7 @@ Click on the `Appearance Mode` icon in the top right corner to open the Asri the #### 1. `afwd`: Asri full-width display -![full-width-display preview](https://cdn.jsdelivr.net/gh/mustakshif/Asri-for-SiYuan@main/assets/custom-attributes-preview_v7.gif) +![full-width-display preview](https://cdn.jsdelivr.net/gh/mustakshif/Asri-for-SiYuan@main/doc/custom-attributes-preview_v7.gif) This attribute allows blocks to be displayed in full page width, which can be used to emphasize specific content or beautify the layout. The full-width display style applies to images, databases, iframes, tables and horizontal-layout superblocks. diff --git a/README_zh_CN.md b/README_zh_CN.md index 51faf122..153f4ebc 100644 --- a/README_zh_CN.md +++ b/README_zh_CN.md @@ -5,7 +5,7 @@
-![banner](https://cdn.jsdelivr.net/gh/mustakshif/Asri-for-SiYuan@main/assets/banner_v20.png) +![banner](https://cdn.jsdelivr.net/gh/mustakshif/Asri-for-SiYuan@main/doc/banner_v20.png) # Asri, theme for SiYuan @@ -36,7 +36,7 @@ Asri 是一款极富现代感的[思源笔记](https://github.com/siyuan-note/si ### v3.0.0 -![custom theme color preview](https://cdn.jsdelivr.net/gh/mustakshif/Asri@main/assets/theme-config_zh_CN.gif) +![custom theme color preview](https://cdn.jsdelivr.net/gh/mustakshif/Asri@main/doc/theme-config_zh_CN.gif) 🎨 采用基于感知亮度的色彩系统重构主题配色,全局色调支持无级调节,也可跟随系统强调色(`#Windows` `#macOS`),带来完全个性化的笔记体验。(配置选项信息见下方「主题配置」一节) @@ -95,7 +95,7 @@ Asri 是一款极富现代感的[思源笔记](https://github.com/siyuan-note/si ## 主题配置 ### 🌈 自定义主题色 -![asri config menu](https://cdn.jsdelivr.net/gh/mustakshif/Asri-for-SiYuan@main/assets/asri-config-menu_zh_CN_v2.png) +![asri config menu](https://cdn.jsdelivr.net/gh/mustakshif/Asri-for-SiYuan@main/doc/asri-config-menu_zh_CN_v2.png) 点击右上角 `外观模式` 图标即可弹出 Asri 主题配置菜单,定制主题配色。 @@ -107,7 +107,7 @@ Asri 是一款极富现代感的[思源笔记](https://github.com/siyuan-note/si #### 1. `afwd`:全宽显示(Asri full-width display) -![full-width-display preview](https://cdn.jsdelivr.net/gh/mustakshif/Asri-for-SiYuan@main/assets/custom-attributes-preview_v7.gif) +![full-width-display preview](https://cdn.jsdelivr.net/gh/mustakshif/Asri-for-SiYuan@main/doc/custom-attributes-preview_v7.gif) 使应用了此属性的块撑满页面宽度显示,可用于强调特定内容或美化排版等。全宽显示的样式对图片、数据库、 iframe、表格和水平布局的超级块生效。