projects
/
booh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52e0517
)
add ~~title auto substitution with dirbasename
author
gc
<gc>
Sat, 5 Mar 2005 12:41:24 +0000
(12:41 +0000)
committer
gc
<gc>
Sat, 5 Mar 2005 12:41:24 +0000
(12:41 +0000)
booh
patch
|
blob
|
history
diff --git
a/booh
b/booh
index 6953f17968de8552b97e9be8eb9cbe70d41dfd77..deb3ddc7335dfb4d2a1f2ad5d8b7f37876e0a5ea 100755
(executable)
--- a/
booh
+++ b/
booh
@@
-175,6
+175,7
@@
def walk_source_dir
images4js = final_images.collect { |img| "\"#{img}\"" }.join(', ')
for i in html
i.sub!(/~~images/, images4js)
+ i.sub!(/~~title/, File.basename(dir))
end
File.open("#{dest_dir}/index.html", "w").write(html)