From a0eca23c10c6e8ccd3f2e3bbc04b39b64f13e3c7 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Sat, 1 Oct 2022 13:45:49 +0800 Subject: [PATCH] :memo: Docs: add command to update theme to dev --- README.md | 4 ++++ README.zh-cn.md | 4 ++++ docs | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4764fe40..96af00f2 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,11 @@ If you are currently using the LoveIt theme (or some other themes), it is very e You can add this repo as a submodule of your site directory. ```bash +# Stable version git submodule add https://github.com/hugo-fixit/FixIt.git themes/FixIt + +# ⚠️ Dev version +git submodule add -b dev https://github.com/hugo-fixit/FixIt.git themes/FixIt ``` Next, go to the `config.toml` and change the default theme to `FixIt`. diff --git a/README.zh-cn.md b/README.zh-cn.md index 1cf6e474..3313acae 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -37,7 +37,11 @@ hugo server --source=docs 你可以将这个主题仓库添加为你的网站目录的子模块。 ```bash +# 稳定版 git submodule add https://github.com/hugo-fixit/FixIt.git themes/FixIt + +# ⚠️ 开发版 +git submodule add -b dev https://github.com/hugo-fixit/FixIt.git themes/FixIt ``` 接着,前往 `config.toml` 并将默认主题更改为 `FixIt`。 diff --git a/docs b/docs index 77184aeb..bfdc311f 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 77184aeb0fe4c3620266c89f85a7dbd9d4a6bd7a +Subproject commit bfdc311fbd0bd627cccd41ccbc32c2a4d7505803