Skip to content

Commit

Permalink
Fixed all chapters and module errors when deploying.
Browse files Browse the repository at this point in the history
The chapter names were renamed, and then the config file was redone along with the README file to fix the deployment issues.
  • Loading branch information
shreyashguptas committed Nov 20, 2024
1 parent dadc377 commit f710dbc
Show file tree
Hide file tree
Showing 19 changed files with 174 additions and 87 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ jobs:
- name: Build the book
run: |
jupyter-book build .
ls -la chapters/
jupyter-book config sphinx .
jupyter-book build . --verbose 2>&1 | tee build.log
cat build.log
- name: Setup Pages
uses: actions/configure-pages@v4
Expand Down
12 changes: 11 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,16 @@ html:
home_page_in_navbar: true
baseurl: /Machine-Learning-for-Dummies

# Important: Add these build settings
parse:
myst_enable_extensions:
- html_image
- html_admonition
- colon_fence
- deflist
- dollarmath
- linkify
- substitution

sphinx:
config:
html_theme: sphinx_book_theme
Expand All @@ -31,6 +40,7 @@ sphinx:
repository_url: https://github.com/shreyashguptas/Machine-Learning-for-Dummies
repository_branch: main
use_repository_button: true
nb_execution_show_tb: True

repository:
url: https://github.com/shreyashguptas/Machine-Learning-for-Dummies
Expand Down
20 changes: 9 additions & 11 deletions _toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,24 @@ parts:
- caption: Foundations of Machine Learning
chapters:
- file: chapters/Chapter 1 - Introduction to Machine Learning
title: "Chapter 1 - Introduction to Machine Learning"
title: Chapter 1 - Introduction to Machine Learning
- file: chapters/Chapter 2 - Data Fundamentals
title: "Chapter 2 - Data Fundamentals"
title: Chapter 2 - Data Fundamentals
- file: chapters/Chapter 3 - Supervised Learning
title: "Chapter 3 - Supervised Learning"
title: Chapter 3 - Supervised Learning
- file: chapters/Chapter 4 - Unsupervised Learning
title: "Chapter 4 - Unsupervised Learning"
title: Chapter 4 - Unsupervised Learning
- caption: Deep Learning Fundamentals
chapters:
- file: chapters/Chapter 5 - Neural Networks Basics
title: "Chapter 5 - Neural Networks Basics"
title: Chapter 5 - Neural Networks Basics
- file: chapters/Chapter 6 - Deep Learning Tools
title: "Chapter 6 - Deep Learning Tools"
title: Chapter 6 - Deep Learning Tools
- caption: Advanced Deep Learning
chapters:
- file: chapters/Chapter 7 - Convolutional Neural Networks
title: "Chapter 7 - Convolutional Neural Networks"
title: Chapter 7 - Convolutional Neural Networks
- file: chapters/Chapter 8 - Sequential Data and RNNs
title: "Chapter 8 - Sequential Data and RNNs"
title: Chapter 8 - Sequential Data and RNNs
- file: chapters/Chapter 9 - Modern Deep Learning
title: "Chapter 9 - Modern Deep Learning"
- file: chapters/Chapter x - Introduction to Deep Learning
title: "Chapter x - Introduction to Deep Learning"
title: Chapter 9 - Modern Deep Learning
24 changes: 24 additions & 0 deletions chapters/Chapter 2 - Data Fundamentals.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Chapter 2 - Data Fundamentals \n",
"---"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": []
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
10 changes: 0 additions & 10 deletions chapters/Chapter 2: Data Fundamentals.ipynb

This file was deleted.

19 changes: 19 additions & 0 deletions chapters/Chapter 3 - Supervised Learning.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Chapter 3 - Supervised Learning \n",
"---"
]
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
10 changes: 0 additions & 10 deletions chapters/Chapter 3: Supervised Learning.ipynb

This file was deleted.

19 changes: 19 additions & 0 deletions chapters/Chapter 4 - Unsupervised Learning.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Chapter 4 - Unsupervised Learning \n",
"---"
]
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
10 changes: 0 additions & 10 deletions chapters/Chapter 4: Unsupervised Learning.ipynb

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# DeepLearning Course\n",
"----"
"# Chapter 5 - Neural Networks Basics \n",
"---"
]
},
{
Expand Down
19 changes: 19 additions & 0 deletions chapters/Chapter 6 - Deep Learning Tools.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Chapter 6 - Deep Learning Tools \n",
"---"
]
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
10 changes: 0 additions & 10 deletions chapters/Chapter 6: Deep Learning Tools.ipynb

This file was deleted.

19 changes: 19 additions & 0 deletions chapters/Chapter 7 - Convolutional Neural Networks.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Chapter 7 - Convolutional Neural Networks \n",
"---"
]
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
10 changes: 0 additions & 10 deletions chapters/Chapter 7: Convolutional Neural Networks.ipynb

This file was deleted.

19 changes: 19 additions & 0 deletions chapters/Chapter 8 - Sequential Data and RNNs.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Chapter 8 - Sequential Data and RNNs \n",
"---"
]
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
10 changes: 0 additions & 10 deletions chapters/Chapter 8: Sequential Data and RNNs.ipynb

This file was deleted.

24 changes: 24 additions & 0 deletions chapters/Chapter 9 - Modern Deep Learning.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Chapter 9 - Modern Deep Learning \n",
"---"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": []
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
10 changes: 0 additions & 10 deletions chapters/Chapter 9: Modern Deep Learning.ipynb

This file was deleted.

7 changes: 5 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
jupyter-book>=0.13.0
ghp-import
sphinx>=4.0
jupyter-book
sphinx-book-theme
myst-nb
myst-nb
myst-parser
nbformat
nbconvert
linkify-it-py

0 comments on commit f710dbc

Please sign in to comment.