Skip to content

Litho Book v0.3.9

Latest

Choose a tag to compare

@sopaco sopaco released this 01 Feb 03:12
· 19 commits to main since this release

🚀 Litho Book v0.3.9 Release

🎉 Major Updates & Features

🤖 AI Assistant Integration

The most significant update in this release is the introduction of Litho Advisor, an intelligent AI companion that helps you understand and navigate your documentation:

  • Interactive Chat Interface: Engage in natural language conversations about your documentation
  • Context-Aware Responses: AI analyzes the current document and provides relevant insights
  • Streaming Responses: Real-time text generation for smoother interaction
  • Smart Suggestions: Automatically generates relevant questions based on document content
  • Chat History: Maintains conversation context for follow-up questions

🎨 Enhanced UI/UX Experience

We've completely overhauled the visual experience with multiple customization options:

  • Three Beautiful Themes:
    • Light theme with clean, minimal design
    • Dark theme for reduced eye strain
    • Morandi theme with subtle, elegant colors
  • Typography Customization:
    • Multiple font options including Geist, Noto Sans SC, Noto Serif SC, Inter, and PingFang
    • Adjustable font size (50% to 200% scaling)
    • Improved font rendering for better readability
  • Responsive Design: Optimized experience across all device sizes

🔍 Enhanced Search Functionality

Find information faster with our improved search system:

  • Dual Search Modes: Switch between content search and filename search
  • Improved Search UI: Cleaner interface with better result presentation
  • Search Performance: Optimized search algorithm for quicker results

📚 Improved Document Navigation

Navigate your documentation with ease:

  • Breadcrumb Navigation: Clear path indication within your document structure
  • Table of Contents Sidebar: Quick access to document sections
  • Enhanced File Tree: Better visual hierarchy and interaction

⚡ Performance & Technical Improvements

Under the hood, we've made significant technical enhancements:

  • Framework Updates: Upgraded to Axum 0.8.4 for better performance and security
  • Dependency Updates: Updated all major dependencies to their latest stable versions
  • Optimized Markdown Rendering: Faster and more accurate rendering of complex documents
  • Enhanced Error Handling: Better error messages and recovery mechanisms

🔧 New API Endpoints

Added new API endpoints for enhanced functionality:

  • Statistics API (/api/stats): Get comprehensive document library statistics
  • Health Check (/health): Monitor system status and performance

🐛 Bug Fixes

  • Fixed rendering issues with complex Mermaid diagrams
  • Resolved file path handling on Windows systems
  • Improved stability when handling large document collections
  • Fixed several UI edge cases in theme switching

📦 Installation & Upgrade

From Source

git clone https://github.com/sopaco/litho-book.git
cd litho-book
cargo build --release

Using Litho

# Generate documentation with Litho
litho --project ./my-project --output ./docs

# View with Litho Book
litho-book --docs-dir ./docs --open

🙏 Acknowledgments

Special thanks to our contributors and the entire Litho ecosystem community for your valuable feedback and suggestions!


Full Changelog: For a complete list of changes, please refer to the commit history between v0.3.5 and v0.3.9.
Download: Get the latest release from GitHub Releases or install via cargo.

Documentation: Visit our documentation for detailed usage instructions.