mcpField
F
fix-sphix-docs

fix-sphix-docs

github.com/tradingstrategy-aiDevelopment82971 installsUpdated today
Repository

About fix-sphix-docs

fix-sphix-docs is a skill for iterating on Sphinx documentation builds and attempting to fix straightforward errors and warnings. It is aimed at documentation maintainers, limits build waiting time, and avoids generated RST files.

Key features

  1. 01Run a Sphinx HTML build
  2. 02Limit build wait time
  3. 03Inspect build errors and warnings
  4. 04Skip autogenerated RST files
  5. 05Report changes and ask about opening a PR

Use cases

  1. 01Diagnose Sphinx documentation build issues
  2. 02Fix straightforward documentation warnings
  3. 03Inspect output before a build times out
  4. 04Prepare a documentation-fix PR

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/tradingstrategy-ai/web3-ethereum-defi --skill fix-sphix-docs

After installing, type/fix-sphix-docsin Claude Code to confirm it loaded.

Details

From the project README

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

Comments

Markdown supported