Releases: Roman505050/docusync
Releases · Roman505050/docusync
Release v2.2.1
[2.2.1] - 2026-03-06
Fixed
- Prevented logging of PAT tokens in URLs within error and debug messages
Full Changelog: 2.2.0...2.2.1
Release v2.2.0
[2.2.0] - 2026-02-18
Changed
- Refactored MD/MDX Fixer architecture - Modular fixer system for better extensibility
- Split fixer logic into separate fixer classes in
fixers/directory - Created base
Fixerclass for all fixers to inherit from - Each fixer type now has its own module:
InvalidJsxTagsFixer- Fixes JSX tags starting with numbersHtmlCommentsFixer- Converts HTML comments to JSX commentsUnclosedTagsFixer- Fixes unclosed void elementsInvalidAttributesFixer- Converts HTML attributes to JSXSelfClosingTagsFixer- Fixes self-closing tag spacingNumericEntitiesFixer- Fixes malformed numeric HTML entitiesJsxCurlyBracesFixer- Escapes curly braces in code-like contexts
MarkdownFixernow dynamically uses available fixers- Fixers can be customized by passing a custom list to
MarkdownFixer
- Split fixer logic into separate fixer classes in
Added
- Enhanced curly brace handling - Improved JSX curly brace escaping
- Automatically converts single backticks to double backticks for inline code containing curly braces
- Wraps code-like patterns (e.g.,
key:value:{variable}) in backticks to prevent MDX interpretation - Preserves Markdown compatibility while preventing MDX build errors
- Ignores curly braces inside code blocks (
mermaid,python, etc.) - Fixes
ReferenceError: variable is not definederrors in Docusaurus builds
Improved
- Better code organization and maintainability
- Easier to add new fixers by creating a new class inheriting from
Fixer - More flexible fixer configuration
Release v2.1.0
[2.1.0] - 2026-01-04
Added
- Support for HTTPS authentication with PAT tokens
- Support for SSH authentication with private keys
- Support for multiple authentication methods
- Support for multiple organizations with different authentication methods
- Support for multiple repositories with different authentication methods
Release v2.0.0
Added
- Initial release of DocuSync
- Click-based CLI with multiple commands:
docusync sync- Sync all repositoriesdocusync sync-one- Sync a single repositorydocusync list- List configured repositoriesdocusync init- Initialize configuration filedocusync fix- Fix common Markdown/MDX issues
- MD/MDX Fixer - Automatically fix common Markdown/MDX issues
- Fixes invalid JSX tag names (tags starting with numbers)
- Converts HTML comments to JSX comments in MDX context
- Fixes unclosed void elements (br, hr, img, etc.)
- Converts HTML attributes to JSX (class → className, for → htmlFor)
- Fixes self-closing tag spacing
- Fixes malformed numeric HTML entities
- Supports both single files and directories (recursive and non-recursive)
--dry-runflag to preview changes without applying them
--fix-mdflag fordocusync syncanddocusync sync-onecommands- Automatically runs the MD fixer after syncing documentation
- Helps prevent Docusaurus build failures due to MDX syntax errors
- JSON-based configuration system
- Support for syncing documentation from multiple GitHub repositories
- Configurable repository ordering with position field
- Rich console output with progress indicators
- Verbose mode for debugging
- Shallow git cloning with configurable depth
- Automatic cleanup of temporary directories
- Type hints throughout the codebase
- Automatic creation of
_category_.jsonfiles for Docusaurus- Files are generated in each synced documentation directory
- Uses
display_name,position, anddescriptionfrom configuration - Follows Docusaurus category format with
generated-indexlink type - Enables automatic index page generation in Docusaurus