Skip to main content

Modern, responsive Sphinx theme with AI chat and feedback widgets

Project description

Sphinx Phoebe Theme

A modern, responsive Sphinx documentation theme with integrated AI chat and feedback widgets.

License Python Sphinx

Features

  • 🎨 Modern 3-column responsive layout
  • 🌓 Dark mode with system detection
  • 💬 Optional AI chat (RunLLM integration)
  • 💌 Optional feedback widget (Formspree)
  • ⌨️ Keyboard shortcuts
  • 📱 Mobile-friendly
  • 🔍 Enhanced search with cards

Quick Start

# Install
pip install -e git+https://github.com/justineheritage/sphinx-phoebe-theme.git#egg=sphinx-phoebe-theme

# Configure (conf.py)
html_theme = "sphinx_phoebe_theme"

extensions = [
    'sphinx_phoebe_theme.extensions.theme_helpers',
]

html_theme_options = {
    "nav_title": "My Docs",
    "color_primary": "#2c3e50",
    "color_accent": "#3498db",
}

# Build
make html

# Serve (required for search)
cd _build/html && python -m http.server 8000

Documentation

📚 Full Documentation →

Optional Features

AI Chat

See AI Chat Integration Guide for detailed setup.

import os

html_theme_options = {
    "chat_enabled": True,
    "chat_api_key": os.getenv("RUNLLM_API_KEY"),
    "chat_pipeline_id": int(os.getenv("RUNLLM_PIPELINE_ID")),
}

⚠️ Never commit API keys! Use environment variables.

Feedback Widget

import os

html_theme_options = {
    "feedback_enabled": True,
    "feedback_formspree_id": os.getenv("FORMSPREE_ID"),
}

Keyboard Shortcuts

  • / — Focus search
  • [ — Toggle sidebar
  • — Previous/next page
  • ? — Show all shortcuts

Development Status

Version: 0.1.0 (Alpha)

  • ✅ Phase 1: Security & Setup (Complete)
  • 🚧 Phase 2: Documentation (In Progress)
  • 📋 Phase 3: PyPI Release (Planned)

Requirements

  • Python 3.8+
  • Sphinx 4.0+

Browser Support

Chrome/Edge 90+, Firefox 88+, Safari 14+

Contributing

Issues and suggestions welcome! This project was extracted from production code at Corelight and is now open source.

License

MIT License

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx_phoebe_theme-0.1.0.tar.gz (66.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinx_phoebe_theme-0.1.0-py3-none-any.whl (77.6 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_phoebe_theme-0.1.0.tar.gz.

File metadata

  • Download URL: sphinx_phoebe_theme-0.1.0.tar.gz
  • Upload date:
  • Size: 66.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for sphinx_phoebe_theme-0.1.0.tar.gz
Algorithm Hash digest
SHA256 84a1716d766f15c2dc16ee4d36ef2e98d03e18aa328b466fd1afbb39a86fb185
MD5 89b8159575c849696996871fa519a770
BLAKE2b-256 d2f3ce9e29bd276a1ffe2b7fa8202add3c648a8cbf201253486c5c76f2e6bbd4

See more details on using hashes here.

File details

Details for the file sphinx_phoebe_theme-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_phoebe_theme-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c18e6aca77860e0a48e78f92839ed81c239745fab76ff42de9cec6fae28add7
MD5 bd18d3d1f9f3ab2dae3963b0ed9fc856
BLAKE2b-256 73b0eaa85444422fe49ba38cc4152a4cd4af5534f82ca0891ab32182d6044dfe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page