Skip to content

Tags: zzstoatzz/mdxify

Tags

v0.2.37

Toggle v0.2.37's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
run `uv sync -U` (#36)

v0.2.36

Toggle v0.2.36's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #34 from jlowin/feat/mintlify-version-support

feat: add --mintlify-version flag for versioned navigation

v0.2.35

Toggle v0.2.35's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add Attributes section support and configurable docstring style (

…#33)

Fixes #32: The `Attributes:` section in Google-style class docstrings is now
properly rendered in the generated MDX output, matching the behavior of
`Args:`, `Returns:`, and `Raises:` sections.

Addresses #31: Added `--docstring-style` CLI option to configure the docstring
parsing style. Supports "google" (default), "numpy", and "sphinx" styles.

Changes:
- Add handler for `attributes` section kind in `format_docstring_with_griffe()`
- Add `style` parameter to `format_docstring_with_griffe()` (defaults to "google")
- Add `docstring_style` parameter to `generate_mdx()` function
- Add `--docstring-style` CLI argument with choices: google, numpy, sphinx
- Add comprehensive unit tests for both features

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

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>

v0.2.34

Toggle v0.2.34's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: prevent unnecessary docs.json updates when content unchanged (#30)

- Compare actual data structures instead of string representations
- Preserve existing file's trailing newline convention
- Show friendly '✨ No changes needed' message when content is already up to date
- Fixes #29: avoids creating PRs that only add newlines

v0.2.33

Toggle v0.2.33's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix: Prevent deletion of docs when modules can't be found (#28)

* fix: prevent deletion of docs when modules can't be found

- Add safety check to only clean up stale files when modules are successfully discovered
- Add warning message when no modules are found with helpful troubleshooting tips
- Add comprehensive integration tests for Prefect and FastMCP doc generation
- Add GitHub Actions workflow to test on both Linux and macOS
- Fixes issue where running mdxify as a tool without target package would delete all docs

This addresses the issue reported where Prefect's CI was deleting all docs when
mdxify was installed as a tool without access to the Prefect package.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: CI workflow for integration tests

- Run test projects in /tmp to avoid package discovery from workspace
- Use mdxify directly (not uvx) when testing tool installation
- Check for both regular and __init__ file naming patterns
- Add debug output and success messages for clarity

* fix: CI test should install package before running mdxify

- Use --force when installing mdxify tool to ensure using current source
- Install test package with uv pip install -e before running mdxify
- Check for both regular and __init__ naming patterns
- Add directory listing for debugging

* simplify: CI test to focus on error message verification

- Remove complex tool installation test that was failing
- Simply verify mdxify shows helpful error when module not found
- This is the core fix we're testing - preventing deletion

* fix: add --system flag to uv pip install in CI

* test: focus CI on the critical deletion prevention fix

- Test that existing docs are NOT deleted when modules can't be found
- This is the core issue reported in Prefect's CI
- Simplify test to avoid complex environment setup issues

---------

Co-authored-by: Claude <noreply@anthropic.com>

v0.2.32

Toggle v0.2.32's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Show CLI version banner (#27)

v0.2.31

Toggle v0.2.31's commit message
add docs

v0.2.30

Toggle v0.2.30's commit message
Add progress bar for better UX

v0.2.29

Toggle v0.2.29's commit message
v0.2.29: Clean up stale MDX files when using --all flag

v0.2.28

Toggle v0.2.28's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add --version/-V flag to CLI (#17)

* feat: add --version/-V flag to CLI

* test: add unit test for --version/-V flag