From 7ef619c28f57cb6749cee655f8e8cdd986fe3667 Mon Sep 17 00:00:00 2001 From: Jens Tirsvad Nielsen Date: Wed, 28 Oct 2026 13:26:29 +0800 Subject: [PATCH 1/3] Move wiki to docs/wiki where the publish workflow looks for it --- README.md | 10 +++++----- {wiki => docs/wiki}/Home-da.md | 2 +- {wiki => docs/wiki}/Home-ms.md | 2 +- {wiki => docs/wiki}/Home.md | 2 +- {wiki => docs/wiki}/_Sidebar.md | 0 {wiki => docs/wiki}/images/colour-vocab.png | Bin 6 files changed, 8 insertions(+), 8 deletions(-) rename {wiki => docs/wiki}/Home-da.md (95%) rename {wiki => docs/wiki}/Home-ms.md (95%) rename {wiki => docs/wiki}/Home.md (95%) rename {wiki => docs/wiki}/_Sidebar.md (100%) rename {wiki => docs/wiki}/images/colour-vocab.png (100%) diff --git a/README.md b/README.md index 4ff0b65..84fb6e1 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ the Spanish word, coloured to match its meaning, above a swatch of that colour. Built with plain HTML and CSS for Udemy's *100 Days of Code*, lesson 5.4 (Color Vocab Project). -![The finished page: Rojo, Azul, Anaranjado, Verde and Amarillo, each above a 200px colour swatch](wiki/images/colour-vocab.png) +![The finished page: Rojo, Azul, Anaranjado, Verde and Amarillo, each above a 200px colour swatch](docs/wiki/images/colour-vocab.png) ## Vocabulary @@ -31,11 +31,11 @@ No build step and no dependencies. Open `index.html` in a browser. ## Wiki -Documentation in three languages lives in [`wiki/`](wiki/): +Documentation in three languages lives in [`docs/wiki/`](docs/wiki/): -- [English](wiki/Home.md) -- [Dansk](wiki/Home-da.md) -- [Bahasa Malaysia](wiki/Home-ms.md) +- [English](docs/wiki/Home.md) +- [Dansk](docs/wiki/Home-da.md) +- [Bahasa Malaysia](docs/wiki/Home-ms.md) ## Licence diff --git a/wiki/Home-da.md b/docs/wiki/Home-da.md similarity index 95% rename from wiki/Home-da.md rename to docs/wiki/Home-da.md index 7ad2a02..3f7da60 100644 --- a/wiki/Home-da.md +++ b/docs/wiki/Home-da.md @@ -49,5 +49,5 @@ Skærmbilledet er taget med headless Chrome i et 480 px bredt vindue: ```bash chrome --headless=new --hide-scrollbars --window-size=480,1490 \ - --screenshot=wiki/images/colour-vocab.png file:///sti/til/index.html + --screenshot=docs/wiki/images/colour-vocab.png file:///sti/til/index.html ``` diff --git a/wiki/Home-ms.md b/docs/wiki/Home-ms.md similarity index 95% rename from wiki/Home-ms.md rename to docs/wiki/Home-ms.md index 093dfd5..25469e8 100644 --- a/wiki/Home-ms.md +++ b/docs/wiki/Home-ms.md @@ -51,5 +51,5 @@ Tangkapan skrin diambil dengan Chrome headless dalam tetingkap lebar 480 px: ```bash chrome --headless=new --hide-scrollbars --window-size=480,1490 \ - --screenshot=wiki/images/colour-vocab.png file:///laluan/ke/index.html + --screenshot=docs/wiki/images/colour-vocab.png file:///laluan/ke/index.html ``` diff --git a/wiki/Home.md b/docs/wiki/Home.md similarity index 95% rename from wiki/Home.md rename to docs/wiki/Home.md index aa14e10..683bb18 100644 --- a/wiki/Home.md +++ b/docs/wiki/Home.md @@ -49,5 +49,5 @@ The screenshot was taken with headless Chrome at a 480 px wide window: ```bash chrome --headless=new --hide-scrollbars --window-size=480,1490 \ - --screenshot=wiki/images/colour-vocab.png file:///path/to/index.html + --screenshot=docs/wiki/images/colour-vocab.png file:///path/to/index.html ``` diff --git a/wiki/_Sidebar.md b/docs/wiki/_Sidebar.md similarity index 100% rename from wiki/_Sidebar.md rename to docs/wiki/_Sidebar.md diff --git a/wiki/images/colour-vocab.png b/docs/wiki/images/colour-vocab.png similarity index 100% rename from wiki/images/colour-vocab.png rename to docs/wiki/images/colour-vocab.png -- 2.54.0 From b11d5e936707e09671d355d76ccf7f9fb110d78f Mon Sep 17 00:00:00 2001 From: Jens Tirsvad Nielsen Date: Wed, 28 Oct 2026 13:34:04 +0800 Subject: [PATCH 2/3] Move site files into src/ and update README and wiki paths --- {assets => src/assets}/images/blue.png | Bin {assets => src/assets}/images/green.png | Bin {assets => src/assets}/images/orange.png | Bin {assets => src/assets}/images/red.png | Bin {assets => src/assets}/images/yellow.png | Bin index.html => src/index.html | 0 style.css => src/style.css | 0 7 files changed, 0 insertions(+), 0 deletions(-) rename {assets => src/assets}/images/blue.png (100%) rename {assets => src/assets}/images/green.png (100%) rename {assets => src/assets}/images/orange.png (100%) rename {assets => src/assets}/images/red.png (100%) rename {assets => src/assets}/images/yellow.png (100%) rename index.html => src/index.html (100%) rename style.css => src/style.css (100%) diff --git a/assets/images/blue.png b/src/assets/images/blue.png similarity index 100% rename from assets/images/blue.png rename to src/assets/images/blue.png diff --git a/assets/images/green.png b/src/assets/images/green.png similarity index 100% rename from assets/images/green.png rename to src/assets/images/green.png diff --git a/assets/images/orange.png b/src/assets/images/orange.png similarity index 100% rename from assets/images/orange.png rename to src/assets/images/orange.png diff --git a/assets/images/red.png b/src/assets/images/red.png similarity index 100% rename from assets/images/red.png rename to src/assets/images/red.png diff --git a/assets/images/yellow.png b/src/assets/images/yellow.png similarity index 100% rename from assets/images/yellow.png rename to src/assets/images/yellow.png diff --git a/index.html b/src/index.html similarity index 100% rename from index.html rename to src/index.html diff --git a/style.css b/src/style.css similarity index 100% rename from style.css rename to src/style.css -- 2.54.0 From d3d249e272a58ed78617881bc1325fcc239d44d4 Mon Sep 17 00:00:00 2001 From: Jens Tirsvad Nielsen Date: Wed, 28 Oct 2026 13:34:12 +0800 Subject: [PATCH 3/3] Update README and wiki paths for src/ --- README.md | 8 ++++---- docs/wiki/Home-da.md | 4 ++-- docs/wiki/Home-ms.md | 4 ++-- docs/wiki/Home.md | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 84fb6e1..37310ef 100644 --- a/README.md +++ b/README.md @@ -19,15 +19,15 @@ Built with plain HTML and CSS for Udemy's *100 Days of Code*, lesson 5.4 ## Run it -No build step and no dependencies. Open `index.html` in a browser. +No build step and no dependencies. Open `src/index.html` in a browser. ## Files | Path | Purpose | | --- | --- | -| `index.html` | The page. Given by the exercise and left unchanged. | -| `style.css` | All styling: 200px × 200px images, normal-weight titles, one text colour per colour word. | -| `assets/images/` | The five colour swatches. | +| `src/index.html` | The page. Given by the exercise and left unchanged. | +| `src/style.css` | All styling: 200px × 200px images, normal-weight titles, one text colour per colour word. | +| `src/assets/images/` | The five colour swatches. | ## Wiki diff --git a/docs/wiki/Home-da.md b/docs/wiki/Home-da.md index 3f7da60..9cf735f 100644 --- a/docs/wiki/Home-da.md +++ b/docs/wiki/Home-da.md @@ -18,7 +18,7 @@ En flashcard-side til at lære farverne på spansk, lavet kun med HTML og CSS. ## Sådan kører du den -Åbn `index.html` i en vilkårlig browser. Der er intet at installere. +Åbn `src/index.html` i en vilkårlig browser. Der er intet at installere. ## Sådan virker den @@ -49,5 +49,5 @@ Skærmbilledet er taget med headless Chrome i et 480 px bredt vindue: ```bash chrome --headless=new --hide-scrollbars --window-size=480,1490 \ - --screenshot=docs/wiki/images/colour-vocab.png file:///sti/til/index.html + --screenshot=docs/wiki/images/colour-vocab.png file:///sti/til/src/index.html ``` diff --git a/docs/wiki/Home-ms.md b/docs/wiki/Home-ms.md index 25469e8..76394f1 100644 --- a/docs/wiki/Home-ms.md +++ b/docs/wiki/Home-ms.md @@ -19,7 +19,7 @@ dibina dengan HTML dan CSS sahaja. ## Cara menjalankan -Buka `index.html` dalam mana-mana pelayar. Tiada apa-apa untuk dipasang. +Buka `src/index.html` dalam mana-mana pelayar. Tiada apa-apa untuk dipasang. ## Cara ia berfungsi @@ -51,5 +51,5 @@ Tangkapan skrin diambil dengan Chrome headless dalam tetingkap lebar 480 px: ```bash chrome --headless=new --hide-scrollbars --window-size=480,1490 \ - --screenshot=docs/wiki/images/colour-vocab.png file:///laluan/ke/index.html + --screenshot=docs/wiki/images/colour-vocab.png file:///laluan/ke/src/index.html ``` diff --git a/docs/wiki/Home.md b/docs/wiki/Home.md index 683bb18..9c0f2f2 100644 --- a/docs/wiki/Home.md +++ b/docs/wiki/Home.md @@ -19,7 +19,7 @@ and CSS only. ## How to run -Open `index.html` in any browser. There is nothing to install. +Open `src/index.html` in any browser. There is nothing to install. ## How it works @@ -49,5 +49,5 @@ The screenshot was taken with headless Chrome at a 480 px wide window: ```bash chrome --headless=new --hide-scrollbars --window-size=480,1490 \ - --screenshot=docs/wiki/images/colour-vocab.png file:///path/to/index.html + --screenshot=docs/wiki/images/colour-vocab.png file:///path/to/src/index.html ``` -- 2.54.0