Skip to content

Commit 0a1fa63

Browse files
Two series (#502)
* add both series * run workflow * workflow * integrate slides and update links * fix workflow * build in bash * export slides resources * Update README.md Co-authored-by: GabrielPavaloiu <87291884+GabrielPavaloiu@users.noreply.github.com> * stop the workflow for push * label * label * label --------- Co-authored-by: GabrielPavaloiu <87291884+GabrielPavaloiu@users.noreply.github.com>
1 parent 8cf32cd commit 0a1fa63

1,152 files changed

Lines changed: 14811 additions & 9384 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/labeler.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,33 @@
1+
acs_cc:
2+
- website/versioned_docs/version-acs_cc/**/*
3+
- website/versioned_sidebars/version-acs_cc-sidebars.json
4+
5+
fils_en:
6+
- website/versioned_docs/version-fils_en/**/*
7+
- website/versioned_sidebars/version-file_en-sidebars.json
8+
19
lecture:
2-
- docs/lecture/**/*
10+
- website/versioned_docs/version-acs_cc/lecture/**/*
11+
- website/versioned_docs/version-fils_en/lecture/**/*
312

413
lab:
5-
- docs/lab/**/*
14+
- website/lab/**/*
15+
16+
tutorial:
17+
- website/tutorial/**/*
618

719
project:
8-
- docs/project/**/*
9-
- docs/project.md
20+
- website/versioned_docs/version-acs_cc/project/**/*
21+
- website/versioned_docs/version-acs_cc/project.md
22+
- website/versioned_docs/version-fils_en/project/**/*
23+
- website/versioned_docs/version-fils_en/project.md
1024

1125
workflow:
1226
- .github/**/*
1327

1428
website:
15-
- src/**/*
16-
- static/**/*
29+
- website/src/**/*
30+
- website/static/**/*
1731
- '*.js'
1832
- '*.json'
1933
- '*.ts'

.github/workflows/deploy.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,29 @@ jobs:
2020
fetch-depth: 0
2121
- uses: actions/setup-node@v4
2222
with:
23-
node-version: 18
23+
node-version: 22
2424
cache: npm
2525

26-
- name: Install dependencies
27-
run: npm ci
28-
2926
- name: Install dependencies (slides)
3027
working-directory: slides
3128
run: |
3229
npx -y playwright@^1.41.2 install chromium
3330
npm ci
3431
35-
- name: Build slides
32+
- name: Build slides for ACS CC
33+
working-directory: slides
34+
run: SLIDES_OUTPUT_FOLDER=../website/static/slides ./build.sh acs_cc
35+
36+
- name: Build slides for FILS English
3637
working-directory: slides
37-
run: ./build.sh
38+
run: SLIDES_OUTPUT_FOLDER=../website/static/slides ./build.sh fils_en
39+
40+
- name: Install dependencies (website)
41+
working-directory: website
42+
run: npm ci
3843

3944
- name: Build website
45+
working-directory: website
4046
run: npm run build
4147

4248
# Popular action to deploy to GitHub Pages:
@@ -46,7 +52,7 @@ jobs:
4652
with:
4753
github_token: ${{ secrets.GITHUB_TOKEN }}
4854
# Build output to publish to the `gh-pages` branch:
49-
publish_dir: ./build
55+
publish_dir: ./website/build
5056
cname: embedded-rust-101.wyliodrin.com
5157
# The following lines assign commit authorship to the official
5258
# GH-Actions bot for deploys to `gh-pages` branch:

.github/workflows/test-deploy.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Test deployment
22

33
on:
44
pull_request:
5-
branches:
6-
- main
75
# Review gh actions docs if you want to further define triggers, paths, etc
86
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
97
merge_group:
@@ -18,21 +16,26 @@ jobs:
1816
fetch-depth: 0
1917
- uses: actions/setup-node@v4
2018
with:
21-
node-version: 18
22-
cache: npm
23-
24-
- name: Install dependencies
25-
run: npm ci
19+
node-version: 22
2620

2721
- name: Install dependencies (slides)
2822
working-directory: slides
2923
run: |
3024
npx -y playwright@^1.41.2 install chromium
3125
npm ci
3226
33-
- name: Build slides
27+
- name: Build slides for ACS CC
28+
working-directory: slides
29+
run: SLIDES_OUTPUT_FOLDER=../website/static/slides ./build.sh acs_cc
30+
31+
- name: Build slides for FILS English
3432
working-directory: slides
35-
run: ./build.sh
33+
run: SLIDES_OUTPUT_FOLDER=../website/static/slides ./build.sh fils_en
34+
35+
- name: Install dependencies (website)
36+
working-directory: website
37+
run: npm ci
3638

3739
- name: Test build website
40+
working-directory: website
3841
run: npm run build

.gitignore

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Dependencies
2-
/node_modules
2+
node_modules
33

44
# Production
5-
/build
5+
/website/build
6+
/slides/build
67

78
# Generated files
89
.docusaurus
@@ -22,4 +23,13 @@ yarn-error.log*
2223
Cargo.lock
2324
target
2425

25-
static/slides
26+
website/static/slides
27+
28+
# Slides
29+
node_modules
30+
.DS_Store
31+
dist
32+
*.local
33+
index.html
34+
.remote-assets
35+
components.d.ts

README.md

Lines changed: 2 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,3 @@
1-
# Website
1+
# MA Website
22

3-
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
4-
5-
### Installation
6-
7-
```bash
8-
npm install
9-
cd slides
10-
npm install
11-
```
12-
13-
### Local Development
14-
15-
#### Website
16-
17-
```bash
18-
npm start
19-
```
20-
21-
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
22-
23-
#### Slides
24-
25-
```bash
26-
cd slides
27-
npm run dev -- lectures/$lecture/slides.md
28-
```
29-
30-
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
31-
32-
### Build
33-
34-
#### Build Website
35-
36-
```bash
37-
npm run build
38-
```
39-
40-
This command generates static content into the `build` directory and can be served using any static contents hosting service.
41-
42-
#### Build Slides
43-
44-
```bash
45-
cd slides
46-
./build.sh
47-
```
48-
49-
This command generates static content into the `build/slides` directory and can be served using any static contents hosting service.
3+
This is the website for the MA course delivered to ACS CC and FILS English.

blog/2019-05-28-first-blog-post.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

blog/2019-05-29-long-blog-post.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

blog/2021-08-01-mdx-blog-post.mdx

Lines changed: 0 additions & 20 deletions
This file was deleted.
-93.9 KB
Binary file not shown.

blog/2021-08-26-welcome/index.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)