Skip to content

Commit 34d150c

Browse files
committed
Fixed documentation build dependencies installation
1 parent 7d9f8b9 commit 34d150c

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,13 @@ jobs:
4444
cache: 'pip' # Cache pip dependencies for faster builds
4545

4646
# Step 3: Install package with documentation dependencies
47-
# The [docs] extra includes: sphinx, sphinx-rtd-theme, nbsphinx,
48-
# sphinx-autodoc-typehints, ipykernel, and pandoc
47+
# Note: Docs dependencies are in a Poetry group, not extras,
48+
# so we install them directly with pip
4949
- name: Install dependencies
5050
run: |
5151
python -m pip install --upgrade pip
52-
pip install -e ".[docs]"
52+
pip install sphinx sphinx-rtd-theme nbsphinx sphinx-autodoc-typehints ipykernel pandoc
53+
pip install -e .
5354
5455
# Step 4: Build HTML documentation using Sphinx
5556
# Uses sphinx-build directly (Makefile has been removed for simplicity)

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# PyTorch: CIFAR-10 Demonstration
22

3+
[![Publish to PyPI](https://github.com/gperdrizet/CIFAR10/actions/workflows/publish-to-pypi.yml/badge.svg)](https://github.com/gperdrizet/CIFAR10/actions/workflows/publish-to-pypi.yml)
4+
5+
[![Deploy Documentation](https://github.com/gperdrizet/CIFAR10/actions/workflows/docs.yml/badge.svg)](https://github.com/gperdrizet/CIFAR10/actions/workflows/docs.yml)
6+
37
A progressive deep learning tutorial for image classification on the CIFAR-10 dataset using PyTorch. This project demonstrates the evolution from basic deep neural networks to optimized convolutional neural networks with data augmentation. It also provides a set of utility functions as a PyPI package for use in other projects.
48

59
[View on PyPI](https://pypi.org/project/cifar10_tools) | [Documentation](https://gperdrizet.github.io/CIFAR10/)

data/pytorch/cnn_optimization.db

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)