[docs] add zh docs (#3507)

* [docs] add zh docs

* [docs] add lang dropdown

* [docs] update mkdocs zh config

* [docs] migrate assets

* [docs] update overrides dir in mkdocs zh config

* [docs] exclude locales director in main mkdocs config

* [docs] rename assets to public to avoid conflicting with template

* [docs] extra_css change followup

* [docs] add theme.palette.toggle.icon back into mkdocs zh config

* [docs] fix zh readme reference + migrate language-specific repo markdown to docs

* [docs] translate remaining repo docs + update reference

* [docs] update zh index.md reference

* [docs/zh] wording alignment
This commit is contained in:
CDN 2024-11-05 13:36:43 +00:00 committed by GitHub
commit 38a08cd25a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
139 changed files with 20407 additions and 24 deletions

View file

@ -0,0 +1,20 @@
# 搜索
## 查询格式
GoToSocial 接受多种搜索查询格式:
- `@用户名`:在所有已知实例中搜索给定用户名的账户。可能返回多个结果。
- `@用户名@域`搜索具有特定用户名和域名的外站账户。最多只会返回1个结果。
- `https://example.org/some/arbitrary/url`:搜索具有给定 URL 的账户或贴文。如果账户或贴文尚未联合到 GoToSocial将尝试获取它。最多只会返回1个结果。
- `#标签名`:搜索具有给定标签名或以其开头的话题标签。大小写不敏感。可能返回多个结果。
- `任意文本`:搜索包含该文本的贴文、包含该文本的话题标签,以及用户名、显示名或简介中含有该文本的账户。将搜索由你撰写的贴文以及回复你的贴文。仅在你关注的账户中搜索账户简介。可能返回多个结果。
## 搜索运算符
搜索关键词可以包含以下搜索运算符:
- `from:用户名`:将结果限制为由指定**本站**账户创建的贴文。
- `from:用户名@域`:将结果限制为由指定外站账户创建的贴文。
例如,你可以搜索 `sloth from:你的用户名` 来查找你关于树懒的贴文。