mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 04:40:31 +00:00
update README
This commit is contained in:
@@ -27,6 +27,12 @@ Gitea 理论上小版本号变更不会修改前端布局, 所以主题的小版
|
|||||||
|
|
||||||
> 开发阶段的主题版本号格式: `1.大版本号.小版本号.时间戳`
|
> 开发阶段的主题版本号格式: `1.大版本号.小版本号.时间戳`
|
||||||
|
|
||||||
|
### 主题版本发布规则
|
||||||
|
|
||||||
|
- 当 Gitea 发布小版本时, 主题中间如有变更, 则发布新的和 Gitea 小版本相同的主题版本
|
||||||
|
- 当 Gitea 发布大版本时, 主题中间如有变更, 会发布 `1.旧大版本号.latest` 的主题版本并不再维护旧版本
|
||||||
|
- 适配大版本的预发布版本为 `1.大版本号.rc`, 当无明显 BUG 时发布与 Gitea 大版本相同的主题版本
|
||||||
|
|
||||||
## 安装
|
## 安装
|
||||||
|
|
||||||
1. 在发布页下载最新的 CSS 主题文件放入 `gitea/public/assets/css` 目录下
|
1. 在发布页下载最新的 CSS 主题文件放入 `gitea/public/assets/css` 目录下
|
||||||
|
|||||||
@@ -29,6 +29,12 @@ accepted.
|
|||||||
|
|
||||||
> Development stage theme version number format: `1.major.minor.timestamp`
|
> Development stage theme version number format: `1.major.minor.timestamp`
|
||||||
|
|
||||||
|
### Theme Version Release Rules
|
||||||
|
|
||||||
|
- When Gitea releases a minor version, if there are changes in the theme, a new theme version with the same minor version as Gitea will be released
|
||||||
|
- When Gitea releases a major version, if there are changes in the theme, a theme version `1.old_major_version.latest` will be released and the old version will no longer be maintained
|
||||||
|
- The pre-release version for major version adaptation is `1.major_version.rc`, and when there are no obvious bugs, a theme version with the same major version as Gitea will be released
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
1. Download the latest CSS theme file from the release page and place it in the `gitea/public/assets/css` directory
|
1. Download the latest CSS theme file from the release page and place it in the `gitea/public/assets/css` directory
|
||||||
|
|||||||
Reference in New Issue
Block a user