mirror of
https://github.com/hanzoai/mcp.git
synced 2026-10-15 12:30:12 +00:00
- Add docker-publish.yml workflow for ghcr.io - Add production-ready Dockerfile (if missing) - Enable automated builds on push to main - Support for semantic versioning tags
62 lines
1.8 KiB
Python
62 lines
1.8 KiB
Python
# Configuration file for the Sphinx documentation builder.
|
|
#
|
|
# For the full list of built-in configuration values, see the documentation:
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
|
|
|
import os
|
|
import sys
|
|
sys.path.insert(0, os.path.abspath('..'))
|
|
|
|
# -- Project information -----------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
|
|
|
project = 'Hanzo AI'
|
|
copyright = '2024, Hanzo Industries Inc'
|
|
author = 'Hanzo Industries Inc'
|
|
release = '0.6.0'
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
|
|
extensions = [
|
|
'sphinx.ext.autodoc',
|
|
'sphinx.ext.napoleon',
|
|
'sphinx.ext.viewcode',
|
|
'sphinx.ext.intersphinx',
|
|
'myst_parser',
|
|
'sphinx_copybutton',
|
|
]
|
|
|
|
templates_path = ['_templates']
|
|
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '.venv', '../.venv', '**/.venv']
|
|
|
|
# -- Options for HTML output -------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
|
|
|
html_theme = 'sphinx_rtd_theme'
|
|
html_static_path = ['_static']
|
|
html_logo = '_static/hanzo-logo.svg'
|
|
html_favicon = '_static/favicon.ico'
|
|
|
|
# Custom CSS for black theme
|
|
html_css_files = [
|
|
'custom.css',
|
|
]
|
|
|
|
# Theme options
|
|
html_theme_options = {
|
|
'logo_only': True,
|
|
'style_nav_header_background': '#000000',
|
|
}
|
|
|
|
# -- MyST configuration ------------------------------------------------------
|
|
myst_enable_extensions = [
|
|
"colon_fence",
|
|
"deflist",
|
|
"html_image",
|
|
]
|
|
|
|
# -- Intersphinx configuration -----------------------------------------------
|
|
intersphinx_mapping = {
|
|
'python': ('https://docs.python.org/3', None),
|
|
} |