aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/constants.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-04-26 20:58:26 -0400
committerRalph Amissah <ralph@amissah.com>2010-04-26 20:59:24 -0400
commit8b3f9e832f69bcef52f073678bbde1fcc588e695 (patch)
tree072fa5e187b8923957200a218256cf41c96bb373 /lib/sisu/v2/constants.rb
parentsisupod_make, take new markup into account, done for :skin: (diff)
git, start experimenting with an alternative/parallel git based sisu document structure
* git, start to experiment with file structure to replace sisupod -g and will be in configure options, to track changes to document, enable creation of "pods" (zipped content) and allow for remote versioned (or unversioned) placement of content source; ideally would end up with two co-existing, distinct parse-able structures whether local or remote, the existing directory structure with multiple documents and document images etc. and git directories with all content associated with a single document (including other language versions of it); cannot guarantee at this stage that the file structure will be retained, which may mean recreating any directory started and defeat the purpose of using it, though it is in a version control repo, so perhaps not ... best left alone (unused) for now
Diffstat (limited to 'lib/sisu/v2/constants.rb')
-rw-r--r--lib/sisu/v2/constants.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sisu/v2/constants.rb b/lib/sisu/v2/constants.rb
index 02c76e6a..8606796a 100644
--- a/lib/sisu/v2/constants.rb
+++ b/lib/sisu/v2/constants.rb
@@ -58,7 +58,7 @@
=end
Sfx={:txt=>'.txt',:html=>'.html',:xhtml=>'.xhtml',:xml=>'.xml',:epub=>'.epub',:epub_xhtml=>'.xhtml',:odt=>'.odt',:pdf=>'.pdf'}
-Ax,Xx,Mx,Rx,Hx,Dx,Px,Db,Tex={},{},{},{},{},{},{},{},{}
+Ax,Xx,Mx,Rx,Hx,Dx,Px,Db,Gt,Tex=Array.new(10){{}}
Ax[:tab]="\t"
Xx[:protect]='☞'
Xx[:segment]='Ф'
@@ -151,6 +151,10 @@ Db[:col_filename]=256
Db[:col_digest]=64
Db[:col_filesize]=10
Db[:col_info_note]=2500
+Gt[:grotto]='sisu:'
+Gt[:txt]='txt'
+Gt[:image]='images'
+Gt[:conf]='conf'
__END__
consider:
〔comment〕