Add note about autogeneration

This commit is contained in:
Jacob Janzen 2024-08-09 23:29:26 -05:00
parent b2e8dcde4e
commit 6f1e638da8

View file

@ -44,7 +44,7 @@ create_dir_tree () {
cd ~/.dotfiles || exit cd ~/.dotfiles || exit
git checkout main git checkout main
echo '#+title: Dotfiles' >> index.org echo '#+title: Dotfiles' >> index.org
echo 'This is my system configuration. Choose which system to browse: ' >> index.org echo 'This is my system configuration. These pages are automatically generated from the sources hosted [[https://git.sr.ht/~jjanzen/.dotfiles][here]]. Choose which system to browse: ' >> index.org
find -- . -maxdepth 1 -type d | sed '/\(^\.$\|^\.\/\.git$\|\.\/common\)/d' | while read -r root; do find -- . -maxdepth 1 -type d | sed '/\(^\.$\|^\.\/\.git$\|\.\/common\)/d' | while read -r root; do
root=$(echo "$root" | sed 's/\(\.\/\|\/$\)//') root=$(echo "$root" | sed 's/\(\.\/\|\/$\)//')
echo "- [[https://jjanzen.ca/dotfiles/$root][$root]]" >> index.org echo "- [[https://jjanzen.ca/dotfiles/$root][$root]]" >> index.org