JSONCrack for Sphinx Extension¶
Welcome to the documentation for the JSONCrack for Sphinx Extension.
This extension automatically integrates JSON schema documentation into your Sphinx documentation, using the jsoncrack.com library to generate beautiful, interactive HTML representations.
Getting Started:
User Guide:
Reference:
Development:
Features¶
🔄 Automatic schema inclusion: Schemas are automatically included in autodoc-generated documentation
📁 Flexible file naming: Support for multiple naming conventions
🎨 Beautiful rendering: Uses jsoncrack.com for rich HTML output
🔧 Manual inclusion: schema directive for manual schema inclusion
🧪 Testing support: Fixtures for testing schema documentation
🌙 Dark mode: Support for dark theme styling
⚡ Performance: Optimized rendering with lazy loading
📖 Rich documentation: Comprehensive guides and examples
Quick Start¶
Install the extension:
pip install jsoncrack-for-sphinx
Add to your
conf.py
:
extensions = ['jsoncrack_for_sphinx']
Use in your documentation:
.. schema:: user_schema
:title: User Schema
:description: Schema for user data
Getting Help¶
Check the Quick Start Guide guide for quick setup
Read the Usage Guide guide for detailed examples
Browse the API Reference reference for technical details
Report issues on GitHub