gettalong-webgen 0.5.7.20090227 → 0.5.8.20090507

Sign up to get free protection for your applications and to get access to all the features.
Files changed (205) hide show
  1. data/Rakefile +37 -36
  2. data/data/webgen/resources.yaml +2 -2
  3. data/data/webgen/webgui/app.rb +11 -0
  4. data/data/webgen/webgui/controller/main.rb +30 -26
  5. data/data/webgen/webgui/{view/page.xhtml → layout/default.xhtml} +8 -8
  6. data/data/webgen/webgui/start.rb +9 -0
  7. data/data/webgen/webgui/view/create_website.xhtml +6 -14
  8. data/data/webgen/webgui/view/manage_website.xhtml +2 -2
  9. data/data/webgen/website_bundles/default/README +6 -0
  10. data/data/webgen/website_bundles/default/src/index.page +15 -0
  11. data/data/webgen/{website_styles → website_bundles/style}/1024px/README +0 -0
  12. data/data/webgen/{website_styles → website_bundles/style}/1024px/src/default.css +0 -0
  13. data/data/webgen/{website_styles → website_bundles/style}/1024px/src/default.template +0 -0
  14. data/data/webgen/{website_styles → website_bundles/style}/1024px/src/images/background.gif +0 -0
  15. data/data/webgen/{website_styles → website_bundles/style}/andreas00/README +0 -0
  16. data/data/webgen/{website_styles → website_bundles/style}/andreas00/src/default.css +0 -0
  17. data/data/webgen/{website_styles → website_bundles/style}/andreas00/src/default.template +0 -0
  18. data/data/webgen/{website_styles → website_bundles/style}/andreas00/src/images/bg.gif +0 -0
  19. data/data/webgen/{website_styles → website_bundles/style}/andreas00/src/images/front.jpg +0 -0
  20. data/data/webgen/{website_styles → website_bundles/style}/andreas00/src/images/menubg.gif +0 -0
  21. data/data/webgen/{website_styles → website_bundles/style}/andreas00/src/images/menubg2.gif +0 -0
  22. data/data/webgen/{website_styles → website_bundles/style}/andreas01/README +0 -0
  23. data/data/webgen/{website_styles → website_bundles/style}/andreas01/src/default.css +0 -0
  24. data/data/webgen/{website_styles → website_bundles/style}/andreas01/src/default.template +0 -0
  25. data/data/webgen/{website_styles → website_bundles/style}/andreas01/src/images/bg.gif +0 -0
  26. data/data/webgen/{website_styles → website_bundles/style}/andreas01/src/images/front.jpg +0 -0
  27. data/data/webgen/{website_styles → website_bundles/style}/andreas01/src/print.css +0 -0
  28. data/data/webgen/{website_styles → website_bundles/style}/andreas03/README +0 -0
  29. data/data/webgen/{website_styles → website_bundles/style}/andreas03/src/default.css +0 -0
  30. data/data/webgen/{website_styles → website_bundles/style}/andreas03/src/default.template +0 -0
  31. data/data/webgen/{website_styles → website_bundles/style}/andreas03/src/images/bodybg.png +0 -0
  32. data/data/webgen/{website_styles → website_bundles/style}/andreas03/src/images/contbg.png +0 -0
  33. data/data/webgen/{website_styles → website_bundles/style}/andreas03/src/images/footerbg.png +0 -0
  34. data/data/webgen/{website_styles → website_bundles/style}/andreas03/src/images/gradient1.png +0 -0
  35. data/data/webgen/{website_styles → website_bundles/style}/andreas03/src/images/gradient2.png +0 -0
  36. data/data/webgen/{website_styles → website_bundles/style}/andreas04/README +0 -0
  37. data/data/webgen/{website_styles → website_bundles/style}/andreas04/src/default.css +0 -0
  38. data/data/webgen/{website_styles → website_bundles/style}/andreas04/src/default.template +0 -0
  39. data/data/webgen/{website_styles → website_bundles/style}/andreas04/src/images/blinkarrow.gif +0 -0
  40. data/data/webgen/{website_styles → website_bundles/style}/andreas04/src/images/bodybg.png +0 -0
  41. data/data/webgen/{website_styles → website_bundles/style}/andreas04/src/images/contentbg.png +0 -0
  42. data/data/webgen/{website_styles → website_bundles/style}/andreas04/src/images/entrybg.png +0 -0
  43. data/data/webgen/{website_styles → website_bundles/style}/andreas04/src/images/flash.gif +0 -0
  44. data/data/webgen/{website_styles → website_bundles/style}/andreas04/src/images/flash2.gif +0 -0
  45. data/data/webgen/{website_styles → website_bundles/style}/andreas04/src/images/globe.gif +0 -0
  46. data/data/webgen/{website_styles → website_bundles/style}/andreas04/src/images/globebottom.gif +0 -0
  47. data/data/webgen/{website_styles → website_bundles/style}/andreas04/src/images/linkarrow.gif +0 -0
  48. data/data/webgen/{website_styles → website_bundles/style}/andreas04/src/images/menuhover.png +0 -0
  49. data/data/webgen/{website_styles → website_bundles/style}/andreas05/README +0 -0
  50. data/data/webgen/{website_styles → website_bundles/style}/andreas05/src/default.css +0 -0
  51. data/data/webgen/{website_styles → website_bundles/style}/andreas05/src/default.template +0 -0
  52. data/data/webgen/{website_styles → website_bundles/style}/andreas05/src/images/bodybg.gif +0 -0
  53. data/data/webgen/{website_styles → website_bundles/style}/andreas05/src/images/front.png +0 -0
  54. data/data/webgen/{website_styles → website_bundles/style}/andreas06/README +0 -0
  55. data/data/webgen/{website_styles → website_bundles/style}/andreas06/src/default.css +6 -4
  56. data/data/webgen/{website_styles → website_bundles/style}/andreas06/src/default.template +2 -2
  57. data/data/webgen/{website_styles → website_bundles/style}/andreas06/src/images/bodybg.gif +0 -0
  58. data/data/webgen/{website_styles → website_bundles/style}/andreas06/src/images/boxbg.gif +0 -0
  59. data/data/webgen/{website_styles → website_bundles/style}/andreas06/src/images/greypx.gif +0 -0
  60. data/data/webgen/{website_styles → website_bundles/style}/andreas06/src/images/header.jpg +0 -0
  61. data/data/webgen/{website_styles → website_bundles/style}/andreas06/src/images/innerbg.gif +0 -0
  62. data/data/webgen/{website_styles → website_bundles/style}/andreas06/src/images/leaves.jpg +0 -0
  63. data/data/webgen/{website_styles → website_bundles/style}/andreas06/src/images/tabs.gif +0 -0
  64. data/data/webgen/{website_styles → website_bundles/style}/andreas07/README +0 -0
  65. data/data/webgen/{website_styles → website_bundles/style}/andreas07/src/browserfix.css +0 -0
  66. data/data/webgen/{website_styles → website_bundles/style}/andreas07/src/default.css +0 -0
  67. data/data/webgen/{website_styles → website_bundles/style}/andreas07/src/default.template +0 -0
  68. data/data/webgen/{website_styles → website_bundles/style}/andreas07/src/images/bodybg.gif +0 -0
  69. data/data/webgen/{website_styles → website_bundles/style}/andreas07/src/images/sidebarbg.gif +0 -0
  70. data/data/webgen/{website_styles → website_bundles/style}/andreas08/README +0 -0
  71. data/data/webgen/{website_styles → website_bundles/style}/andreas08/src/default.css +0 -0
  72. data/data/webgen/{website_styles → website_bundles/style}/andreas08/src/default.template +0 -0
  73. data/data/webgen/{website_styles → website_bundles/style}/andreas09/README +0 -0
  74. data/data/webgen/{website_styles → website_bundles/style}/andreas09/src/default.css +0 -0
  75. data/data/webgen/{website_styles → website_bundles/style}/andreas09/src/default.template +0 -0
  76. data/data/webgen/{website_styles → website_bundles/style}/andreas09/src/images/bodybg-black.jpg +0 -0
  77. data/data/webgen/{website_styles → website_bundles/style}/andreas09/src/images/bodybg-green.jpg +0 -0
  78. data/data/webgen/{website_styles → website_bundles/style}/andreas09/src/images/bodybg-orange.jpg +0 -0
  79. data/data/webgen/{website_styles → website_bundles/style}/andreas09/src/images/bodybg-purple.jpg +0 -0
  80. data/data/webgen/{website_styles → website_bundles/style}/andreas09/src/images/bodybg-red.jpg +0 -0
  81. data/data/webgen/{website_styles → website_bundles/style}/andreas09/src/images/bodybg.jpg +0 -0
  82. data/data/webgen/{website_styles → website_bundles/style}/andreas09/src/images/footerbg.jpg +0 -0
  83. data/data/webgen/{website_styles → website_bundles/style}/andreas09/src/images/menuhover-black.jpg +0 -0
  84. data/data/webgen/{website_styles → website_bundles/style}/andreas09/src/images/menuhover-green.jpg +0 -0
  85. data/data/webgen/{website_styles → website_bundles/style}/andreas09/src/images/menuhover-orange.jpg +0 -0
  86. data/data/webgen/{website_styles → website_bundles/style}/andreas09/src/images/menuhover-purple.jpg +0 -0
  87. data/data/webgen/{website_styles → website_bundles/style}/andreas09/src/images/menuhover-red.jpg +0 -0
  88. data/data/webgen/{website_styles → website_bundles/style}/andreas09/src/images/menuhover.jpg +0 -0
  89. data/data/webgen/{website_styles → website_bundles/style}/simple/README +0 -0
  90. data/data/webgen/{website_styles → website_bundles/style}/simple/src/default.css +0 -0
  91. data/data/webgen/{website_styles → website_bundles/style}/simple/src/default.template +0 -0
  92. data/data/webgen/website_skeleton/README +1 -1
  93. data/data/webgen/website_skeleton/config.yaml +5 -4
  94. data/doc/contentprocessor/blocks.page +43 -10
  95. data/doc/contentprocessor/builder.page +1 -1
  96. data/doc/contentprocessor/erb.page +12 -11
  97. data/doc/contentprocessor/redcloth.page +3 -1
  98. data/doc/extensions.page +3 -3
  99. data/doc/faq.page +13 -10
  100. data/doc/getting_started.page +12 -15
  101. data/doc/index.page +7 -1
  102. data/doc/manual.page +78 -27
  103. data/doc/reference_configuration.page +166 -3
  104. data/doc/reference_website_styles.page +28 -0
  105. data/doc/source/filesystem.page +39 -0
  106. data/doc/source/tararchive.page +40 -0
  107. data/doc/tag/tikz.page +2 -1
  108. data/doc/webgen_page_format.page +13 -12
  109. data/doc/website_styles.metainfo +8 -0
  110. data/lib/webgen/blackboard.rb +2 -2
  111. data/lib/webgen/cache.rb +4 -4
  112. data/lib/webgen/cli.rb +29 -16
  113. data/lib/webgen/cli/apply_command.rb +66 -0
  114. data/lib/webgen/cli/create_command.rb +22 -16
  115. data/lib/webgen/cli/utils.rb +23 -0
  116. data/lib/webgen/cli/webgui_command.rb +31 -16
  117. data/lib/webgen/configuration.rb +8 -6
  118. data/lib/webgen/contentprocessor.rb +4 -5
  119. data/lib/webgen/contentprocessor/blocks.rb +2 -0
  120. data/lib/webgen/contentprocessor/builder.rb +6 -3
  121. data/lib/webgen/contentprocessor/erb.rb +6 -3
  122. data/lib/webgen/contentprocessor/erubis.rb +7 -6
  123. data/lib/webgen/contentprocessor/haml.rb +6 -3
  124. data/lib/webgen/contentprocessor/rdoc.rb +0 -1
  125. data/lib/webgen/contentprocessor/redcloth.rb +3 -1
  126. data/lib/webgen/context.rb +73 -0
  127. data/lib/webgen/context/nodes.rb +36 -0
  128. data/lib/webgen/coreext.rb +3 -2
  129. data/lib/webgen/default_config.rb +3 -1
  130. data/lib/webgen/deprecated.rb +53 -0
  131. data/lib/webgen/node.rb +24 -19
  132. data/lib/webgen/output.rb +50 -7
  133. data/lib/webgen/page.rb +45 -36
  134. data/lib/webgen/path.rb +1 -1
  135. data/lib/webgen/source.rb +32 -4
  136. data/lib/webgen/source/resource.rb +3 -3
  137. data/lib/webgen/source/stacked.rb +1 -1
  138. data/lib/webgen/source/tararchive.rb +73 -0
  139. data/lib/webgen/sourcehandler.rb +4 -4
  140. data/lib/webgen/sourcehandler/base.rb +36 -24
  141. data/lib/webgen/sourcehandler/copy.rb +1 -1
  142. data/lib/webgen/sourcehandler/feed.rb +2 -2
  143. data/lib/webgen/sourcehandler/fragment.rb +1 -1
  144. data/lib/webgen/sourcehandler/metainfo.rb +15 -6
  145. data/lib/webgen/sourcehandler/page.rb +9 -5
  146. data/lib/webgen/sourcehandler/virtual.rb +44 -7
  147. data/lib/webgen/tag/base.rb +19 -13
  148. data/lib/webgen/tag/link.rb +1 -0
  149. data/lib/webgen/version.rb +1 -1
  150. data/lib/webgen/webgentask.rb +15 -13
  151. data/lib/webgen/website.rb +42 -11
  152. data/lib/webgen/websiteaccess.rb +1 -1
  153. data/lib/webgen/websitemanager.rb +61 -66
  154. data/man/man1/webgen.1 +4 -0
  155. data/misc/default.css +13 -0
  156. data/misc/default.template +1 -1
  157. data/misc/htmldoc.metainfo +2 -1
  158. data/misc/style.page +33 -0
  159. data/test/test_cli.rb +1 -7
  160. data/test/test_common_sitemap.rb +2 -2
  161. data/test/test_contentprocessor_blocks.rb +14 -1
  162. data/test/test_contentprocessor_builder.rb +3 -1
  163. data/test/test_contentprocessor_erb.rb +3 -2
  164. data/test/test_contentprocessor_erubis.rb +3 -3
  165. data/test/test_contentprocessor_fragments.rb +3 -3
  166. data/test/test_contentprocessor_haml.rb +3 -2
  167. data/test/test_contentprocessor_maruku.rb +3 -3
  168. data/test/test_contentprocessor_rdiscount.rb +1 -1
  169. data/test/test_contentprocessor_rdoc.rb +1 -1
  170. data/test/test_contentprocessor_redcloth.rb +9 -2
  171. data/test/test_contentprocessor_sass.rb +1 -1
  172. data/test/test_contentprocessor_tags.rb +1 -1
  173. data/test/{test_contentprocessor_context.rb → test_context.rb} +9 -7
  174. data/test/test_node.rb +27 -21
  175. data/test/test_page.rb +4 -4
  176. data/test/test_source_tararchive.rb +65 -0
  177. data/test/test_sourcehandler_fragment.rb +1 -1
  178. data/test/test_sourcehandler_memory.rb +6 -6
  179. data/test/test_sourcehandler_metainfo.rb +34 -13
  180. data/test/test_sourcehandler_page.rb +8 -0
  181. data/test/test_sourcehandler_virtual.rb +51 -12
  182. data/test/test_tag_breadcrumbtrail.rb +4 -4
  183. data/test/test_tag_coderay.rb +1 -1
  184. data/test/test_tag_date.rb +1 -1
  185. data/test/test_tag_executecommand.rb +1 -1
  186. data/test/test_tag_includefile.rb +3 -3
  187. data/test/test_tag_langbar.rb +6 -6
  188. data/test/test_tag_link.rb +8 -2
  189. data/test/test_tag_menu.rb +9 -9
  190. data/test/test_tag_metainfo.rb +1 -1
  191. data/test/test_tag_relocatable.rb +1 -1
  192. data/test/test_tag_sitemap.rb +1 -1
  193. data/test/test_tag_tikz.rb +2 -2
  194. data/test/test_website.rb +17 -0
  195. data/test/test_websitemanager.rb +16 -21
  196. metadata +181 -171
  197. data/data/webgen/website_templates/default/README +0 -6
  198. data/data/webgen/website_templates/default/src/index.page +0 -8
  199. data/data/webgen/website_templates/project/README +0 -5
  200. data/data/webgen/website_templates/project/src/about.page +0 -12
  201. data/data/webgen/website_templates/project/src/download.page +0 -15
  202. data/data/webgen/website_templates/project/src/features.page +0 -8
  203. data/data/webgen/website_templates/project/src/index.page +0 -9
  204. data/data/webgen/website_templates/project/src/screenshots.page +0 -18
  205. data/lib/webgen/contentprocessor/context.rb +0 -89
data/doc/index.page CHANGED
@@ -7,7 +7,9 @@ This documentation is for the *repository version*{: style='color: red; font-wei
7
7
  webgen and therefore may state features that are not available in the latest released version.
8
8
 
9
9
  * The documentation for the *latest released 0.5.x*{: style='color: red; font-weight: bold'} version
10
- can be found [here](http://webgen.rubyforge.org/documentation/0.5.x/index.html)
10
+ can be found [here](http://webgen.rubyforge.org/documentation/0.5.x/index.html). This
11
+ documentation can also be generated locally by running `rake htmldoc` in the root directory of the
12
+ weben distribution.
11
13
 
12
14
  * If you are looking for the documentation of the *0.4.x*{: style='color: red; font-weight: bold'}
13
15
  series, it can be found [here](http://webgen.rubyforge.org/documentation/0.4.x/index.html).
@@ -58,6 +60,10 @@ Following is a list of all the reference documentation of webgen:
58
60
  * [**Configuration Options Reference**]({relocatable: reference_configuration.html}): Overview of all
59
61
  configuration options.
60
62
 
63
+ * [**Website Styles Reference**]({relocatable: reference_website_styles.html}): Previews of all
64
+ website styles that ship with webgen.
65
+
66
+
61
67
  # Developer Documentation
62
68
 
63
69
  webgen makes it easy to extend its functionality by writing simple extension classes. All
data/doc/manual.page CHANGED
@@ -12,7 +12,7 @@ webgen website is structured and how content can be added and so on.
12
12
 
13
13
 
14
14
 
15
- # The `webgen` command
15
+ # The `webgen` command {#cli}
16
16
 
17
17
  The executable for webgen is called... webgen ;-) It uses a command style syntax (like Subversion's
18
18
  `svn` or Rubygem's `gem` commands) through the [cmdparse] library. To get an overview of the
@@ -20,7 +20,8 @@ possible commands run `webgen help`.
20
20
 
21
21
  The main command is the `render` command which does the actual website generation. This command uses
22
22
  either the environment variable `WEBGEN_WEBSITE` (if it is set and non-empty) or the current working
23
- directory as website directory if none was specified via the gloabl `-d` option.
23
+ directory as website directory if none was specified via the gloabl `-d` option. All other commands
24
+ that need a valid webgen website directory specified work in the same way.
24
25
 
25
26
  You can invoke a command by specifying its name after the executable name. Also counting the
26
27
  executable `webgen` as a command, the options for a command are specified directly after the command
@@ -35,10 +36,29 @@ valid:
35
36
 
36
37
  Following is a short overview of the available commands:
37
38
 
38
- * `create [-t TEMPLATE] [-s STYLE] SITE_DIR`
39
+ * `apply [-f] (BUNDLE_NAME|BUNDLE_URL)`
39
40
 
40
- Creates a basic webgen website in `SITE_DIR` using the optional template and styles. All
41
- available templates and styles are listed in the help output for the command.
41
+ The argument may either be a valid bundle name or an URL to a bundle archive (a (gzipped) tar
42
+ archive). The command applies the bundle to the given webgen website. The files that will be
43
+ written to website directory are shown and the user is asked to confirm that the shown files
44
+ should indeed be written (and sometimes overwritten). If the `-f` option is used, the files are
45
+ always written.
46
+
47
+ You can get the full list of available bundle names by running `webgen help apply`!
48
+
49
+ * `create [-b BUNDLE] SITE_DIR`
50
+
51
+ Creates a basic webgen website in `SITE_DIR` using the optionally specified bundles. The option
52
+ `-b` can be used more than once to specify more than one bundle - the bundles are applied in the
53
+ order they are specified. As with the `apply` command, `BUNDLE` may either be a valid bundle
54
+ name or a bundle URL.
55
+
56
+ > If you don't specify the `-b` option, the default value is used which applies the `default`
57
+ > and the `style-andreas07` bundles. The former only creates a simple `src/index.page` sothat
58
+ > some output can be seen and the latter applies a nice layout.
59
+ {.information}
60
+
61
+ All available bundles are listed in the help output for the command.
42
62
 
43
63
  * `help`
44
64
 
@@ -74,11 +94,11 @@ files and directories under this directory:
74
94
 
75
95
  * `src`: The source directory in which all the source files for the website are. If this directory
76
96
  should not be called `src` or you want to include additional source directories, you need to
77
- change the `sources` configuration option.
97
+ change the [`sources` configuration option]({relocatable: reference_configuration.html#sources}).
78
98
 
79
99
  * `out`: This directory is created, if it does not exist, when webgen generates the HTML files. All
80
100
  the output files are put into this directory. The name of this directory can be changed by setting
81
- the `output` configuration option.
101
+ the [`output` configuration option]({relocatable: reference_configuration.html#output}).
82
102
 
83
103
  * `ext`: The extension directory (optional). You can put self-written extensions into this directory
84
104
  so that they are used by webgen. See the [extension directory]({relocatable: '#website-ext'})
@@ -224,9 +244,10 @@ SourceHandler::Template as they are responsible for handling these page and temp
224
244
  You can naturally use any other type of file. However, be aware that some files may not be processed
225
245
  by webgen when no source handler class for them exists. For example, there is currently no source
226
246
  handler class for `.svg` files, so those files would be ignored. If you just want to have files
227
- copied from a source to the output directory (like images or CSS files), the SourceHandler::Copy
228
- class is what you need! Look through the documentation of the [availabe source handler
229
- classes]({relocatable: extensions.html}) to get a feeling of what files are handled by webgen.
247
+ copied from a source to the output directory (like images or CSS files), the
248
+ [SourceHandler::Copy]({relocatable: sourcehandler/copy.html}) class is what you need! Look through
249
+ the documentation of the [availabe source handler classes]({relocatable: extensions.html}) to get a
250
+ feeling of what files are handled by webgen.
230
251
 
231
252
 
232
253
  ## Source Paths Naming Convention {#source-naming}
@@ -289,25 +310,50 @@ the same canonical name.
289
310
  ## Canonical Name of a File ### {#source-cn}
290
311
 
291
312
  webgen provides the functionality to define the same content in more than one language, ie. to
292
- localize content. This is achieved with the _canonical name_ of a path.
313
+ localize content. This is achieved with the _canonical name_ of a path, short CN.
293
314
 
294
315
  When multiple paths share the same canonical name, webgen assumes that they have the same content
295
- but in different languages. It is also possible to specify a _language independent_ path which is
296
- used as a fallback. Therefore when a path should be resolved using a canonical name and a given
297
- language, it is first tried to get the path in the requested language. If this is not possible
298
- (ie. no such localization exists), the unlocalized path is returned if it exists.
316
+ but in different languages. It is also possible to specify a _language independent_ path (i.e. one
317
+ without a language) which is used as a fallback. Therefore when a path should be resolved using a
318
+ canonical name and a given language, it is first tried to get the path in the requested language. If
319
+ this is not possible (ie. no such localization exists), the unlocalized path is returned if it
320
+ exists.
321
+
322
+ For example, assume that we have the following `src` directory:
323
+
324
+ /test.jpg
325
+ /images/my.jpg
326
+ /images/my.de.jpg
327
+ /index.page
328
+ /index.fr.page
329
+ /index.de.page
330
+
331
+ Since the path `images/my.jpg` has no language part, it is assumed to be unlocalized. In contrast,
332
+ `images/my.de.jpg` has the "same" picture but in a German version. So, when specifying
333
+ `images/my.jpg` in `index.de.page`, the correct localized version will be returned, i.e.
334
+ `images/my.de.jpg`. When specifying `images/my.jpg` in `index.page` or in `index.fr.page`, the
335
+ unlocalized version will be returned since no localized version exists.
299
336
 
300
337
  > Directories and fragments are never localized, only files are!
301
338
  {.important}
302
339
 
303
- It is also possible to use the _localized canonical name_ of a path to resolve it. The localized
304
- canonical name is the same as the canonical name but with a language code inserted before the
305
- extension. If the localized canonical name is used to resolve a path, a possibly additionally
340
+ It is also possible to use the _localized canonical name_ of a path (short: LCN) to resolve it. The
341
+ localized canonical name is the same as the canonical name but with a language code inserted before
342
+ the extension. If the localized canonical name is used to resolve a path, a possibly additionally
306
343
  specified language is ignored as it is assumed that the user really only wants the path in the
307
344
  specified language!
308
345
 
309
- This also means that all paths are not resolved using their real source or output names but using
310
- the (localized) canonical name! This is different from previous webgen versions!
346
+ Continuing the above example, this means that `images/my.de.jpg` is always returned when one
347
+ specifies `images/my.de.jpg` in any of the index page files, e.g. in `index.fr.page`.
348
+
349
+ Both canonical and localized canonical names can be absolute (ACN and ALCN) which is done by using
350
+ the full path starting with a slash. This is especially useful when you don't exactly know in which
351
+ hierarchy level a certain canoncial name gets evaluated.
352
+
353
+ Everything said above also means that all paths are not resolved using their real source or output
354
+ names but using the (localized) canonical name! So when specifying paths for extensions, for example
355
+ when using the [relocatable tag]({relocatable: tag/relocatable.html}), you always have to use the
356
+ (absolute) (localized) canonical names. This is different from previous webgen versions!
311
357
 
312
358
 
313
359
  ## Output Path Name Construction ### {#source-output}
@@ -417,14 +463,17 @@ Here are some example path patterns:
417
463
 
418
464
  Following is the list of rules how source files are handled by webgen:
419
465
 
420
- * All path names of all sources specified in the configuration option `sources` are fetched. Prior
421
- listed sources have priority over later listed sources if both specify the same path.
466
+ * All path names of all sources specified in the configuration option [`sources`]({relocatable:
467
+ reference_configuration.html#sources}) are fetched. Prior listed sources have priority over later
468
+ listed sources if both specify the same path.
422
469
 
423
- * Those paths which match a pattern of the configuration option `sourcehandler.ignore` are excluded.
470
+ * Those paths which match a pattern of the configuration option
471
+ [`sourcehandler.ignore`]({relocatable: reference_configuration.html#sourcehandlerignore}) are excluded.
424
472
 
425
473
  * The source handler classes are invoked according to the invocation order specified in
426
- `sourcehandler.invoke` and they use only those paths that match one of their path patterns
427
- specified in `sourcehandler.patterns`.
474
+ [`sourcehandler.invoke`]({relocatable: reference_configuration.html#sourcehandlerinvoke}) and
475
+ they use only those paths that match one of their path patterns specified in
476
+ [`sourcehandler.patterns`]({relocatable: reference_configuration.html#sourcehandlerpatterns}).
428
477
 
429
478
  As you might have deduced from the processing list above, it is possible that one path is handled by
430
479
  multiple source handlers. This can be used, for example, to render an XML file as HTML and copy it
@@ -438,13 +487,15 @@ example the title of the path, if it should appear in a menu and so on. This met
438
487
  specified in several ways, including:
439
488
 
440
489
  * Source handlers can provide default meta information for their handled paths (set using the
441
- configuration option `sourcehandler.default_meta_info`)
490
+ configuration option [`sourcehandler.default_meta_info`]({relocatable:
491
+ reference_configuration.html#sourcehandlerdefault_meta_info}).
442
492
 
443
493
  * Some file types allow meta information to be specified directly in the file, for example page
444
494
  files in [Webgen Page Format]({relocatable: webgen_page_format.html}).
445
495
 
446
496
  * Meta information can also be specified in special meta information backing files. These files are
447
- handled by the source handler SourceHandler::Metainfo.
497
+ handled by the source handler [SourceHandler::Metainfo]({relocatable:
498
+ sourcehandler/metainfo.html}).
448
499
 
449
500
  There is clearly defined order in which meta information is applied to a node for a path:
450
501
 
@@ -2,6 +2,36 @@
2
2
  title: Configuration Option Reference
3
3
  in_menu: false
4
4
  ---
5
+ <%
6
+ def convert_proc(data, indent)
7
+ res = if data.kind_of?(Array)
8
+ data.inspect
9
+ elsif data.kind_of?(String)
10
+ (data.empty? ? '""' : data)
11
+ elsif data.kind_of?(Hash)
12
+ res = data.collect do |k,v|
13
+ if v.kind_of?(Hash)
14
+ k.to_s + ":\n" + convert_proc(v, 2)
15
+ else
16
+ k.to_s + ": " + convert_proc(v, 0)
17
+ end
18
+ end.join("\n")
19
+ (res.empty? ? "{}" : res)
20
+ elsif data.kind_of?(NilClass)
21
+ "~"
22
+ else
23
+ data.inspect
24
+ end
25
+ res.split("\n").collect {|l| ' '*indent + l}.join("\n")
26
+ end
27
+
28
+ require 'tmpdir'
29
+ ws = Webgen::Website.new(File.join(Dir.tmpdir, 'webgen' + Process.pid.to_s))
30
+ ws.init
31
+ show_default = lambda do |option|
32
+ "* Default value:\n\n#{convert_proc(ws.config[option], 10)}\n"
33
+ end
34
+ %>
5
35
 
6
36
  # Configuration Option Reference
7
37
 
@@ -23,6 +53,8 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
23
53
 
24
54
  * Syntax: `LANGUAGE` where `LANGUAGE` is a ISO-639-1/2 two or three letter language code
25
55
 
56
+ <%= show_default['website.lang'] %>
57
+
26
58
  * Example for setting the option in the configuration file:
27
59
 
28
60
  website.lang: de
@@ -35,6 +67,8 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
35
67
 
36
68
  * Syntax: `BOOLEAN` where `BOOLEAN` is `true` or `false`
37
69
 
70
+ <%= show_default['website.link_to_current_page'] %>
71
+
38
72
  * Example for setting the option in the configuration file:
39
73
 
40
74
  website.link_to_current_page: false
@@ -49,6 +83,8 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
49
83
 
50
84
  * Syntax: `[TYPE, LOCATION]` where `TYPE` is one of `:file` or `:string`
51
85
 
86
+ <%= show_default['website.cache'] %>
87
+
52
88
  * Example for setting the option in the configuration file:
53
89
 
54
90
  website.cache: [:file, my.cache]
@@ -63,6 +99,8 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
63
99
 
64
100
  * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
65
101
 
102
+ <%= show_default['common.sitemap.honor_in_menu'] %>
103
+
66
104
  * Example for setting the option in the configuration file:
67
105
 
68
106
  common.sitemap.honor_in_menu: true
@@ -79,6 +117,8 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
79
117
 
80
118
  * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
81
119
 
120
+ <%= show_default['common.sitemap.any_lang'] %>
121
+
82
122
  * Example for setting the option in the configuration file:
83
123
 
84
124
  common.sitemap.any_lang: true
@@ -95,6 +135,8 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
95
135
 
96
136
  * Syntax: `[KIND, ...]` where `KIND` is the kind of node that should be used.
97
137
 
138
+ <%= show_default['common.sitemap.used_kinds'] %>
139
+
98
140
  * Example for setting the option in the configuration file:
99
141
 
100
142
  common.sitemap.used_kinds: [asset]
@@ -117,10 +159,15 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
117
159
  `Webgen::Source::FileSystem`) and `ARG1`, `ARG2` and so on are the parameters for the source
118
160
  class. The supported parameters can be found in the documentation for each source class.
119
161
 
162
+ <%= show_default['sources'] %>
163
+
120
164
  * Example for setting the option in the configuration file:
121
165
 
122
166
  sources: [[/, Webgen::Source::FileSystem, src], [/, Webgen::Source::FileSystem, /mnt/pictures, **/*.jpg]
123
167
 
168
+ Also have a look at the [file system source documentation]({relocatable:
169
+ source/filesystem.html}) for more examples!
170
+
124
171
 
125
172
  * ### output
126
173
 
@@ -130,6 +177,8 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
130
177
  `Webgen::Output::FileSystem`) and `ARG1`, `ARG2` and so on are the parameters for the output
131
178
  class. The supported parameters can be found in the documentation for each output class.
132
179
 
180
+ <%= show_default['output'] %>
181
+
133
182
  * Example for setting the option in the configuration file:
134
183
 
135
184
  output: [Webgen::Output::FileSystem, custom_out]
@@ -145,6 +194,8 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
145
194
  * Syntax: `\{NAME: [PATTERN, PATTERN, ...], ...}` where `NAME` is the
146
195
  name the name of a source handler and `PATTERN` are one or more path patterns.
147
196
 
197
+ <%= show_default['sourcehandler.patterns'] %>
198
+
148
199
  * Example for setting the option in `ext/init.rb`:
149
200
 
150
201
  config = Webgen::WebsiteAccess.website.config
@@ -166,6 +217,8 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
166
217
  invocation (source handlers with a lower `ORDER` setting are executed earlier than ones with a
167
218
  higher `ORDER` setting) and `NAME` is the name of a source handler.
168
219
 
220
+ <%= show_default['sourcehandler.invoke'] %>
221
+
169
222
  * Example for setting the option in `ext/init.rb`:
170
223
 
171
224
  config = Webgen::WebsiteAccess.website.config
@@ -179,6 +232,8 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
179
232
 
180
233
  * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
181
234
 
235
+ <%= show_default['sourcehandler.casefold'] %>
236
+
182
237
  * Example for setting the option in the configuration file:
183
238
 
184
239
  sourcehandler.casefold: true
@@ -190,6 +245,8 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
190
245
 
191
246
  * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
192
247
 
248
+ <%= show_default['sourcehandler.use_hidden_files'] %>
249
+
193
250
  * Example for setting the option in the configuration file:
194
251
 
195
252
  sourcehandler.use_hidden_files: true
@@ -202,6 +259,8 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
202
259
 
203
260
  * Syntax: `[PATTERN, ...]` where `PATTERN` is a valid path pattern.
204
261
 
262
+ <%= show_default['sourcehandler.ignore'] %>
263
+
205
264
  * Example for setting the option in the configuration file:
206
265
 
207
266
  sourcehandler.ignore: [**/*~, **/CVS/**]
@@ -214,6 +273,8 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
214
273
 
215
274
  * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
216
275
 
276
+ <%= show_default['sourcehandler.default_lang_in_output_path'] %>
277
+
217
278
  * Example for setting the option in the configuration file:
218
279
 
219
280
  sourcehandler.default_lang_in_output_path: true
@@ -228,6 +289,8 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
228
289
  * Syntax: `\{NAME: {MI_KEY: MI_VALUE, ...}, ...}` where `NAME` is either the name of a source
229
290
  handler or the special key `:all` which sets default meta info for all source handlers.
230
291
 
292
+ <%= show_default['sourcehandler.default_meta_info'] %>
293
+
231
294
  * Example for setting the option in the configuration file:
232
295
 
233
296
  default_meta_info:
@@ -242,7 +305,9 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
242
305
  Specifies the name of the default template file of a directory. This template is used as
243
306
  fallback when no specific template is specified.
244
307
 
245
- * Syntax: `PATH` where `PATH` is the absolute localized canonical name of the default template.
308
+ * Syntax: `PATH` where `PATH` is the (absolute) localized canonical name of the default template.
309
+
310
+ <%= show_default['sourcehandler.template.default_template'] %>
246
311
 
247
312
  * Example for setting the option in the configuration file:
248
313
 
@@ -261,6 +326,8 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
261
326
  * Syntax: `\{SHORT: NAME, ...}` where `SHORT` is the short name of the content processor class
262
327
  `NAME`.
263
328
 
329
+ <%= show_default['contentprocessor.map'] %>
330
+
264
331
  * Examples for setting the option in `ext/init.rb`:
265
332
 
266
333
  config = Webgen::WebsiteAccess.website.config
@@ -274,6 +341,8 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
274
341
 
275
342
  * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
276
343
 
344
+ <%= show_default['contentprocessor.erubis.use_pi'] %>
345
+
277
346
  * Example for setting the option in the configuration file:
278
347
 
279
348
  contentprocessor.erubis.use_pi: true
@@ -287,11 +356,27 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
287
356
  * Syntax: `\{KEY: VALUE, ...}` where `KEY` and `VALUE` are key-value pairs of options where
288
357
  `KEY` needs to be a Symbol and not a String.
289
358
 
359
+ <%= show_default['contentprocessor.erubis.options'] %>
360
+
290
361
  * Example for setting the option in the configuration file:
291
362
 
292
363
  contentprocessor.erubis.options: {:trim: true}
293
364
 
294
365
 
366
+ * ### contentprocessor.redcloth.hard\_breaks
367
+
368
+ Specifies whether hard breaks (i.e. single newlines) in paragraphs are converted to HTML break
369
+ tags.
370
+
371
+ * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
372
+
373
+ <%= show_default['contentprocessor.redcloth.hard_breaks'] %>
374
+
375
+ * Example for setting the option in the configuration file:
376
+
377
+ contentprocessor.redcloth.hard_breaks: true
378
+
379
+
295
380
  * ### contentprocessor.tags.prefix
296
381
 
297
382
  Specifies the optional prefix that is used for tag names to avoid name clashes when another
@@ -299,6 +384,8 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
299
384
 
300
385
  * Syntax: `PREFIX` where `PREFIX` is the prefix name.
301
386
 
387
+ <%= show_default['contentprocessor.tags.prefix'] %>
388
+
302
389
  * Example for setting the option in the configuration file:
303
390
 
304
391
  contentprocessor.tags.prefix: webgen
@@ -312,6 +399,8 @@ configuration options) and/or how to use it in a webgen tag (for tag configurati
312
399
 
313
400
  * Syntax: `\{SHORT: NAME, ...}` where `SHORT` is the short name of the tag class `NAME`.
314
401
 
402
+ <%= show_default['contentprocessor.tags.map'] %>
403
+
315
404
  * Example for setting the option in `ext/init.rb`:
316
405
 
317
406
  config = Webgen::WebsiteAccess.website.config
@@ -333,6 +422,8 @@ shows how to set the option in the configuration file.
333
422
  * Syntax: `SEPARATOR` where `SEPARATOR` is a string (special HTML characters need to be properly
334
423
  escaped)
335
424
 
425
+ <%= show_default['tag.breadcrumbtrail.separator'] %>
426
+
336
427
  * Example for setting the option in the configuration file:
337
428
 
338
429
  tag.breadcrumbtrail.separator: '---'
@@ -348,6 +439,8 @@ shows how to set the option in the configuration file.
348
439
 
349
440
  * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
350
441
 
442
+ <%= show_default['tag.breadcrumbtrail.omit_index_path'] %>
443
+
351
444
  * Example for setting the option in the configuration file:
352
445
 
353
446
  tag.breadcrumbtrail.omit_index_path: true
@@ -373,6 +466,8 @@ shows how to set the option in the configuration file.
373
466
 
374
467
  * Syntax: `INTEGER` where `INTEGER` is any integer number
375
468
 
469
+ <%= show_default['tag.breadcrumbtrail.start_level'] %>
470
+
376
471
  * Example for setting the option in the configuration file:
377
472
 
378
473
  tag.breadcrumbtrail.start_level: 2
@@ -389,6 +484,8 @@ shows how to set the option in the configuration file.
389
484
 
390
485
  * Syntax: `INTEGER` where `INTEGER` is any integer number
391
486
 
487
+ <%= show_default['tag.breadcrumbtrail.end_level'] %>
488
+
392
489
  * Example for setting the option in the configuration file:
393
490
 
394
491
  tag.breadcrumbtrail.end_level: 2
@@ -404,6 +501,8 @@ shows how to set the option in the configuration file.
404
501
 
405
502
  * Syntax: `LANG` where `LANG` is one of <%= (require 'coderay'; CodeRay::Scanners.list.map {|n| '`' + n + '`'}.join(', ')) %>.
406
503
 
504
+ <%= show_default['tag.coderay.lang'] %>
505
+
407
506
  * Example for setting the option in the configuration file:
408
507
 
409
508
  tag.coderay.lang: ruby
@@ -419,6 +518,8 @@ shows how to set the option in the configuration file.
419
518
 
420
519
  * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
421
520
 
521
+ <%= show_default['tag.coderay.process_body'] %>
522
+
422
523
  * Example for setting the option in the configuration file:
423
524
 
424
525
  tag.coderay.process_body: false
@@ -432,7 +533,9 @@ shows how to set the option in the configuration file.
432
533
 
433
534
  Specifies in which HTML element the highlighted code should be wrapped.
434
535
 
435
- * Syntax: `WRAP` where `WRAP` is either `div` or `span`
536
+ * Syntax: `WRAP` where `WRAP` is either `:div` or `:span`
537
+
538
+ <%= show_default['tag.coderay.wrap'] %>
436
539
 
437
540
  * Example for setting the option in the configuration file:
438
541
 
@@ -449,6 +552,8 @@ shows how to set the option in the configuration file.
449
552
 
450
553
  * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
451
554
 
555
+ <%= show_default['tag.coderay.line_numbers'] %>
556
+
452
557
  * Example for setting the option in the configuration file:
453
558
 
454
559
  tag.coderay.line_numbers: false
@@ -464,6 +569,8 @@ shows how to set the option in the configuration file.
464
569
 
465
570
  * Syntax: `NUMBER` where `NUMBER` is an integer value.
466
571
 
572
+ <%= show_default['tag.coderay.line_number_start'] %>
573
+
467
574
  * Example for setting the option in the configuration file:
468
575
 
469
576
  tag.coderay.line_number_start: 4
@@ -479,6 +586,8 @@ shows how to set the option in the configuration file.
479
586
 
480
587
  * Syntax: `NUMBER` where `NUMBER` is an integer value.
481
588
 
589
+ <%= show_default['tag.coderay.bold_every'] %>
590
+
482
591
  * Example for setting the option in the configuration file:
483
592
 
484
593
  tag.coderay.bold_every: 2
@@ -494,6 +603,8 @@ shows how to set the option in the configuration file.
494
603
 
495
604
  * Syntax: `NUMBER` where `NUMBER` is an integer value.
496
605
 
606
+ <%= show_default['tag.coderay.tab_width'] %>
607
+
497
608
  * Example for setting the option in the configuration file:
498
609
 
499
610
  tag.coderay.tab_width: 4
@@ -511,6 +622,8 @@ shows how to set the option in the configuration file.
511
622
 
512
623
  * Syntax: `FORMAT` where `FORMAT` is a string.
513
624
 
625
+ <%= show_default['tag.date.format'] %>
626
+
514
627
  * Example for setting the option in the configuration file:
515
628
 
516
629
  tag.date.format: '%Y-%m-%d'
@@ -527,6 +640,8 @@ shows how to set the option in the configuration file.
527
640
 
528
641
  * Syntax: `COMMAND` where `COMMAND` is the to-be-executed command.
529
642
 
643
+ <%= show_default['tag.executecommand.command'] %>
644
+
530
645
  * Example for setting the option directly in a tag:
531
646
 
532
647
  executing a simple command \{exeucte_cmd: echo hallo}
@@ -539,6 +654,8 @@ shows how to set the option in the configuration file.
539
654
 
540
655
  * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
541
656
 
657
+ <%= show_default['tag.executecommand.process_output'] %>
658
+
542
659
  * Example for setting the option in the configuration file:
543
660
 
544
661
  tag.executecommand.process_output: false
@@ -554,6 +671,8 @@ shows how to set the option in the configuration file.
554
671
 
555
672
  * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
556
673
 
674
+ <%= show_default['tag.executecommand.escape_html'] %>
675
+
557
676
  * Example for setting the option in the configuration file:
558
677
 
559
678
  tag.executecommand.escape_html: false
@@ -571,6 +690,8 @@ shows how to set the option in the configuration file.
571
690
 
572
691
  * Syntax: `FILENAME` where `FILENAME` is the name of a file
573
692
 
693
+ <%= show_default['tag.includefile.filename'] %>
694
+
574
695
  * Example for setting the option directly in a tag:
575
696
 
576
697
  including a file \{include_file: my_file.txt}
@@ -583,6 +704,8 @@ shows how to set the option in the configuration file.
583
704
 
584
705
  * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
585
706
 
707
+ <%= show_default['tag.includefile.process_output'] %>
708
+
586
709
  * Example for setting the option in the configuration file:
587
710
 
588
711
  tag.includefile.process_output: false
@@ -598,6 +721,8 @@ shows how to set the option in the configuration file.
598
721
 
599
722
  * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
600
723
 
724
+ <%= show_default['tag.includefile.escape_html'] %>
725
+
601
726
  * Example for setting the option in the configuration file:
602
727
 
603
728
  tag.includefile.escape_html: false
@@ -614,6 +739,8 @@ shows how to set the option in the configuration file.
614
739
  * Syntax: `SEPARATOR` where `SEPARATOR` is a string (special HTML characters need to be properly
615
740
  escaped)
616
741
 
742
+ <%= show_default['tag.langbar.separator'] %>
743
+
617
744
  * Example for setting the option in the configuration file:
618
745
 
619
746
  tag.langbar.separator: ' --- '
@@ -629,6 +756,8 @@ shows how to set the option in the configuration file.
629
756
 
630
757
  * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
631
758
 
759
+ <%= show_default['tag.langbar.show_own_lang'] %>
760
+
632
761
  * Example for setting the option in the configuration file:
633
762
 
634
763
  tag.langbar.show_own_lang: false
@@ -645,6 +774,8 @@ shows how to set the option in the configuration file.
645
774
 
646
775
  * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
647
776
 
777
+ <%= show_default['tag.langbar.show_single_lang'] %>
778
+
648
779
  * Example for setting the option in the configuration file:
649
780
 
650
781
  tag.langbar.show_single_lang: false
@@ -662,6 +793,8 @@ shows how to set the option in the configuration file.
662
793
  * Syntax: `\{CODE: NAME, ...}` where `CODE` is a language code and `NAME` the associated language
663
794
  name of the code.
664
795
 
796
+ <%= show_default['tag.langbar.lang_names'] %>
797
+
665
798
  * Example for setting the option in the configuration file:
666
799
 
667
800
  tag.langbar.lang_names: \{de: Deutsch, en: English}
@@ -678,6 +811,8 @@ shows how to set the option in the configuration file.
678
811
 
679
812
  * Syntax: `PATH` where `PATH` is an (absolute) (localized) canonical name.
680
813
 
814
+ <%= show_default['tag.link.path'] %>
815
+
681
816
  * Example for setting the option directly in a tag:
682
817
 
683
818
  You will find more information on the \{link: docu.html} page!
@@ -690,6 +825,8 @@ shows how to set the option in the configuration file.
690
825
  * Syntax: `\{NAME: VALUE, ...}` where `NAME` is a valid HTML attribute name and `VALUE` its
691
826
  value.
692
827
 
828
+ <%= show_default['tag.link.attr'] %>
829
+
693
830
  * Example for setting the option in the configuration file:
694
831
 
695
832
  tag.link.attr: \{title: DocuPage}
@@ -708,6 +845,8 @@ shows how to set the option in the configuration file.
708
845
 
709
846
  * Syntax: `TYPE` where `TYPE` is one of `all`, `files` or `fragments`
710
847
 
848
+ <%= show_default['tag.menu.used_nodes'] %>
849
+
711
850
  * Example for setting the option in the configuration file:
712
851
 
713
852
  tag.menu.used_nodes: fragments
@@ -724,6 +863,8 @@ shows how to set the option in the configuration file.
724
863
 
725
864
  * Syntax: `LEVEL` where `LEVEL` is a number that is greater or equal to one.
726
865
 
866
+ <%= show_default['tag.menu.start_level'] %>
867
+
727
868
  * Example for setting the option in the configuration file:
728
869
 
729
870
  tag.menu.start_level: 2
@@ -740,6 +881,8 @@ shows how to set the option in the configuration file.
740
881
 
741
882
  * Syntax: `LEVEL` where `LEVEL` is a number that is greater or equal to one.
742
883
 
884
+ <%= show_default['tag.menu.min_levels'] %>
885
+
743
886
  * Example for setting the option in the configuration file:
744
887
 
745
888
  tag.menu.min_levels: 2
@@ -756,6 +899,8 @@ shows how to set the option in the configuration file.
756
899
 
757
900
  * Syntax: `LEVEL` where `LEVEL` is a number that is greater or equal to one.
758
901
 
902
+ <%= show_default['tag.menu.max_levels'] %>
903
+
759
904
  * Example for setting the option in the configuration file:
760
905
 
761
906
  tag.menu.max_levels: 2
@@ -773,6 +918,8 @@ shows how to set the option in the configuration file.
773
918
 
774
919
  * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
775
920
 
921
+ <%= show_default['tag.menu.show_current_subtree_only'] %>
922
+
776
923
  * Example for setting the option in the configuration file:
777
924
 
778
925
  tag.menu.show_current_subtree_only: false
@@ -810,6 +957,8 @@ shows how to set the option in the configuration file.
810
957
 
811
958
  * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
812
959
 
960
+ <%= show_default['tag.menu.nested'] %>
961
+
813
962
  * Example for setting the option in the configuration file:
814
963
 
815
964
  tag.menu.nested: false
@@ -826,6 +975,8 @@ shows how to set the option in the configuration file.
826
975
 
827
976
  * Syntax: `PATH` where `PATH` is a (localized) canonical name.
828
977
 
978
+ <%= show_default['tag.relocatable.path'] %>
979
+
829
980
  * Example for setting the option directly in a tag:
830
981
 
831
982
  <a href="\{relocatable: ../features.html}">Some Path</a>
@@ -839,6 +990,8 @@ shows how to set the option in the configuration file.
839
990
 
840
991
  * Syntax: `PATH` where `PATH` is a relative or absolute source path.
841
992
 
993
+ <%= show_default['tag.tikz.path'] %>
994
+
842
995
  * Example for setting the option directly in a tag:
843
996
 
844
997
  \{tikz:: images/tikz.png}\tikz \draw (0,0) -- (0,2);{tikz}
@@ -851,6 +1004,8 @@ shows how to set the option in the configuration file.
851
1004
 
852
1005
  * Syntax: `[NAME, ...]` where `NAME` is the name of a TikZ library.
853
1006
 
1007
+ <%= show_default['tag.tikz.libraries'] %>
1008
+
854
1009
  * Example for setting the option in the configuration file:
855
1010
 
856
1011
  tag.tikz.libraries: [mindmap, arrows]
@@ -868,6 +1023,8 @@ shows how to set the option in the configuration file.
868
1023
 
869
1024
  * Syntax: `OPTS` where `OPTS` is the string with the global options.
870
1025
 
1026
+ <%= show_default['tag.tikz.opts'] %>
1027
+
871
1028
  * Example for setting the option in the configuration file:
872
1029
 
873
1030
  tag.tikz.opts: 'scale=3, line cap=round'
@@ -884,11 +1041,13 @@ shows how to set the option in the configuration file.
884
1041
  Specifies the render and output resolutions that should be used to convert the TikZ image in PDF
885
1042
  format to the chosen image format. The first number specifies the render resolution and the
886
1043
  second one the output resolution. If the render resolution is higher than the output resolution,
887
- the final image quality is better but the image needs to scaled down to the output resolution.
1044
+ the final image quality is better but the image needs to be scaled down to the output resolution.
888
1045
 
889
1046
  * Syntax: `RENDER_RES OUTPUT_RES` where `RENDER_RES` is the integer specifying the render
890
1047
  resolution and `OUTPUT_RES` is the integer specifying the output resolution.
891
1048
 
1049
+ <%= show_default['tag.tikz.resolution'] %>
1050
+
892
1051
  * Example for setting the option in the configuration file:
893
1052
 
894
1053
  tag.tikz.resolution: 300 72
@@ -908,6 +1067,8 @@ shows how to set the option in the configuration file.
908
1067
 
909
1068
  * Syntax: `BOOLEAN` where `BOOLEAN` is either `true` or `false`.
910
1069
 
1070
+ <%= show_default['tag.tikz.transparent'] %>
1071
+
911
1072
  * Example for setting the option in the configuration file:
912
1073
 
913
1074
  tag.tikz.transparent: true
@@ -926,6 +1087,8 @@ shows how to set the option in the configuration file.
926
1087
  * Syntax: `\{KEY:VALUE, ...}` where `KEY` is a valid HTML `img` tag attribute name and `VALUE`
927
1088
  the to-be-set value.
928
1089
 
1090
+ <%= show_default['tag.tikz.img_attr'] %>
1091
+
929
1092
  * Example for setting the option in the configuration file:
930
1093
 
931
1094
  tag.tikz.img_attr: \{alt: Some TikZ picture}