Skip to content

About

Simbot Robot 官方网站&手册的源代码仓库

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

318 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Robot Documentation Website

这是 Simple Robot 的手册网站。

文档版本

分支 文档版本 发布地址 维护范围
master 5.x https://simbot.forte.love/ 当前版本
docs/v4 4.x https://simbot.forte.love/v4/ 旧版

页头版本切换器共用根目录的 help-versions.json,发布时从两版构建产物的 productVersionName 自动生成。 升级 v.list 中的依赖版本后,下拉列表随下一次发布更新。public/ 中的站点公共文件以 master 为准。

构建与发布

两个分支共用 .github/workflows/build-documentation.yml 中的构建、报告检查和产物准备流程。 PR 检查使用目标版本的 PR 合并结果及另一版本的维护分支,正式发布使用两个维护分支。 任一版本检查失败时都会停止本次发布。

正式发布合并两份构建结果,并一次上传 GitHub Pages:5.x 在根目录,4.x 在 v4/。 站点部署成功后,依次发布两版 Algolia 索引。

当前 builder 会在生成的绝对 URL 中追加 instance 版本。 .github/scripts/prepare-documentation.py 将页面元数据、sitemap、LLM 文件和搜索记录中的该前缀 统一为实际发布地址,并检查版本、旧版 noindex 和渲染结果。

后续修改工作流时,应同步到两个分支。

docker run --rm \
  -v "$PWD:/opt/sources" \
  -v /tmp/simbot-writerside-output:/opt/output \
  -e SOURCE_DIR=/opt/sources \
  -e MODULE_INSTANCE=Writerside/s4 \
  -e OUTPUT_DIR=/opt/output/build \
  -e RUNNER=other \
  jetbrains/writerside-builder:2026.10.0423

构建报告 report.json 也需通过检查。

License

    Copyright (C)  2024  ForteScarlet.
    Permission is granted to copy, distribute and/or modify this document
    under the terms of the GNU Free Documentation License, Version 1.3
    or any later version published by the Free Software Foundation;
    with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
    A copy of the license is included in the section entitled "GNU
    Free Documentation License".

About

Simbot Robot 官方网站&手册的源代码仓库

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages