Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F211527
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
View Options
diff --git a/dev/scripts/makedoc b/dev/scripts/makedoc
index a7b645d..260cc43 100755
--- a/dev/scripts/makedoc
+++ b/dev/scripts/makedoc
@@ -1,26 +1,23 @@
#!/bin/sh
#
# Generates the Zed source code documentation
# http://scherzo.dereckson.be/doc/zed
#
#For any debug purpose, the initial command line were:
#phpdoc -d /home/dereckson/dev/zed/zed-repo -dn Zed --title "Zed. The source code to build a world." -s -ric README -o HTML:Smarty:HandS -i apps/,cache/,content/,css/,dev/,doc/ img/,js/,lang/,skins/,includes/Smarty -t /home/wwwroot/dereckson.be/scherzo/doc/zed
#Config
-HG=/usr/local/bin/hg
PHPDOC=/usr/local/bin/phpdoc
-REPO=/home/dereckson/dev/zed/zed-repo
-TARGETDOC=/home/wwwroot/dereckson.be/scherzo/doc/zed
+REPO=/home/dereckson/dev/zed/zed
+TARGETDOC=/var/wwwroot/dereckson.be/scherzo/doc/zed
IGNORES=apps/,cache/compiled/,content/,css/,dev/,doc/,img/,js/,lang/,skins/,includes/Smarty/
#Deletes previous doc
echo Deleting previous documentation...
-rm -f -R $TARGETDOC/*
+rm -f -R "${TARGETDOC:?}/"*
#Make doc
-echo Generating changelog...
-$HG log -R $REPO --style zed > $REPO/CHANGELOG
-#echo Building new documentation...
-$PHPDOC -d $REPO -dn Zed --title "Zed. The source code to build a world." -s -ric README,CHANGELOG -o HTML:Smarty:Zed -i $IGNORES -t $TARGETDOC
+echo Building new documentation...
+$PHPDOC -d $REPO -dn Zed --title "Zed. The source code to build a world." -s -ric README -o HTML:Smarty:Zed -i $IGNORES -t $TARGETDOC
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Nov 24, 09:05 (11 h, 24 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
20863
Default Alt Text
(1 KB)
Attached To
rZED Zed
Event Timeline
Log In to Comment