I am a Work-Flow for the Dings-Project.
We made some of the most importante Repositories private, therefore the Project cannot be built any more from "Outsiders".
Use the following Work-Flow to render the Day-24 using the Bash-Shell:
$ export Day-X="Day-24"
✔ ~
$ git clone git@github.com:All-Dings/111.git
Cloning into '111'...
remote: Enumerating objects: 1836, done.
remote: Counting objects: 100% (836/836), done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 1836 (delta 769), reused 776 (delta 758), pack-reused 1000
Receiving objects: 100% (1836/1836), 4.25 MiB | 5.93 MiB/s, done.
Resolving deltas: 100% (918/918), done.
$ cd 111
✔ ~/111 [Master|✔]
✔ ~/111 [Master|✔] $ git submodule update --init --recursive
Submodule '0' (git@github.com:All-Dings/0.git) registered for path '0'
Submodule '1000001000' (git@github.com:All-Dings/1000001000.git) registered for path '1000001000'
Submodule '140100000' (git@github.com:All-Dings/140100000.git) registered for path '140100000'
Submodule '1997080300' (git@github.com:All-Dings/1997080300.git) registered for path '1997080300'
Submodule '2000001' (git@github.com:All-Dings/2000001.git) registered for path '2000001'
Submodule '250000000' (git@github.com:All-Dings/250000000.git) registered for path '250000000'
Submodule '260010000' (git@github.com:All-Dings/260010000.git) registered for path '260010000'
Submodule '888' (git@github.com:All-Dings/888.git) registered for path '888'
Cloning into '/Users/michael-holzheu/111/0'...
Cloning into '/Users/michael-holzheu/111/1000001000'...
Cloning into '/Users/michael-holzheu/111/140100000'...
Cloning into '/Users/michael-holzheu/111/1997080300'...
Cloning into '/Users/michael-holzheu/111/2000001'...
Cloning into '/Users/michael-holzheu/111/250000000'...
Cloning into '/Users/michael-holzheu/111/260010000'...
Cloning into '/Users/michael-holzheu/111/888'...
Submodule path '0': checked out '4cb8a12de63905a67b54cc39e6487ecdb9114bab'
Submodule path '1000001000': checked out 'b1975a614c26c2fec7af3ed4761b78ead334ffd4'
Submodule path '140100000': checked out '69843c9ad560d4ba825949bc085baf7ab146c89f'
Submodule path '1997080300': checked out '225dcda35e561abd4fcbabfa51abcc4ab9a4a0df'
Submodule path '2000001': checked out '6e5b601ce0766bca410269ac8c607cec571d7947'
Submodule path '250000000': checked out '74876a4c5ddf982efff47758da8ebfae3ac965a0'
Submodule path '260010000': checked out 'a5bf2e44fd7785f0aa4dc64bd3e8daa815422e88'
Submodule path '888': checked out '32c9fe7f866f04d9f90ad6ec8a1cfe824ebceaa5'
✔ ~/111 [Master|✔] git checkout $Day-X
Note: switching to 'Day-24'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 5e1612f Update Sub-Modules
✔ ~/111 [Master|✔] git submodule foreach "git checkout $Day-x"
Entering '0'
Previous HEAD position was e9c7bbe Finish Day-23
HEAD is now at 6e42835 Finish Day-24
Entering '1000001000'
HEAD is now at b1975a6 Make README.md a Soft-Link to 1000001000.md
Entering '140100000'
HEAD is now at 69843c9 Make README.md a Soft-Link to 140100000.md
Entering '1997080300'
HEAD is now at 225dcda Make README.md a Soft-Link to 1997080300.md
Entering '250000000'
HEAD is now at 74876a4 Make README.md a Soft-Link to 250000000.md
Entering '260010000'
HEAD is now at a5bf2e4 Make README.md a Soft-Link to 260010000.md
Entering '888'
HEAD is now at 32c9fe7 Make README.md a Soft-Link to 888.md
✔ ~/111 [Day-42|✔] make
For rendering all Dings do the following:
$ export Dings_Day=Day-XX
$ make workdir
$ make render
✔ ~/111 [Day-42|✔] make workdir
✔ ~/111 [Day-42|✔] make render
✔ ~/111 [Day-24|✔] $ make -f 300001000.make
ln -f 0/0.jpg 0.jpg
ln -f 0/0.md 0.md
[...]
sed -i '' -E 's/(href="[0-9]+)\.md/\1\.html/g' README.html
pandoc --standalone --template 300000002.htm 300000006.md -o index.html
[WARNING] This document format requires a nonempty <title> element.
Defaulting to '300000006' as the title.
To specify a title, use 'title' in metadata or --metadata title="...".
sed -i '' -E 's/(href="[0-9]+)\.md/\1\.html/g' index.html
echo "All-Things-Make-File"
All-Things-Make-File
Use e.g. the Mac-Os-Finder or the Ms-File-Explorer to navigate into the 111-Directory
and then open the index.html
File.
Before the Day-14 it is possible to render the Project, but it is a bit more complicated. If you really need that, read About-All-Dings to find out, how this works.
If we create a duplicate Ding-File we have two Options. If the Dings-File has not used, we can silently delete the File, otherwise we write to the less used File the following Text:
# Dings-Name (DEAD/DUPLICATE)
This Dings-File is no longer maintained, [here](NEW-NUMBER.md) you can find its living Gemini.
We also mark the Dings-File as DEAD in the overall Naming-File:
60044.md Technology
60043.md Output (DEAD)
60042.md Input