A Python tool that converts Javadoc comments into Markdown documentation.
- Converts Javadoc comments to Markdown
- Processes single files or entire directories
- Maintains original code structure in documentation
- Generates documentation index
- Supports common doc tags (@param, @return, @throws, etc.)
- Handles multiple documentation styles
- Clone the repository
- Ensure Python 3.9+ is installed
- No additional dependencies required
python JavaDocsProcessor.py /path/to/your/java/files
# Optional: specify output directory
python JavaDocsProcessor.py /path/to/your/java/files -o /path/to/outputfrom JavaDocsProcessor import JavaDocsProcessor
# Initialize processor
processor = JavaDocsProcessor("/path/to/your/java/files")
# Generate documentation
processor.process_directory()- Creates a
docsdirectory containing:- Markdown files for each processed Java file
index.mdlinking to all documentation- Maintains source directory structure
@param- Method parameters@return- Return values@throws- Exceptions@author- Authors@version- Version information@see- References- And more...
MIT License