[ci] feat: add docs build workflow - #46
Conversation
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - name: Install dependencies | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install . | ||
| pip install -r docs/requirements.txt |
There was a problem hiding this comment.
Ensure PyTorch is installed from the proper index
The docs workflow installs the project via pip install ., which pulls in the mandatory torch dependency. In the existing CI workflow, PyTorch is installed separately using pip install torch --index-url https://download.pytorch.org/whl/cpu because the wheels are not published on the default PyPI index. Without that override, pip install . cannot resolve torch and the docs job will fail before mkdocs build runs. The step should install PyTorch from the same index or otherwise avoid the dependency to make the workflow reliable.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
mark this for now, comeback to this if anything happens
No description provided.