Skip to content

Conversation

@andygrove
Copy link
Member

Summary

  • Fixes the broken docs publishing CI job
  • Removes dead code in docs/build.sh that was trying to delete files from non-existent directories

The docs/source/user-guide/0.8 and 0.9 directories were removed in commit 6a2209d, but build.sh still had rm commands trying to delete files from those directories. With set -e at the top of the script, these failing rm commands caused the entire docs build to exit with error code 1.

The 2> /dev/null only suppresses stderr but doesn't prevent the non-zero exit code from terminating the script.

Test plan

  • Verify that the docs publishing CI job passes after this fix

🤖 Generated with Claude Code

The docs/source/user-guide/0.8 and 0.9 directories were removed in
commit 6a2209d, but build.sh still had `rm` commands trying to
delete files from those directories. With `set -e`, these failing
commands caused the docs build to exit with code 1.

Removed the dead code since versions 0.8 and 0.9 are no longer
generated by generate-versions.py.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant