Skip to content

Conversation

@rdhyee
Copy link
Contributor

@rdhyee rdhyee commented Dec 11, 2025

Problem

PR #46 switched from vocab markdown CLI to python vocab2md.py, but vocab2md.py requires rdflib which isn't installed in the workflow environment.

This caused all vocabulary generation to fail with:

ModuleNotFoundError: No module named 'rdflib'

Result: vocabulary pages render with empty content.

Fix

Revert to using vocab markdown CLI from vocab_tools, which is already installed via pipx in the workflow:

- name: "install vocab_tools"
  run: pipx install git+https://github.com/isamplesorg/vocab_tools.git@main

Changes

  • scripts/generate_vocab_docs.sh: Replace python vocab2md.py with vocab markdown
  • Added comment explaining the vocab_tools dependency

Test Plan


🤖 Generated with Claude Code

PR #46 switched from `vocab markdown` to `python vocab2md.py`, but
vocab2md.py requires rdflib which isn't in requirements.txt.

The workflow already installs vocab_tools via pipx, which provides
the `vocab` CLI. This reverts to using that CLI.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@rdhyee rdhyee merged commit 9c582d9 into main Dec 11, 2025
2 checks passed
@rdhyee rdhyee deleted the fix/vocab-cli-not-python branch December 11, 2025 06:56
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.

2 participants