首页/ AI 技能 / @skilllib/skill-2014279395752488961
Skill站外收录 @skilllib/skill-2014279395752488961

fix-sphinx-docs

自动检测并修复 Sphinx 文档构建过程中的可处理错误与警告,通过限时运行构建命令捕获输出,在不修改自动生成文件的前提下修正源码级问题,并在完成修复后汇报变更内容,确认是否提交 Pull Request。

0.0 (0) 541 次安装 原作者 编程导航
收录于 2026-01-22
测试与安全 AI 技能

Skills.MD

# Fix errors and warnings in Sphinx docs build This skill iterates over Sphinx docs build and attempt to fix easily addressable errors and warnings. # Steps 1. Run Sphinx build: `(source ./.venv/bin/activate && cd ./docs/ && make html)`, but with a twist: figure out how to abort after 60 second do not try to wait for the full build takes too long. 2. Check the output warnings and errors you could attempt to fix. DON'T TOUCH AUTO GENERATED RST FILES. These are in `_autosummary` folders like `_autosummary_d2`. These folders will be recreated by user with a special command you do not know. 3. Report made changes 4. Ask a permission to open a PR

评论 0

还没有评论,来抢沙发。