feat(export): qms-kit export --format md|html - #19
Merged
Conversation
- qms-kit export --format md|html --config <path> [--output-dir <path>] writes rendered QMS documents to a local directory (default: qms-export/) - html: standalone pages with inline CSS + index.html with doc links - md: plain rendered Markdown files - Extract _render_all() / _render_extra() helpers -- removes duplication across deploy, validate, and export commands - Add markdown dependency for Markdown-to-HTML conversion - 14 unit tests (105 total, all passing) - README: export quickstart + Phase 3 complete in target table - CHANGELOG: v0.4.0 entry, MD024 disabled for changelog duplicate headings Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
qms-kit export --format md|html --config <path> [--output-dir <path>]— exports all QMS documents to local files (default dir:qms-export/)html: standalone pages with inline CSS +index.htmlwith links to all documents + "← Back" nav on every pagemd: plain rendered Markdown, one file per document_render_all()/_render_extra()helpers — removes duplication across deploy / validate / exportmarkdownlibrary added as dependencyTest plan
uv run pytest tests/ -q→ 105 passeduv run ruff check . && uv run ruff format --check .→ cleanqms-kit export --format html --config config/selfhosted.yaml→ openqms-export/index.htmlin browserqms-kit export --format md --config config/selfhosted.yaml→ checkqms-export/*.mdfiles🤖 Generated with Claude Code