From f26bab10f6bb8aa52a15c95175b0f8ad334cf881 Mon Sep 17 00:00:00 2001 From: Toomore Chiang Date: Fri, 23 Feb 2024 00:37:39 +0800 Subject: [PATCH] Fixed docs config Signed-off-by: Toomore Chiang --- docs_dev/docs/about_coscup/team_setup.zh-TW.md | 6 ++++++ docs_dev/docs/dev/beginners.zh-TW.md | 2 +- docs_dev/mkdocs.yml | 7 ++++--- module/applyreview.py | 2 +- poetry.lock | 4 ++-- pyproject.toml | 2 +- 6 files changed, 15 insertions(+), 8 deletions(-) diff --git a/docs_dev/docs/about_coscup/team_setup.zh-TW.md b/docs_dev/docs/about_coscup/team_setup.zh-TW.md index 3601f20d..300365e9 100644 --- a/docs_dev/docs/about_coscup/team_setup.zh-TW.md +++ b/docs_dev/docs/about_coscup/team_setup.zh-TW.md @@ -1,3 +1,9 @@ +--- +title: COSCUP 組別建立設定 +summary: 每年度建立新組別時需要注意的設定項目 +description: 每年度建立新組別時需要注意的設定項目 +--- + # 組別建立與設定 本文件主要引導設定志工平台的組資訊與操作。 diff --git a/docs_dev/docs/dev/beginners.zh-TW.md b/docs_dev/docs/dev/beginners.zh-TW.md index a4c026f7..d994336f 100644 --- a/docs_dev/docs/dev/beginners.zh-TW.md +++ b/docs_dev/docs/dev/beginners.zh-TW.md @@ -13,7 +13,7 @@ description: 如何設定基本開發環境 ### 簽名(sign-off)與簽章(sign)你的提交或標籤 -我們希望你的提交與標籤都有**簽章**,並且**[簽名](how-to-signoff.zh-TW.md)**你的提交。 +我們希望你的提交與標籤都有**簽章**,並且**[簽名](../how-to-signoff)**你的提交。 !!! tip "提示" diff --git a/docs_dev/mkdocs.yml b/docs_dev/mkdocs.yml index 77099fc0..1caaad39 100644 --- a/docs_dev/mkdocs.yml +++ b/docs_dev/mkdocs.yml @@ -186,7 +186,8 @@ plugins: Writing Documentation: 文件紀錄 - search - social: - cards_font: Noto Sans TC + cards_layout_options: + font_family: Noto Sans TC - git-revision-date-localized - mkdocstrings: handlers: @@ -206,8 +207,8 @@ plugins: markdown_extensions: - pymdownx.details - pymdownx.emoji: - emoji_index: !!python/name:materialx.emoji.twemoji - emoji_generator: !!python/name:materialx.emoji.to_svg + emoji_index: !!python/name:material.extensions.emoji.twemoji + emoji_generator: !!python/name:material.extensions.emoji.to_svg - pymdownx.highlight: anchor_linenums: true use_pygments: true diff --git a/module/applyreview.py b/module/applyreview.py index 6bdf7f83..400e7471 100644 --- a/module/applyreview.py +++ b/module/applyreview.py @@ -63,7 +63,7 @@ def submit_review(self, pid: str, tid: str, uid: str) -> RespCompletions: uid (str): User id Returns: - The struct of [toldwords.openai.RespCompletions][] + The struct of `toldwords.openai.RespCompletions` ''' note: str = '' diff --git a/poetry.lock b/poetry.lock index 228bc2c6..f59e8828 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3155,5 +3155,5 @@ files = [ [metadata] lock-version = "2.0" -python-versions = "^3.11" -content-hash = "5c25a4b1327e7df28af0d1cbd421246058d9ef59d61a7969e3f74b17a8db732a" +python-versions = "^3.11.7" +content-hash = "2313160d95c4d9db46e4b9ebdb3a18eaf2a19a12e2658b8790df0c2615ef5ec2" diff --git a/pyproject.toml b/pyproject.toml index d2df707a..c3ceaa4b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ phonenumbers = "^8.13" pydantic = {extras = ["email"], version = "^1.10.1"} pylibmc = "^1.6.1" pymongo = "^4.3" -python = "^3.11" +python = "~3.11.7" python-multipart = "^0.0.6" requests = "^2.29" toldwords = "^0.8"