Commit 5c8f2f95 by Carson Yang Committed by GitHub

Docs: fix zh-cn sitemap (#1631)

Signed-off-by: Carson Yang <yangchuansheng33@gmail.com>
parent f1e16b20
...@@ -47,7 +47,7 @@ jobs: ...@@ -47,7 +47,7 @@ jobs:
- name: Add cdn for images - name: Add cdn for images
run: | run: |
sed -i "s#\](/imgs/#\](https://cdn.jsdelivr.net/gh/yangchuansheng/fastgpt-imgs@main/imgs/#g" $(grep -rl "\](/imgs/" docSite/content/docs) sed -i "s#\](/imgs/#\](https://cdn.jsdelivr.net/gh/yangchuansheng/fastgpt-imgs@main/imgs/#g" $(grep -rl "\](/imgs/" docSite/content/zh-cn/docs)
# Step 3 - Install Hugo (specific version) # Step 3 - Install Hugo (specific version)
- name: Install Hugo - name: Install Hugo
......
...@@ -47,7 +47,7 @@ jobs: ...@@ -47,7 +47,7 @@ jobs:
- name: Add cdn for images - name: Add cdn for images
run: | run: |
sed -i "s#\](/imgs/#\](https://cdn.jsdelivr.net/gh/yangchuansheng/fastgpt-imgs@main/imgs/#g" $(grep -rl "\](/imgs/" docSite/content/docs) sed -i "s#\](/imgs/#\](https://cdn.jsdelivr.net/gh/yangchuansheng/fastgpt-imgs@main/imgs/#g" $(grep -rl "\](/imgs/" docSite/content/zh-cn/docs)
# Step 3 - Install Hugo (specific version) # Step 3 - Install Hugo (specific version)
- name: Install Hugo - name: Install Hugo
......
baseURL = "https://fastgpt.in" baseURL = "https://doc.fastgpt.in"
languageCode = "en-GB" languageCode = "en-GB"
contentDir = "content" contentDir = "content"
enableEmoji = true enableEmoji = true
...@@ -9,7 +9,7 @@ defaultContentLanguage = 'zh-cn' ...@@ -9,7 +9,7 @@ defaultContentLanguage = 'zh-cn'
[languages.zh-cn] [languages.zh-cn]
title = "FastGPT" title = "FastGPT"
languageName = "简体中文" languageName = "简体中文"
#contentDir = "content/zh-cn" contentDir = "content/zh-cn"
weight = 10 weight = 10
[languages.en] [languages.en]
title = "FastGPT Docs" title = "FastGPT Docs"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment