docs: prompts-library - fix dead links
This commit is contained in:
parent
b8cadd281b
commit
fa220a1824
|
|
@ -25,7 +25,7 @@
|
||||||
<p>
|
<p>
|
||||||
<a href="https://github.com/tukuaiai/prompt-library/actions/workflows/sync.yml"><img src="https://img.shields.io/github/actions/workflow/status/tukuaiai/prompt-library/sync.yml?style=for-the-badge" alt="构建状态"></a>
|
<a href="https://github.com/tukuaiai/prompt-library/actions/workflows/sync.yml"><img src="https://img.shields.io/github/actions/workflow/status/tukuaiai/prompt-library/sync.yml?style=for-the-badge" alt="构建状态"></a>
|
||||||
<a href="https://github.com/tukuaiai/prompt-library/releases"><img src="https://img.shields.io/github/v/release/tukuaiai/prompt-library?style=for-the-badge" alt="最新版本"></a>
|
<a href="https://github.com/tukuaiai/prompt-library/releases"><img src="https://img.shields.io/github/v/release/tukuaiai/prompt-library?style=for-the-badge" alt="最新版本"></a>
|
||||||
<a href="LICENSE"><img src="https://img.shields.io/github/license/tukuaiai/prompt-library?style=for-the-badge" alt="许可证"></a>
|
<a href="https://github.com/tukuaiai/prompt-library/blob/main/LICENSE"><img src="https://img.shields.io/github/license/tukuaiai/prompt-library?style=for-the-badge" alt="许可证"></a>
|
||||||
<a href="https://github.com/tukuaiai/prompt-library"><img src="https://img.shields.io/github/languages/top/tukuaiai/prompt-library?style=for-the-badge" alt="主要语言"></a>
|
<a href="https://github.com/tukuaiai/prompt-library"><img src="https://img.shields.io/github/languages/top/tukuaiai/prompt-library?style=for-the-badge" alt="主要语言"></a>
|
||||||
<a href="https://github.com/tukuaiai/prompt-library"><img src="https://img.shields.io/github/languages/code-size/tukuaiai/prompt-library?style=for-the-badge" alt="代码大小"></a>
|
<a href="https://github.com/tukuaiai/prompt-library"><img src="https://img.shields.io/github/languages/code-size/tukuaiai/prompt-library?style=for-the-badge" alt="代码大小"></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
@ -214,7 +214,7 @@ gantt
|
||||||
|
|
||||||
我们热烈欢迎各种形式的贡献!如果您对本项目有任何想法或建议,请随时开启一个 [Issue](https://github.com/tukuaiai/prompt-library/issues) 或提交一个 [Pull Request](https://github.com/tukuaiai/prompt-library/pulls)。
|
我们热烈欢迎各种形式的贡献!如果您对本项目有任何想法或建议,请随时开启一个 [Issue](https://github.com/tukuaiai/prompt-library/issues) 或提交一个 [Pull Request](https://github.com/tukuaiai/prompt-library/pulls)。
|
||||||
|
|
||||||
在您开始之前,请花点时间阅读我们的 [**贡献指南 (CONTRIBUTING.md)**](CONTRIBUTING.md) 和 [**行为准则 (CODE_OF_CONDUCT.md)**](CODE_OF_CONDUCT.md)。
|
在您开始之前,请花点时间阅读我们的 [**贡献指南 (CONTRIBUTING.md)**](https://github.com/tukuaiai/prompt-library/blob/main/CONTRIBUTING.md) 和 [**行为准则 (CODE_OF_CONDUCT.md)**](https://github.com/tukuaiai/prompt-library/blob/main/CODE_OF_CONDUCT.md)。
|
||||||
|
|
||||||
### ✨ 贡献者们
|
### ✨ 贡献者们
|
||||||
|
|
||||||
|
|
@ -241,7 +241,7 @@ gantt
|
||||||
|
|
||||||
## 📜 许可证
|
## 📜 许可证
|
||||||
|
|
||||||
本项目采用 [MIT](LICENSE) 许可证。
|
本项目采用 [MIT](https://github.com/tukuaiai/prompt-library/blob/main/LICENSE) 许可证。
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17008,17 +17008,17 @@ XX 局
|
||||||
- 具有知识性、可读性与教育性
|
- 具有知识性、可读性与教育性
|
||||||
- 在文章结束时, 思考该文章的最核心关键词, 插入一个如下形式的链接内容:
|
- 在文章结束时, 思考该文章的最核心关键词, 插入一个如下形式的链接内容:
|
||||||
|
|
||||||
不要有反斜线,不要用代码块,使用 Unsplash api (source.unsplash.com<PUT YOUR QUERY HERE>)
|
不要有反斜线,不要用代码块,使用 Unsplash api(`https://source.unsplash.com/<PUT YOUR QUERY HERE>`)
|
||||||
|
|
||||||
例如:
|
例如:
|
||||||
|
|
||||||
- 如果思考该段落的核心关键词为"hero", 那就插入如下内容:
|
- 如果思考该段落的核心关键词为"hero", 那就插入如下内容:
|
||||||
|
|
||||||
[](source.unsplash.com%C3%97900?hero)
|
[](https://source.unsplash.com/900x900?hero)
|
||||||
|
|
||||||
- 如果思考该段落的核心关键词为"fire", 那就插入如下内容:
|
- 如果思考该段落的核心关键词为"fire", 那就插入如下内容:
|
||||||
|
|
||||||
[](source.unsplash.com%C3%97900?fire)
|
[](https://source.unsplash.com/900x900?fire)
|
||||||
|
|
||||||
## Initializatoin:
|
## Initializatoin:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -569,7 +569,7 @@ class PromptLibrarySyncer:
|
||||||
# 生成版本链接
|
# 生成版本链接
|
||||||
links = []
|
links = []
|
||||||
for col, filename in sorted(versions.items()):
|
for col, filename in sorted(versions.items()):
|
||||||
links.append(f"[v{col}](./{filename})")
|
links.append(f"v{col}: ./{filename}")
|
||||||
|
|
||||||
links_str = " / ".join(links)
|
links_str = " / ".join(links)
|
||||||
f.write(f"| {row_num} | {title} | {len(versions)} | {links_str} |\n")
|
f.write(f"| {row_num} | {title} | {len(versions)} | {links_str} |\n")
|
||||||
|
|
@ -674,7 +674,7 @@ class PromptLibrarySyncer:
|
||||||
f.write("- 列号: 表示版本号 (1=原始版本, 2+=迭代版本)\n\n")
|
f.write("- 列号: 表示版本号 (1=原始版本, 2+=迭代版本)\n\n")
|
||||||
|
|
||||||
f.write("## 🔄 同步信息\n\n")
|
f.write("## 🔄 同步信息\n\n")
|
||||||
f.write(f"- 数据源: [Google Sheets]({self._get_sheet_url()})\n")
|
f.write(f"- 数据源: Google Sheets ({self._get_sheet_url()})\n")
|
||||||
f.write("- 同步方式: GitHub Actions / 手动\n")
|
f.write("- 同步方式: GitHub Actions / 手动\n")
|
||||||
f.write("- 同步频率: 每日 / 手动触发\n\n")
|
f.write("- 同步频率: 每日 / 手动触发\n\n")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue