Simplify book directory structure

 Remove unnecessary nesting: book/tinytorch-course/ → book/
 Update all path references in scripts and workflows
 Cleaner development experience with shorter paths
 Book builds successfully with simplified structure

Changes:
- Move all book files up one directory level
- Update convert_modules.py paths
- Update GitHub Actions workflow paths
- Update book configuration paths
- Test confirms everything works correctly
This commit is contained in:
Vijay Janapa Reddi
2025-07-15 18:21:59 -04:00
parent 9b90f52a1c
commit cbeffd787c
192 changed files with 77 additions and 77 deletions

View File

@@ -45,7 +45,7 @@ jobs:
run: |
pip install --upgrade pip
pip install jupyter-book jupytext
pip install -r book/tinytorch-course/requirements.txt
pip install -r book/requirements.txt
- name: Generate notebooks for Binder/Colab
run: |
@@ -67,13 +67,13 @@ jobs:
- name: Build the book
run: |
cd book/tinytorch-course
cd book
jupyter-book build . --all
- name: Upload book artifact
uses: actions/upload-pages-artifact@v3
with:
path: book/tinytorch-course/_build/html
path: book/_build/html
deploy:
# Only deploy on main branch pushes (not PRs)

View File

@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: b4d986c31854d348687be856fa1e31d6
config: bcd8113202fbec1ab270987d30aa24fc
tags: 645f666f9bcd5a90fca523b33c5a78b7

View File

Before

Width:  |  Height:  |  Size: 313 B

After

Width:  |  Height:  |  Size: 313 B

View File

Before

Width:  |  Height:  |  Size: 411 B

After

Width:  |  Height:  |  Size: 411 B

View File

Before

Width:  |  Height:  |  Size: 286 B

After

Width:  |  Height:  |  Size: 286 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

Before

Width:  |  Height:  |  Size: 681 B

After

Width:  |  Height:  |  Size: 681 B

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Some files were not shown because too many files have changed in this diff Show More