added readme to mention submodule

made the build script auto-update the wiki submodule
This commit is contained in:
jan6 2021-09-19 16:28:27 +03:00
parent 2138756ddb
commit 56657723e2
3 changed files with 8 additions and 0 deletions

2
.gitmodules vendored
View File

@ -2,3 +2,5 @@
path = src/wiki
url = https://tildegit.org/cafe/wiki
branch = HEAD
[submodule "wiki"]
branch = main

4
README.md Normal file
View File

@ -0,0 +1,4 @@
after cloning, make sure to
git submodule init
git submodule update
the build script will also update the wiki submodule on each run

View File

@ -2,6 +2,8 @@
#umask 0113
git submodule update
#. in reference to src/
for path in . ./wiki;do
tmpindex=$(mktemp --suffix '.md') # for generating list of markdown links for index.html