Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F210775
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
new file mode 100755
--- /dev/null
+++ b/dev/scripts/makedoc
@@ -0,0 +1,26 @@
+#!/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
+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/*
+
+#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
diff --git a/dev/scripts/map-cmdline.zed b/dev/scripts/map-cmdline.zed
new file mode 100644
--- /dev/null
+++ b/dev/scripts/map-cmdline.zed
@@ -0,0 +1,17 @@
+header = '{date|shortdate} {author|person} <{author|email}>\n\n'
+header_verbose = ''
+changeset = '\t* {desc|fill68|tabindent|strip}\n\t[{node|short}]{tags}{branches}\n\n'
+changeset_quiet = '\t* {desc|firstline|fill68|tabindent|strip}\n\n'
+changeset_verbose = '{date|isodate} {author|person} <{author|email}> ({node|short}{tags}{branches})\n\n\t* {desc|fill68|tabindent|strip}\n\n'
+start_tags = ' ['
+tag = '{tag}, '
+last_tag = '{tag}]'
+start_branches = ' <'
+branch = '{branch}, '
+last_branch = '{branch}>'
+file = '{file}, '
+last_file = '{file}:\n\t'
+file_add = '{file_add}, '
+last_file_add = '{file_add}: new file.\n* '
+file_del = '{file_del}, '
+last_file_del = '{file_del}: deleted file.\n* '
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Nov 15, 19:38 (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
20985
Default Alt Text
(1 KB)
Attached To
rZEDHG ZedLegacy
Event Timeline
Log In to Comment