Skip to content

feat(export): qms-kit export --format md|html - #19

Merged
gerfru merged 1 commit into
mainfrom
feat/export-command
Jul 6, 2026
Merged

feat(export): qms-kit export --format md|html#19
gerfru merged 1 commit into
mainfrom
feat/export-command

Conversation

@gerfru

@gerfru gerfru commented Jul 6, 2026

Copy link
Copy Markdown
Owner

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.html with links to all documents + "← Back" nav on every page
  • md: plain rendered Markdown, one file per document
  • Extract _render_all() / _render_extra() helpers — removes duplication across deploy / validate / export
  • markdown library added as dependency

Test plan

  • uv run pytest tests/ -q → 105 passed
  • uv run ruff check . && uv run ruff format --check . → clean
  • qms-kit export --format html --config config/selfhosted.yaml → open qms-export/index.html in browser
  • qms-kit export --format md --config config/selfhosted.yaml → check qms-export/*.md files

🤖 Generated with Claude Code

- 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>
@gerfru
gerfru merged commit 8a32ecf into main Jul 6, 2026
6 checks passed
@gerfru
gerfru deleted the feat/export-command branch July 6, 2026 12:09
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