You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Add missing source command in Makefile install-docs-deps target (#5060)
## Changes Made
Fixed missing `source` command in the `install-docs-deps` target that
was causing "Permission denied" errors when running `make docs`.
## Problem
The `install-docs-deps` target was trying to execute the activate script
directly instead of sourcing it:
```makefile
$(VENV_BIN)/activate && uv sync --all-extras --all-groups
```
This resulted in permission denied errors because the shell was
attempting to execute the script rather than source it into the current
environment.
## Solution
Added the missing `source` command to be consistent with other targets
in the Makefile:
```makefile
source $(VENV_BIN)/activate && uv sync --all-extras --all-groups
source $(VENV_BIN)/activate && uv pip install -e docs/plugins/nav_hide_children
```
This change makes the `install-docs-deps` target consistent with other
targets like `hooks`, `check-format`, `lint`, etc. that correctly use
`source $(VENV_BIN)/activate`.
0 commit comments