]> git.phdru.name Git - git-wiki.git/blob - publish
Add GitAhead
[git-wiki.git] / publish
1 #! /bin/sh
2
3 web="`git config --get --path htdocs.path`" &&
4 rsync -pt git-wiki.txt "$web" &&
5 cd "$web" &&
6
7 echo \
8 '#extends phd_site
9 #implements respond
10 #attr $Title = "Git"
11 #attr $Description = "Broytman Python Software Git"
12 #attr $Copyright = 2015
13 ##
14 #def body_rst' >git-wiki.tmpl &&
15
16 sed -e 's/\$/\\&/g' git-wiki.txt >>git-wiki.tmpl &&
17
18 echo \
19 '#end def
20 $phd_site.respond(self)' >>git-wiki.tmpl &&
21
22 exec chmod u=rw,go=r "$web"/git-wiki.t*