From 4427008ff635cec8b981151e6b51a2940c2cf000 Mon Sep 17 00:00:00 2001 From: Gabor Szabo Date: Thu, 23 Jan 2025 21:21:04 +0200 Subject: [PATCH] move the github-pages slides out to the full books section --- books.txt | 2 +- .../examples}/_config.yml | 0 .../examples}/about.md | 0 .../examples}/data.json | 0 .../examples}/demo.js | 0 .../examples}/index.html | 0 .../examples}/jquery.md | 0 .../examples}/js.md | 0 .../examples}/json.js | 0 .../examples}/json.md | 0 {talks => github-pages}/github-pages.json | 0 {talks => github-pages}/github-pages.md | 21 +++++++++++-------- 12 files changed, 13 insertions(+), 10 deletions(-) rename {talks/github-pages => github-pages/examples}/_config.yml (100%) rename {talks/github-pages => github-pages/examples}/about.md (100%) rename {talks/github-pages => github-pages/examples}/data.json (100%) rename {talks/github-pages => github-pages/examples}/demo.js (100%) rename {talks/github-pages => github-pages/examples}/index.html (100%) rename {talks/github-pages => github-pages/examples}/jquery.md (100%) rename {talks/github-pages => github-pages/examples}/js.md (100%) rename {talks/github-pages => github-pages/examples}/json.js (100%) rename {talks/github-pages => github-pages/examples}/json.md (100%) rename {talks => github-pages}/github-pages.json (100%) rename {talks => github-pages}/github-pages.md (90%) diff --git a/books.txt b/books.txt index 2d738528b..abee8d31f 100644 --- a/books.txt +++ b/books.txt @@ -15,6 +15,7 @@ google-gcp/gcp.json,google-gcp, git/git.json,git, git-intro/git.json,git-intro, github-ci/github-ci.json,github-ci, +github-pages/github-pages.json,github-pages, gitlab/gitlab.json,gitlab, golang/go.json,golang, groovy/groovy.json,groovy, @@ -58,7 +59,6 @@ vim/vim.json,vim, web/web.json,web, windows/windows.json,windows, talks/real_world.json,real-world, -talks/github-pages.json,github-pages, talks/python-pair-programming-and-tdd-workshop.json,python-pair-programming-and-tdd-workshop, talks/what-i-learned-from-learning-rust.json,what-i-learned-from-learning-rust, typescript/typescript.json,typescirpt, diff --git a/talks/github-pages/_config.yml b/github-pages/examples/_config.yml similarity index 100% rename from talks/github-pages/_config.yml rename to github-pages/examples/_config.yml diff --git a/talks/github-pages/about.md b/github-pages/examples/about.md similarity index 100% rename from talks/github-pages/about.md rename to github-pages/examples/about.md diff --git a/talks/github-pages/data.json b/github-pages/examples/data.json similarity index 100% rename from talks/github-pages/data.json rename to github-pages/examples/data.json diff --git a/talks/github-pages/demo.js b/github-pages/examples/demo.js similarity index 100% rename from talks/github-pages/demo.js rename to github-pages/examples/demo.js diff --git a/talks/github-pages/index.html b/github-pages/examples/index.html similarity index 100% rename from talks/github-pages/index.html rename to github-pages/examples/index.html diff --git a/talks/github-pages/jquery.md b/github-pages/examples/jquery.md similarity index 100% rename from talks/github-pages/jquery.md rename to github-pages/examples/jquery.md diff --git a/talks/github-pages/js.md b/github-pages/examples/js.md similarity index 100% rename from talks/github-pages/js.md rename to github-pages/examples/js.md diff --git a/talks/github-pages/json.js b/github-pages/examples/json.js similarity index 100% rename from talks/github-pages/json.js rename to github-pages/examples/json.js diff --git a/talks/github-pages/json.md b/github-pages/examples/json.md similarity index 100% rename from talks/github-pages/json.md rename to github-pages/examples/json.md diff --git a/talks/github-pages.json b/github-pages/github-pages.json similarity index 100% rename from talks/github-pages.json rename to github-pages/github-pages.json diff --git a/talks/github-pages.md b/github-pages/github-pages.md similarity index 90% rename from talks/github-pages.md rename to github-pages/github-pages.md index d80b1b50f..2a3246baa 100644 --- a/talks/github-pages.md +++ b/github-pages/github-pages.md @@ -10,7 +10,7 @@ * Visit https://USERNAME.github.io (it may take a few minutes to update) * For GitHub Organizations it is exactly the same process. -![](github-pages/index.html) +![](examples/index.html) ## GitHub page with Jekyll @@ -23,7 +23,7 @@ * Visit https://USERNAME.github.io/about * Note: the .html files take precedence over the .md files! -![](github-pages/about.md) +![](examples/about.md) ## Jekyll themese @@ -49,7 +49,7 @@ * In **_config.yml** -![](github-pages/_config.yml) +![](examples/_config.yml) @@ -69,7 +69,8 @@ title: About the szabgab page ## JavaScript code {id: javascript-code} -![](github-pages/js.md) + +![](examples/js.md) * One can include plain HTML in the md file. So include **script** tags. * The code should come at the end to have the DOM available already. @@ -78,8 +79,9 @@ title: About the szabgab page ## Load jQuery and add jQuery code {id: load-jquery-code} -![](github-pages/jquery.md) -![](github-pages/demo.js) + +![](examples/jquery.md) +![](examples/demo.js) When you change the JavaScript file, make sure it is reloaded! Browser cashing can cause you a bad day. @@ -87,9 +89,10 @@ When you change the JavaScript file, make sure it is reloaded! Browser cashing c ## Add a JSON file, load it with jQuery and display the content {id: load-json-file} -![](github-pages/json.md) -![](github-pages/json.js) -![](github-pages/data.json) + +![](examples/json.md) +![](examples/json.js) +![](examples/data.json)