Doc Tools
Open-source DITA documentation tools for scanning orphans, duplicates, and word lists.
What it is
Anindita's documentation tools is a collection of open-source scripts designed for working with DITA files. The site hosts three utilities that help technical writers and documentation engineers maintain large DITA repositories by identifying structural issues and content patterns.
The Orphan scanner recursively examines a directory to find DITA files that are not referenced by any other file in the same directory tree. The Third twin scanner detects duplicate, triplicate, or n-cate topic-to-topic links across DITA files. The Word list scanner searches all DITA files in a directory for occurrences of a provided list of words and phrases.
These tools are built for documentation teams that manage complex DITA-based content systems. Technical writers, information architects, and content strategists can use them to audit content integrity, reduce redundancy, and enforce terminology consistency.
All scripts are released under the GPL 3 license, allowing free use, modification, and distribution as long as the same license is preserved. Users can download the code from the repository and run the scanners locally against their DITA directories. The site is built with Material for MkDocs, providing clear documentation for each tool.
The project stands out for its focus on DITA-specific maintenance tasks that are often handled manually or with custom scripts. By offering ready-made, licensed tools, it reduces the effort required to keep large documentation sets clean and navigable. The tools address common pain points such as orphaned topics, excessive cross-references, and terminology drift.
This description was generated by AI from the site's public content and may contain errors.
What you can do there
- Scan DITA directories for orphaned files
- Detect duplicate topic-to-topic links
- Search DITA files for specific words and phrases
- Download GPL-licensed scripts for local use
- View documentation for each scanning tool
Who it's for
Technical writers, documentation engineers, DITA content managers.
Frequently asked questions about doc-tools.readthedocs.io
›What is the Orphan scanner used for?
The Orphan scanner identifies DITA files that are not referenced by any other file in a directory, helping to find unused content.
›How does the Third twin scanner work?
It scans DITA files recursively to detect duplicate or multiple topic-to-topic links, reporting triplicate or n-cate link patterns.
›Can I search for specific terms across DITA files?
Yes, the Word list scanner accepts a list of words and phrases and searches all DITA files in a directory for occurrences.
›What license covers these scripts?
All scripts are distributed under the GPL 3 license, a copyleft license that requires modified versions to be shared under the same terms.
›Who is the author of these tools?
The tools are created by Anindita Basu, with copyright spanning 2015 to 2022.
›How do I run these scanners on my DITA project?
Download the scripts from the repository and execute them against your DITA directory following the documentation provided for each tool.
›Are there any costs to use these tools?
No, the tools are free to use and modify under the GPL 3 license with no associated fees.
