Skip to content

Commit e8559e7

Browse files
author
Abhishek Maiti
committed
add book contents
1 parent 49613ba commit e8559e7

168 files changed

Lines changed: 58508 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Deploy mdBook to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
24+
- name: Setup mdBook
25+
uses: peaceiris/actions-mdbook@v2
26+
with:
27+
mdbook-version: 'latest'
28+
29+
- name: Build book
30+
run: mdbook build
31+
32+
- name: Setup Pages
33+
uses: actions/configure-pages@v4
34+
35+
- name: Upload artifact
36+
uses: actions/upload-pages-artifact@v3
37+
with:
38+
path: ./book
39+
40+
deploy:
41+
environment:
42+
name: github-pages
43+
url: ${{ steps.deployment.outputs.page_url }}
44+
runs-on: ubuntu-latest
45+
needs: build
46+
steps:
47+
- name: Deploy to GitHub Pages
48+
id: deployment
49+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ sites/site*/public/theme/
99
textpattern/
1010
HISTORY.txt
1111
README.txt
12+
CLAUDE.md

book.toml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[book]
2+
title = "ML Systems for Dummies"
3+
authors = ["Abhishek Maiti"]
4+
description = "From distributed primitives to production RLHF: A hands-on journey through ML infrastructure"
5+
language = "en"
6+
src = "src"
7+
8+
[build]
9+
build-dir = "book"
10+
11+
[output.html]
12+
default-theme = "navy"
13+
preferred-dark-theme = "navy"
14+
git-repository-url = "https://github.com/abhishekmaiti/mlsys-for-dummies"
15+
site-url = "/"
16+
no-section-label = false
17+
additional-css = ["theme/custom.css"]
18+
19+
[output.html.search]
20+
enable = true
21+
limit-results = 20
22+
use-hierarchical-keys = true
23+
24+
[output.html.fold]
25+
enable = true
26+
level = 1

book/.nojekyll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This file makes sure that Github Pages doesn't process mdBook's output.

book/404.html

Lines changed: 225 additions & 0 deletions
Large diffs are not rendered by default.

book/ayu-highlight-3fdfc3ac.css

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
/*
2+
Based off of the Ayu theme
3+
Original by Dempfi (https://github.com/dempfi/ayu)
4+
*/
5+
6+
.hljs {
7+
display: block;
8+
overflow-x: auto;
9+
background: #191f26;
10+
color: #e6e1cf;
11+
}
12+
13+
.hljs-comment,
14+
.hljs-quote {
15+
color: #5c6773;
16+
}
17+
18+
.hljs-variable,
19+
.hljs-template-variable,
20+
.hljs-attribute,
21+
.hljs-attr,
22+
.hljs-regexp,
23+
.hljs-link,
24+
.hljs-selector-id,
25+
.hljs-selector-class {
26+
color: #ff7733;
27+
}
28+
29+
.hljs-number,
30+
.hljs-meta,
31+
.hljs-builtin-name,
32+
.hljs-literal,
33+
.hljs-type,
34+
.hljs-params {
35+
color: #ffee99;
36+
}
37+
38+
.hljs-string,
39+
.hljs-bullet {
40+
color: #b8cc52;
41+
}
42+
43+
.hljs-title,
44+
.hljs-built_in,
45+
.hljs-section {
46+
color: #ffb454;
47+
}
48+
49+
.hljs-keyword,
50+
.hljs-selector-tag,
51+
.hljs-symbol {
52+
color: #ff7733;
53+
}
54+
55+
.hljs-name {
56+
color: #36a3d9;
57+
}
58+
59+
.hljs-tag {
60+
color: #00568d;
61+
}
62+
63+
.hljs-emphasis {
64+
font-style: italic;
65+
}
66+
67+
.hljs-strong {
68+
font-weight: bold;
69+
}
70+
71+
.hljs-addition {
72+
color: #91b362;
73+
}
74+
75+
.hljs-deletion {
76+
color: #d96c75;
77+
}

0 commit comments

Comments
 (0)