Skip to content

Commit

Permalink
Doc (#2916)
Browse files Browse the repository at this point in the history
* perf: community code

* update doc
  • Loading branch information
c121914yu authored Oct 14, 2024
1 parent bc70428 commit 3f01cc9
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 6 deletions.
5 changes: 5 additions & 0 deletions docSite/assets/images/social/lark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docSite/content/zh-cn/docs/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ FastGPT 是一个由用户和贡献者参与推动的开源项目,如果您对

+ 📱 扫码加入社区微信交流群👇

<img width="400px" src="https://oss.laf.run/htr4n1-images/fastgpt-qr-code.jpg" class="medium-zoom-image" />
<img width="400px" src="https://oss.laf.run/otnvvf-imgs/fastgpt-feishu1.png" class="medium-zoom-image" />

+ 🐞 请将任何 FastGPT 的 Bug、问题和需求提交到 [GitHub Issue](https://github.com/labring/fastgpt/issues/new/choose)
2 changes: 1 addition & 1 deletion docSite/content/zh-cn/docs/development/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ FastGPT 在`pnpm i`后会执行`postinstall`脚本,用于自动生成`ChakraUI

遇到困难了吗?有任何问题吗? 加入微信群与开发者和用户保持沟通。

<img width="400px" src="https://oss.laf.run/htr4n1-images/fastgpt-qr-code.jpg" class="medium-zoom-image" />
<img width="400px" src="https://oss.laf.run/otnvvf-imgs/fastgpt-feishu1.png" class="medium-zoom-image" />

## 代码结构说明

Expand Down
1 change: 1 addition & 0 deletions docSite/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ defaultContentLanguageInSubdir = false
# twitter = "" # YOUR_TWITTER_ID
# instagram = "colinwilson" # YOUR_INSTAGRAM_ID
# rss = true # show rss icon with link
lark = "https://oss.laf.run/otnvvf-imgs/fastgpt-feishu1.png"
wechat = "https://oss.laf.run/htr4n1-images/fastgpt-qr-code.jpg"

[params.docs] # Parameters for the /docs 'template'
Expand Down
2 changes: 1 addition & 1 deletion docSite/layouts/docs/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{ $.Scratch.Set "pathName" (printf "%s" (.Site.Params.docs.pathName | default "docs")) }}
<!-- social_list -->
<!-- change -->
{{ $social_params := slice "github" "twitter" "instagram" "rss" "wechat" }}
{{ $social_params := slice "github" "twitter" "instagram" "rss" "wechat" "lark" }}
{{ range $social_params }}
{{ if isset site.Params.social . }}
{{ $.Scratch.Add "social_list" (slice .) }}
Expand Down
7 changes: 6 additions & 1 deletion docSite/layouts/partials/docs/top-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@
{{ $path := printf "images/social/%s.%s" . "svg" }}
<li class="list-inline-item mb-0">
<!-- change -->
<a href="{{ if eq . `rss` }} {{ `index.xml` | absURL }} {{ else if eq . `wechat` }} {{ index site.Params.social . | absURL }} {{ else }} https://{{ . }}.com/{{ index site.Params.social . }} {{ end }}" alt="{{ . }}" rel="noopener noreferrer" target="_blank">
<a href="{{ if eq . `rss` }} {{ `index.xml` | absURL }}
{{ else if eq . `wechat` }} {{ index site.Params.social . | absURL }}
{{ else if eq . `lark` }} {{ index site.Params.social . | absURL }}
{{ else }} https://{{ . }}.com/{{ index site.Params.social . }}
{{ end }}"
alt="{{ . }}" rel="noopener noreferrer" target="_blank">
<div class="btn btn-icon btn-default border-0">
{{ with resources.Get $path }}
{{ .Content | safeHTML }}
Expand Down
2 changes: 1 addition & 1 deletion projects/app/public/docs/chatProblem.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
**其他问题**
| 扫码进入交流群 |
| ----------------------- |
| ![](https://oss.laf.run/htr4n1-images/fastgpt-qr-code.jpg) |
| ![](https://oss.laf.run/otnvvf-imgs/fastgpt-feishu1.png) |
2 changes: 1 addition & 1 deletion projects/app/src/service/common/system/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const defaultFeConfigs: FastGPTFeConfigsType = {
'https://fael3z0zfze.feishu.cn/wiki/CX9wwMGyEi5TL6koiLYcg7U0nWb?fromScene=spaceOverview',
systemTitle: 'FastGPT',
concatMd:
'项目开源地址: [FastGPT GitHub](https://github.com/labring/FastGPT)\n交流群: ![](https://oss.laf.run/htr4n1-images/fastgpt-qr-code.jpg)',
'项目开源地址: [FastGPT GitHub](https://github.com/labring/FastGPT)\n交流群: ![](https://oss.laf.run/otnvvf-imgs/fastgpt-feishu1.png)',
limit: {
exportDatasetLimitMinutes: 0,
websiteSyncLimitMinuted: 0
Expand Down

0 comments on commit 3f01cc9

Please sign in to comment.