-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocumentation.cfg
More file actions
48 lines (45 loc) · 940 Bytes
/
documentation.cfg
File metadata and controls
48 lines (45 loc) · 940 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[buildout]
extends = grok.cfg
develop = .
parts = sphinxpython
[sphinxpython]
recipe = zc.recipe.egg
interpreter = sphinxpython
eggs =
groktoolkit
grok
grokcore.annotation
grokcore.component
grokcore.content
grokcore.formlib
grokcore.message
grokcore.security
grokcore.site
grokcore.traverser
grokcore.view
grokcore.viewlet
martian
py
sphinx
[cronjob-template]
recipe = collective.recipe.template
document_root = /var/www/html/grok/doc/dev
inline =
#!/bin/bash
cd ${buildout:directory}
svn update
cd doc
make clean
make all
if [ $? == 0 ]; then
rm -rf ${:document_root}
cp -rf ${buildout:directory}/doc/_build/html ${:document_root}
else
echo "grokdocs html generation failed"
fi
output = ${buildout:bin-directory}/build.sh
mode = 755
[cronjob]
recipe = z3c.recipe.usercrontab
times = 0 * * * *
command = ${cronjob-template:output} > ${buildout:directory}/build.log 2>&1