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.

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

  1. Install the extension:

pip install jsoncrack-for-sphinx
  1. Add to your conf.py:

extensions = ['jsoncrack_for_sphinx']
  1. Use in your documentation:

.. schema:: user_schema
   :title: User Schema
   :description: Schema for user data

Getting Help

Indices and Tables

Indices and tables