The Adaptive Narrative Documentation Generator is a Visual Studio Code extension that dynamically generates narrative documentation for any codebase opened in VSCode. It analyzes code in real-time, extracts structural information, and produces story-like documentation that explains the codebase's architecture, evolution, and design decisions.
Features
Narrative Summary: Generates a clear, natural language summary of the codebase.
Interactive Diagrams: Visualizes module dependencies and relationships using interactive diagrams (D3.js).
Timeline View: Illustrates code evolution with a timeline or history view.
Embedded Explanations: Provides explanations for key components, comments on code smells, and refactoring recommendations.
Real-time Updates: Automatically updates documentation in a VSCode side panel as you edit files.
OpenRouter API Integration: Leverages DeepSeek: R1 Distill Llama 70B via OpenRouter for natural language generation tasks.
Configurable Settings: Allows customization of update frequency, diagram styles, and API key via VSCode settings.