Skip to content

Commit 3cb93cc

Browse files
authored
fix: update make commands to use uv for docs (#2217)
## Issue Link / Problem Description <!-- Link to related issue or describe the problem this PR solves --> - Docs build is failing ## Changes Made <!-- Describe what you changed and why --> - Fixes docs build and serve ## Testing <!-- Describe how this should be tested --> ### How to Test - [x] Automated tests added/updated - [x] Manual testing steps: 1. `make build-docs` 2. `make serve-docs`
1 parent a25391b commit 3cb93cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ test-e2e: ## Run all end-to-end tests
159159
build-docs: ## Build all documentation
160160
@echo "Building all documentation..."
161161
@echo "Converting ipynb notebooks to md files..."
162-
$(Q)python $(GIT_ROOT)/docs/ipynb_to_md.py
162+
$(Q)MKDOCS_CI=true uv run python $(GIT_ROOT)/docs/ipynb_to_md.py
163163
@echo "Building ragas documentation..."
164-
$(Q)mkdocs build
164+
$(Q)uv run --group docs mkdocs build
165165

166166
serve-docs: ## Build and serve documentation locally
167-
$(Q)mkdocs serve --dirtyreload
167+
$(Q)uv run --group docs mkdocs serve --dirtyreload

0 commit comments

Comments
 (0)