Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix a bug in NDoc3 that prevented external links from working correctly for the built-in return types and parameter types in the built CHM file. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
ce3e0bd842f1fb812bd04bfdf9faa0b1 |
User & Date: | mistachkin 2013-09-18 08:14:39.469 |
Context
2013-09-18
| ||
08:18 | Add original NDoc3 source files. check-in: fb8f175216 user: mistachkin tags: trunk | |
08:14 | Fix a bug in NDoc3 that prevented external links from working correctly for the built-in return types and parameter types in the built CHM file. check-in: ce3e0bd842 user: mistachkin tags: trunk | |
08:11 | Add missing comments for the new attribute classes. check-in: b434e4278d user: mistachkin tags: trunk | |
Changes
Changes to Doc/buildChm.tcl.
︙ | |||
29 30 31 32 33 34 35 | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 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 | + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - + - - + + | proc readFileAsSubSpec { fileName } { set data [readFile $fileName] regsub -all -- {&} $data {\\\&} data regsub -all -- {\\(\d+)} $data {\\\\\1} data return $data } proc getFileHash { fileName } { if {[catch { exec fossil.exe sha1sum [file nativename $fileName] } result] == 0} then { return [string trim [lindex [split $result " "] 0]] } return "" } # # HACK: Copy our local [fixed] copy of the MSDN documenter assembly into the # installed location of NDoc3, if necessary. Actually copying the file # will require elevated administrator privileges; otherwise, it would # fail. Any errors encountered while copying the file are reported via # the console; however, they will not halt processing. # proc copyMsdnDocumenter { sourceDirectory destinationDirectory } { set fileNameOnly NDoc3.Documenter.Msdn.dll set sourceFileName [file join $sourceDirectory bin $fileNameOnly] set destinationFileName [file join $destinationDirectory bin $fileNameOnly] set sourceFileHash [getFileHash $sourceFileName] # puts stdout "Hashed \"$sourceFileName\" ==> \"$sourceFileHash\"" set destinationFileHash [getFileHash $destinationFileName] # puts stdout "Hashed \"$destinationFileName\" ==> \"$destinationFileHash\"" if {[string length $sourceFileHash] > 0 && \ [string length $destinationFileHash] > 0 && \ $sourceFileHash ne $destinationFileHash} then { if {[catch { file copy -force $destinationFileName $destinationFileName.bak file copy -force $sourceFileName $destinationFileName } result] == 0} then { puts stdout \ "finished copying \"$sourceFileName\" to \"$destinationFileName\"" } else { puts stdout $result } } else { puts stdout \ "skipped copying \"$sourceFileName\" to \"$destinationFileName\"" } } |
︙ | |||
93 94 95 96 97 98 99 | 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 | - + + + + + + - + - + | puts stdout "*WARNING* File \"$xmlDocFile\" does not match: $pattern" } # # TODO: If the NDoc version number ever changes, the next line of code will # probably need to be updated. # |
︙ | |||
150 151 152 153 154 155 156 | 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 | - + | set subSpecs(.html,4) {"\1~Overloads.html"} set subSpecs(.html,5) {"\1~Overloads.html"} set subSpecs(.html,6) {"\1~Overloads.html"} set subSpecs(.html,7) {"\1~Overloads.html"} set subSpecs(.html,8) {"\1~Overloads.html"} foreach fileName $fileNames { |
︙ | |||
200 201 202 203 204 205 206 | 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 | - + - + | # if {$count > 0} then { writeFile $fileName $data } } set code [catch {exec [file join $hhcPath hhc.exe] \ |
Added Externals/NDoc3/bin/NDoc3.Documenter.Msdn.dll.
cannot compute difference between binary files
Added Externals/NDoc3/src/MsdnDocumenter.cs.