diff --git a/build.sh b/build.sh index 9e59417..7c8250c 100755 --- a/build.sh +++ b/build.sh @@ -7,3 +7,13 @@ mkdir -p BUILT/site/ # TODO Rename site/ to static/ find site/ -type f -exec ln -f {} BUILT/site \; + +# Go +PATH="$PATH:$(go env GOPATH)/bin" + +# https://github.com/googlecodelabs/tools/tree/main/claat#install +go install github.com/googlecodelabs/tools/claat@latest + +# TODO mv source, so that URL and directory match +# (incl. changing "feedback link" in codelab.en.md) +claat export -o BUILT/site/en/computers/intro learn/computers/setup/concepts/codelab.en.md diff --git a/docs/ideas-ToDo.md b/docs/ideas-ToDo.md index 86a3fdf..85f3c27 100644 --- a/docs/ideas-ToDo.md +++ b/docs/ideas-ToDo.md @@ -2,9 +2,11 @@ ## Must -1. #Hack Codelab #1 (with Bazel) 1. #Com A. test 1. #Hack Kata `echo hello` +1. #Hack Build 2nd Codelab, automagically +1. #Hack tocs.yaml reader used to generate +1. #Hack MD [ ] doesn't work in Codelabs 1. #Design Homepage HTML black and matrix-like green with https://github.com/Rezmason/matrix 1. #Hack Codelabs directory site (pending https://github.com/googlecodelabs/tools/pull/884) 1. #Hack Slides @@ -20,9 +22,14 @@ 1. #Com https://github.com/edunumsec2/book/blob/master/doc/comite.md 1. #Hack SEO for client-side multilingual - `` ? 1. #Hack Write _Terms of Service_ and _Privacy Policy_ +1. #Com #Biz Merch! ## Should +1. Generate Codelabs' "id" and "feedback link:" and "summary" + +1. Fix https://github.com/googlecodelabs/tools/issues/877 for YAML Front Matter support in claat + 1. Lessons Graph, with progress view, with Mermaid; à la Khan 1. Run https://lychee.cli.rs on generated output site (not source, as Mega Linter does) diff --git a/learn/computers/setup/concepts/codelab.en.md b/learn/computers/setup/concepts/codelab.en.md index 7f144e3..22cf987 100644 --- a/learn/computers/setup/concepts/codelab.en.md +++ b/learn/computers/setup/concepts/codelab.en.md @@ -1,6 +1,12 @@ -# Computer Concepts +author: Michael Vorburger.ch +summary: Introduction to Computers +id: codelab +categories: computers,introduction +environments: Web +status: Published +feedback link: https://github.com/www-learn-study/saraswati.learn.study/edit/main/learn/computers/setup/concepts/codelab.en.md -## Prerequisites +# Computer Concepts ## CPU diff --git a/site/index.html b/site/index.html index 433f620..e2ef61b 100644 --- a/site/index.html +++ b/site/index.html @@ -26,9 +26,7 @@
--
hello, world- +
🚧 This website is currently still under construction.🏗️