Remove docs uses of krisp optional dependency
This commit is contained in:
@@ -11,7 +11,7 @@ build:
|
|||||||
jobs:
|
jobs:
|
||||||
post_install:
|
post_install:
|
||||||
- pip install uv
|
- pip install uv
|
||||||
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --group docs --all-extras --no-extra krisp --no-extra gstreamer --no-extra local_smart_turn --no-extra moondream --no-extra riva --no-extra mlx-whisper
|
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --group docs --all-extras --no-extra gstreamer --no-extra local_smart_turn --no-extra moondream --no-extra riva --no-extra mlx-whisper
|
||||||
|
|
||||||
sphinx:
|
sphinx:
|
||||||
configuration: docs/api/conf.py
|
configuration: docs/api/conf.py
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Pipecat is an open-source Python framework for building real-time voice and mult
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Setup development environment
|
# Setup development environment
|
||||||
uv sync --group dev --all-extras --no-extra gstreamer --no-extra krisp
|
uv sync --group dev --all-extras --no-extra gstreamer
|
||||||
|
|
||||||
# Install pre-commit hooks
|
# Install pre-commit hooks
|
||||||
uv run pre-commit install
|
uv run pre-commit install
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Build docs using uv
|
# Build docs using uv
|
||||||
echo "Installing dependencies with uv..."
|
echo "Installing dependencies with uv..."
|
||||||
uv sync --group docs --all-extras --no-extra krisp --no-extra gstreamer --no-extra local_smart_turn --no-extra moondream --no-extra riva --no-extra mlx-whisper
|
uv sync --group docs --all-extras --no-extra gstreamer --no-extra local_smart_turn --no-extra moondream --no-extra riva --no-extra mlx-whisper
|
||||||
|
|
||||||
# Check if sphinx-build is available
|
# Check if sphinx-build is available
|
||||||
if ! uv run sphinx-build --version &> /dev/null; then
|
if ! uv run sphinx-build --version &> /dev/null; then
|
||||||
|
|||||||
@@ -48,8 +48,6 @@ autodoc_default_options = {
|
|||||||
# Mock imports for optional dependencies
|
# Mock imports for optional dependencies
|
||||||
autodoc_mock_imports = [
|
autodoc_mock_imports = [
|
||||||
# Krisp - has build issues on some platforms
|
# Krisp - has build issues on some platforms
|
||||||
"pipecat_ai_krisp",
|
|
||||||
"krisp",
|
|
||||||
"krisp_audio",
|
"krisp_audio",
|
||||||
# System-specific GUI libraries
|
# System-specific GUI libraries
|
||||||
"_tkinter",
|
"_tkinter",
|
||||||
|
|||||||
Reference in New Issue
Block a user