CodeDox v0.2.8 - reStructuredText Support
·
66 commits
to master
since this release
π reStructuredText (RST) Support
CodeDox v0.2.8 introduces comprehensive support for reStructuredText documents, expanding beyond Markdown to support another popular documentation format.
β¨ New Features
- Complete RST Document Processing: Upload and process RST files with intelligent code extraction
- RST Code Directive Support:
.. code-block:: pythonwith language specification and options.. code:: javascriptfor shorter syntax.. sourcecode:: rubyfor alternative directive format
- Literal Block Extraction: Support for
::syntax with preserved indentation - Automatic Language Detection: Smart detection from RST directives
- Keyboard Shortcuts: Added Escape key support for modal dialogs in Web UI
π§ Improvements
- Enhanced Code Extraction Pipeline: Now handles RST documents alongside existing Markdown support
- Better Statistics Display: Updated dashboard to show both crawl and upload jobs
- UI Enhancements: Fixed TypeScript type issues and improved modal interactions
π§ͺ Technical Details
- RST Code Extraction: New
RSTCodeExtractorclass handles all RST parsing - File Format Support: RST files (.rst, .rest, .restx, .rtxt, .rstx) fully supported
- Comprehensive Testing: Added extensive test suite for RST extraction
- Context Preservation: Maintains surrounding context for better code understanding
π Supported RST File Extensions
.rst, .rest, .restx, .rtxt, .rstx
Perfect for Python projects using Sphinx documentation, technical writing, and any project using reStructuredText format!