👉 Complete documentation and tutorials: https://rolfedh.github.io/asciidoc-dita-toolkit/
- Python 3.8+ - Required for the package installation (we recommend upgrading to Python 3.8+)
- pip - Python package manager
- Note: If you're using Python 3.7, please use the container option below
- Docker or Podman - Container runtime
- curl - For downloading the wrapper script
- Recommended for users on Python 3.7 or those who prefer containerized tools
A command-line toolkit for technical writers to review and fix AsciiDoc content for DITA-based publishing workflows.
The AsciiDoc DITA Toolkit helps you:
- Find and fix common issues in
.adocfiles before publishing - Apply automated checks and transformations using a plugin system
- Ensure consistency across large documentation projects
- Integrate with your existing documentation workflow
👉 Complete documentation and tutorials: https://rolfedh.github.io/asciidoc-dita-toolkit/
# Install
pip install asciidoc-dita-toolkit
# Use
adt --help
adt --list-plugins# One-time setup: Download and install adt wrapper
curl -sSL https://raw.githubusercontent.com/rolfedh/asciidoc-dita-toolkit/main/scripts/adt-docker -o /usr/local/bin/adt && chmod +x /usr/local/bin/adt
# Use
adt --help
adt --list-plugins# Fix HTML entity references
adt EntityReference -r
# Add content type labels
adt ContentType -rIf you encounter issues like "Failed to load module" or "No module named 'modules'" errors, see our Troubleshooting Guide for solutions.
Common fixes:
- Remove conflicting packages:
pip uninstall adt-core - Clear package cache:
pip cache purge - Reinstall:
pip install --upgrade asciidoc-dita-toolkit
- Documentation: https://rolfedh.github.io/asciidoc-dita-toolkit/
- Issues: https://github.com/rolfedh/asciidoc-dita-toolkit/issues
- Contributing Guide: docs/CONTRIBUTING.md
- Troubleshooting: docs/TROUBLESHOOTING.md
MIT License - see LICENSE file for details.