From 61d1de9e26236363e1b343e5916d9d1aa33f98e2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 7 Jul 2026 10:49:35 +0800 Subject: [PATCH] Add bug report Issue template and blog contribute links with templates --- .github/ISSUE_TEMPLATE/bug_report.yml | 28 +++++++++++++++++++++++++++ .gitignore | 1 + blog/index.md | 6 +++--- 3 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..0e9a9de --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,28 @@ +name: 报告错误 +description: 报告网站内容或代码的问题 +labels: ["bug"] +body: + - type: textarea + id: location + attributes: + label: 错误位置 + description: 哪个页面、哪段文字、哪个链接有问题?贴上 URL 或截图。 + placeholder: "例如:https://modelstudioai.github.io/blog/ 页面第 X 行" + validations: + required: true + - type: textarea + id: description + attributes: + label: 问题描述 + description: 错误是什么?期望的正确内容是什么? + placeholder: "实际显示的是……,应该是……" + validations: + required: true + - type: textarea + id: extra + attributes: + label: 补充信息 + description: 浏览器、设备、复现步骤等(可选)。 + placeholder: "Chrome 128 / macOS / ……" + validations: + required: false diff --git a/.gitignore b/.gitignore index 4944820..88ea1fa 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ _site/ .jekyll-cache/ .jekyll-metadata Gemfile.lock +.qwen/ diff --git a/blog/index.md b/blog/index.md index 6f6f19c..6ca15a7 100644 --- a/blog/index.md +++ b/blog/index.md @@ -32,7 +32,7 @@ keywords: "Model Studio AI Blog,百炼 CLI 教程,AI 营销,公众号封面,Qwen 欢迎社区贡献。修错字、翻译、或者写一篇全新教程都可以。 -- **发现错误?** 直接提 Issue 或 PR -- **想写新文章?** 用 `article-proposal` 标签开一个 Issue,我们一起讨论角度 +- **发现错误?** [提一个 Issue](https://github.com/modelstudioai/modelstudioai.github.io/issues/new?template=bug_report.yml&labels=bug) 或直接发 PR +- **想写新文章?** [开一个文章提案](https://github.com/modelstudioai/blog/issues/new?template=article-proposal.yml&labels=article-proposal),我们一起讨论角度 -源码仓库:[modelstudioai/blog](https://github.com/modelstudioai/blog) +网站源码:[modelstudioai/modelstudioai.github.io](https://github.com/modelstudioai/modelstudioai.github.io) 博客内容:[modelstudioai/blog](https://github.com/modelstudioai/blog)