Skip to content

Merge all curricula into one site by moving files#1791

Draft
illicitonion wants to merge 28 commits intomainfrom
merge-all-curricula-moving
Draft

Merge all curricula into one site by moving files#1791
illicitonion wants to merge 28 commits intomainfrom
merge-all-curricula-moving

Conversation

@illicitonion
Copy link
Member

No description provided.

This was generated with:
```
git mv org-cyf-itd/content/blocks common-content/en/module/itd
rg -l blocks org-cyf-itd | xargs sed -e 's#blocks/#module/itd/#g' -i ''
```

And then manually reverting the one shared block (break in
`content/workshops/workshop-plan/index.md`).

This makes it easier to pull the content into another site (e.g. a
single merged site) if needed.
If a `_index.md` file has `build.render = "never"` set, it ends up as an
ancestor but without a link. This means we render a link with the title
of the page, but with a blank link, which makes a link to the current
page. This is never useful.

e.g. on https://piscine.codeyourfuture.io/sprints/1/day-plan/ there's a
"Piscine" link that has an empty `href` (so points at the current page)
which shouldn't be there. This is because
`org-cyf-piscine/content/sprints/_index.md` sets
`build.render = "never"` because it's a single-module course, so the
extra level of nesting isn't so useful.
Rather than overriding the overview template, just provide one with a
separate name, so that per-course overview pages can also exist in this
site.
Otherwise working out which page caused the problem is a pain.
This was generated with:

```
git mv org-cyf-itp/content org-cyf/content/itp
mkdir -p org-cyf/content/blocks/code-of-conduct
git mv org-cyf/content/itp/blocks/code-of-conduct/index.md org-cyf/content/blocks/code-of-conduct/index.md
```
This was generated with:

```
git mv org-cyf-piscine/content org-cyf/content/piscine
```
This allows for both animated and non-animated maps in the same site.
This was generated with:
```
git mv org-cyf-sdc/content org-cyf/content/sdc
git mv org-cyf/content/sdc/blocks/* org-cyf/content/blocks/
```
This was generated with:
```
git mv org-cyf-launch/content/blocks common-content/en/module/launch
rg -l blocks org-cyf-launch | xargs sed -e 's#blocks/#module/launch/#g' -i ''
```

And then manually reverting the shared lunch and break blocks.

This makes it easier to pull the content into another site (e.g. a
single merged site) if needed.
This was generated with:
```
git mv org-cyf-tracks/content/blocks/{ai-essentials,sap-fico} common-content/en/blocks
```
This was generated with:
```
git mv org-cyf-tracks/content org-cyf/content/tracks
```
@netlify
Copy link

netlify bot commented Mar 18, 2026

Deploy Preview for cyf-programming ready!

Name Link
🔨 Latest commit 4fd1a2b
🔍 Latest deploy log https://app.netlify.com/projects/cyf-programming/deploys/69ba7170f844fc00081d4f5f
😎 Deploy Preview https://deploy-preview-1791--cyf-programming.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 87 (🟢 up 2 from production)
Accessibility: 98 (🔴 down 2 from production)
Best Practices: 92 (no change from production)
SEO: 100 (🟢 up 10 from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Mar 18, 2026

Deploy Preview for cyf-common ready!

Name Link
🔨 Latest commit 4fd1a2b
🔍 Latest deploy log https://app.netlify.com/projects/cyf-common/deploys/69ba717015b89e0008747b06
😎 Deploy Preview https://deploy-preview-1791--cyf-common.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Mar 18, 2026

Deploy Preview for cyf-launch ready!

Name Link
🔨 Latest commit 4fd1a2b
🔍 Latest deploy log https://app.netlify.com/projects/cyf-launch/deploys/69ba717013d15200088c0aeb
😎 Deploy Preview https://deploy-preview-1791--cyf-launch.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Mar 18, 2026

Deploy Preview for cyf-piscine ready!

Name Link
🔨 Latest commit 4fd1a2b
🔍 Latest deploy log https://app.netlify.com/projects/cyf-piscine/deploys/69ba7170a32fdd0008729547
😎 Deploy Preview https://deploy-preview-1791--cyf-piscine.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 87 (🔴 down 11 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Mar 18, 2026

Deploy Preview for cyf-sdc ready!

Name Link
🔨 Latest commit 4fd1a2b
🔍 Latest deploy log https://app.netlify.com/projects/cyf-sdc/deploys/69ba717089e4980008372fc7
😎 Deploy Preview https://deploy-preview-1791--cyf-sdc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Mar 18, 2026

Deploy Preview for cyf-tracks ready!

Name Link
🔨 Latest commit 4fd1a2b
🔍 Latest deploy log https://app.netlify.com/projects/cyf-tracks/deploys/69ba717023b5a800087bafd1
😎 Deploy Preview https://deploy-preview-1791--cyf-tracks.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Mar 18, 2026

Deploy Preview for cyf-itd ready!

Name Link
🔨 Latest commit 4fd1a2b
🔍 Latest deploy log https://app.netlify.com/projects/cyf-itd/deploys/69ba717018d40f000847852f
😎 Deploy Preview https://deploy-preview-1791--cyf-itd.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 85 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Mar 18, 2026

Deploy Preview for cyf-curriculum ready!

Name Link
🔨 Latest commit 4fd1a2b
🔍 Latest deploy log https://app.netlify.com/projects/cyf-curriculum/deploys/69ba717018d40f0008478529
😎 Deploy Preview https://deploy-preview-1791--cyf-curriculum.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 89 (🟢 up 4 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@illicitonion illicitonion force-pushed the merge-all-curricula-moving branch from c046d60 to 4fd1a2b Compare March 18, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📋 Backlog

Development

Successfully merging this pull request may close these issues.

1 participant