Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Minor simplification to the previous check-in. Also, correct a comment. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | vtabDocComments |
Files: | files | file ages | folders |
SHA1: |
fcc756f8d0d80e9e817e9d65a4fee988 |
User & Date: | mistachkin 2015-10-18 20:11:24.752 |
Context
2015-10-18
| ||
20:28 | Update and improve documentation comments for the native virtual table methods. check-in: 2c6bdf20ea user: mistachkin tags: trunk | |
20:11 | Minor simplification to the previous check-in. Also, correct a comment. Closed-Leaf check-in: fcc756f8d0 user: mistachkin tags: vtabDocComments | |
20:07 | Preserve selected HTML tags when processing the virtual table methods documentation into the CHM file. check-in: 42512a2bfb user: mistachkin tags: vtabDocComments | |
Changes
Changes to Doc/buildChm.tcl.
︙ | ︙ | |||
64 65 66 67 68 69 70 | # NOTE: If requested by the caller, unwrap all content contained with XML # CDATA sections as well. # if {$cdata} then { # # NOTE: Grab everything within the CDATA tags and use verbatim. # | | < < < < < < | | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | # NOTE: If requested by the caller, unwrap all content contained with XML # CDATA sections as well. # if {$cdata} then { # # NOTE: Grab everything within the CDATA tags and use verbatim. # incr count [regsub -all -- {<![CDATA[(.*?)]]>} $data {\1} data] } # # TODO: Handle all the HTML tags we know may be present in the virtual # table method documentation. This may need adjustments in the # future. # foreach to [list \ {<b>} {</b>} {<br>} {<dd>} {</dd>} {<dl>} {</dl>} {<dt>} \ {</dt>} {<li>} {</li>} {<ol>} {</ol>} {<tt>} {</tt>} \ {<ul>} {</ul>}] { # # NOTE: Figure out the escaped form of this tag and then replace it # with the unescaped form. # set from [string map [list < <\; > >\;] $to] incr count [regsub -all -- $from $data $to data] } # # NOTE: Issue a warning if the HTML tag patterns were not matched. # if {$count == 0} then { puts stdout "*WARNING* File \"$fileName\" has no supported HTML tags" } # # NOTE: If some replacements were performed on the data from the file, |
︙ | ︙ |