initial work on docs (#69)

* initial work on docs
* fix DOCKER_VERSION
* update location
* add the path **properly**
* Update docs workflow
This commit is contained in:
cyan
2024-10-17 10:50:22 +02:00
committed by GitHub
parent 939040032f
commit d04dcf67ec
20 changed files with 623 additions and 83 deletions

14
docs/update_screenshot.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
set -x -e
go install github.com/homeport/termshot/cmd/termshot@main
cargo install onefetch
COMMIT_COUNT=$(git log --pretty=format:'' | wc -l | xargs)
echo Commit count: $COMMIT_COUNT
if (( $COMMIT_COUNT % 69 == 0 ))
then
echo "easter egg, yay!"
termshot --show-cmd --filename Writerside/assets/onefetch.png -- "onefetch --number-of-authors 0 -a html | lolcat"
else
echo "normal. Yay."
termshot --show-cmd --filename Writerside/assets/onefetch.png -- "onefetch --number-of-authors 0 -a c++"
fi