Changeset 411
- Timestamp:
- 11/09/09 17:51:40 (14 years ago)
- Location:
- trunk/SRC/Documentation/xmldoc
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/xmldoc/linkwiki.sed
r351 r411 1 # module : 1 #+ 2 # 3 # module 4 # ====== 5 # 2 6 # replace html link in wiki link 3 7 # 4 # update : 8 # 9 # TODO 10 # ==== 11 # 12 # images 13 # 14 # EVOLUTIONS 15 # ========== 16 # 5 17 # $Id$ 6 18 # 19 # fplod 20091109T163549Z aedon.locean-ipsl.upmc.fr (Darwin) 20 # 21 # * usage instead of XSL command in saxo_tracwiki.xsl 22 # 23 #- 24 # 7 25 # href 8 s@ href=\"./all_plots.html@href=\"./AllPlots@g9 s@ href=\"./faqsaxo.html@href=\"./FaqSaxo@g10 s@ href=\"./firststeps.html@href=\"./FirstSteps@g11 s@ href=\"./getsaxo.html@href=\"./GetSaxo@g12 s@ href=\"./infoupdatecm.html@href=\"./InfoUpdateCm@g13 s@ href=\"./infoupdatekwd.html@href=\"./InfoUpdateKwd@g14 s@ href=\"./mailing.html@href="./Mailing@g15 s@ href=\"./mini_notice.html@href=\"./MiniNotice@g16 s@ href=\"./tiplink.html@href=\"./TipLink@g17 s@ href=\"./updatesaxo.html@href=\"./UpdateSaxo@g18 s@ href=\"./websaxo.html@href=\"./WikiStart@g19 s@ href=\"./whatissaxo.html@href=\"./WhatisSaxo@g20 s@ href=\"./whatsnew.html@href=\"./WhatsNew@g26 s@./all_plots.html@wiki:AllPlots@g 27 s@./faqsaxo.html@wiki:FaqSaxo@g 28 s@./firststeps.html@wiki:FirstSteps@g 29 s@./getsaxo.html@wiki:GetSaxo@g 30 s@./infoupdatecm.html@wiki:InfoUpdateCm@g 31 s@./infoupdatekwd.html@wiki:InfoUpdateKwd@g 32 s@./mailing.html@wiki:Mailing@g 33 s@./mini_notice.html@wiki:MiniNotice@g 34 s@./tiplink.html@wiki:TipLink@g 35 s@./updatesaxo.html@wiki:UpdateSaxo@g 36 s@./websaxo.html@wiki:WikiStart@g 37 s@./whatissaxo.html@wiki:WhatisSaxo@g 38 s@./whatsnew.html@wiki:WhatsNew@g 21 39 # 22 40 # src (attachment) -
trunk/SRC/Documentation/xmldoc/makefile
r410 r411 130 130 $(DIRWIKI)/WikiStart : \ 131 131 $(DIRTMP)/websaxo_full.xml \ 132 $(DIRSRC)/saxo_tracwiki.xsl 133 @xsltproc \ 134 --output ginette \ 135 $(DIRSRC)/saxo_tracwiki.xsl \ 136 $< 137 @xsltproc \ 138 $(DIRSRC)/saxo_tracwiki.xsl \ 139 $< | \ 132 $(DIRSRC)/saxo_tracwiki.xsl \ 133 $(DIRSRC)/linkwiki.sed 134 @xsltproc \ 135 $(DIRSRC)/saxo_tracwiki.xsl \ 136 $< | \ 137 sed -f $(DIRSRC)/linkwiki.sed | \ 140 138 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 141 139 sed -e "s+@star@+ *+" \ … … 167 165 $(DIRWIKI)/SvnBasicCommands : \ 168 166 $(DIRTMP)/svnbasiccommands_full.xml \ 169 $(DIRSRC)/saxo_tracwiki.xsl 170 @xsltproc \ 171 $(DIRSRC)/saxo_tracwiki.xsl \ 172 $< | \ 167 $(DIRSRC)/saxo_tracwiki.xsl \ 168 $(DIRSRC)/linkwiki.sed 169 @xsltproc \ 170 $(DIRSRC)/saxo_tracwiki.xsl \ 171 $< | \ 172 sed -f $(DIRSRC)/linkwiki.sed | \ 173 173 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 174 174 sed -e "s+@star@+*+" \ … … 200 200 $(DIRWIKI)/FaqSaxo : \ 201 201 $(DIRTMP)/faqsaxo_full.xml \ 202 $(DIRSRC)/saxo_tracwiki.xsl 203 @xsltproc \ 204 $(DIRSRC)/saxo_tracwiki.xsl \ 205 $< | \ 202 $(DIRSRC)/saxo_tracwiki.xsl \ 203 $(DIRSRC)/linkwiki.sed 204 @xsltproc \ 205 $(DIRSRC)/saxo_tracwiki.xsl \ 206 $< | \ 207 sed -f $(DIRSRC)/linkwiki.sed | \ 206 208 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 207 209 sed -e "s+@star@+*+" \ … … 233 235 $(DIRWIKI)/GetSaxo : \ 234 236 $(DIRTMP)/getsaxo_full.xml \ 235 $(DIRSRC)/saxo_tracwiki.xsl 236 @xsltproc \ 237 $(DIRSRC)/saxo_tracwiki.xsl \ 238 $< | \ 237 $(DIRSRC)/saxo_tracwiki.xsl \ 238 $(DIRSRC)/linkwiki.sed 239 @xsltproc \ 240 $(DIRSRC)/saxo_tracwiki.xsl \ 241 $< | \ 242 sed -f $(DIRSRC)/linkwiki.sed | \ 239 243 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 240 244 sed -e "s+@star@+*+" \ … … 271 275 $(DIRWIKI)/FirstSteps : \ 272 276 $(DIRTMP)/firststeps_full.xml \ 273 $(DIRSRC)/saxo_tracwiki.xsl 274 @xsltproc \ 275 $(DIRSRC)/saxo_tracwiki.xsl \ 276 $< | \ 277 $(DIRSRC)/saxo_tracwiki.xsl \ 278 $(DIRSRC)/linkwiki.sed 279 @xsltproc \ 280 $(DIRSRC)/saxo_tracwiki.xsl \ 281 $< | \ 282 sed -f $(DIRSRC)/linkwiki.sed | \ 277 283 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 278 284 sed -e "s+@star@+*+" \ … … 295 301 $(DIRWIKI)/AllPlots : \ 296 302 $(DIRTMP)/all_plots.xml \ 297 $(DIRSRC)/saxo_tracwiki.xsl 298 @xsltproc \ 299 $(DIRSRC)/saxo_tracwiki.xsl \ 300 $< | \ 303 $(DIRSRC)/saxo_tracwiki.xsl \ 304 $(DIRSRC)/linkwiki.sed 305 @xsltproc \ 306 $(DIRSRC)/saxo_tracwiki.xsl \ 307 $< | \ 308 sed -f $(DIRSRC)/linkwiki.sed | \ 301 309 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 302 310 sed -e "s+@star@+*+" \ … … 342 350 $(DIRWIKI)/Mailing : \ 343 351 $(DIRTMP)/mailing_full.xml \ 344 $(DIRSRC)/saxo_tracwiki.xsl 345 @xsltproc \ 346 $(DIRSRC)/saxo_tracwiki.xsl \ 347 $< | \ 352 $(DIRSRC)/saxo_tracwiki.xsl \ 353 $(DIRSRC)/linkwiki.sed 354 @xsltproc \ 355 $(DIRSRC)/saxo_tracwiki.xsl \ 356 $< | \ 357 sed -f $(DIRSRC)/linkwiki.sed | \ 348 358 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 349 359 sed -e "s+@star@+*+" \ … … 375 385 $(DIRWIKI)/MiniNotice : \ 376 386 $(DIRTMP)/mini_notice_full.xml \ 377 $(DIRSRC)/saxo_tracwiki.xsl 378 @xsltproc \ 379 $(DIRSRC)/saxo_tracwiki.xsl \ 380 $< | \ 387 $(DIRSRC)/saxo_tracwiki.xsl \ 388 $(DIRSRC)/linkwiki.sed 389 @xsltproc \ 390 $(DIRSRC)/saxo_tracwiki.xsl \ 391 $< | \ 392 sed -f $(DIRSRC)/linkwiki.sed | \ 381 393 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 382 394 sed -e "s+@star@+*+" \ … … 410 422 $(DIRWIKI)/TipLink : \ 411 423 $(DIRTMP)/tiplink_full.xml \ 412 $(DIRSRC)/saxo_tracwiki.xsl 413 @xsltproc \ 414 $(DIRSRC)/saxo_tracwiki.xsl \ 415 $< | \ 424 $(DIRSRC)/saxo_tracwiki.xsl \ 425 $(DIRSRC)/linkwiki.sed 426 @xsltproc \ 427 $(DIRSRC)/saxo_tracwiki.xsl \ 428 $< | \ 429 sed -f $(DIRSRC)/linkwiki.sed | \ 416 430 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 417 431 sed -e "s+@star@+*+" \ … … 443 457 $(DIRWIKI)/InfoUpdateCm : \ 444 458 $(DIRTMP)/infoupdatecm_full.xml \ 445 $(DIRSRC)/saxo_tracwiki.xsl 446 @xsltproc \ 447 $(DIRSRC)/saxo_tracwiki.xsl \ 448 $< | \ 459 $(DIRSRC)/saxo_tracwiki.xsl \ 460 $(DIRSRC)/linkwiki.sed 461 @xsltproc \ 462 $(DIRSRC)/saxo_tracwiki.xsl \ 463 $< | \ 464 sed -f $(DIRSRC)/linkwiki.sed | \ 449 465 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 450 466 sed -e "s+@star@+*+" \ … … 477 493 $(DIRWIKI)/InfoUpdateKwd : \ 478 494 $(DIRTMP)/infoupdatekwd_full.xml \ 479 $(DIRSRC)/saxo_tracwiki.xsl 480 @xsltproc \ 481 $(DIRSRC)/saxo_tracwiki.xsl \ 482 $< | \ 495 $(DIRSRC)/saxo_tracwiki.xsl \ 496 $(DIRSRC)/linkwiki.sed 497 @xsltproc \ 498 $(DIRSRC)/saxo_tracwiki.xsl \ 499 $< | \ 500 sed -f $(DIRSRC)/linkwiki.sed | \ 483 501 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 484 502 sed -e "s+@star@+*+" \ … … 528 546 $(DIRWIKI)/WhatisSaxo : \ 529 547 $(DIRTMP)/whatissaxo_full.xml \ 530 $(DIRSRC)/saxo_tracwiki.xsl 531 @xsltproc \ 532 $(DIRSRC)/saxo_tracwiki.xsl \ 533 $< | \ 548 $(DIRSRC)/saxo_tracwiki.xsl \ 549 $(DIRSRC)/linkwiki.sed 550 @xsltproc \ 551 $(DIRSRC)/saxo_tracwiki.xsl \ 552 $< | \ 553 sed -f $(DIRSRC)/linkwiki.sed | \ 534 554 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 535 555 sed -e "s+@star@+*+" \ … … 561 581 $(DIRWIKI)/WhatsNew : \ 562 582 $(DIRTMP)/whatsnew_full.xml \ 563 $(DIRSRC)/saxo_tracwiki.xsl 564 @xsltproc \ 565 $(DIRSRC)/saxo_tracwiki.xsl \ 566 $< | \ 583 $(DIRSRC)/saxo_tracwiki.xsl \ 584 $(DIRSRC)/linkwiki.sed 585 @xsltproc \ 586 $(DIRSRC)/saxo_tracwiki.xsl \ 587 $< | \ 588 sed -f $(DIRSRC)/linkwiki.sed | \ 567 589 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 568 590 sed -e "s+@star@+*+" \ … … 594 616 $(DIRWIKI)/UpdateSaxo : \ 595 617 $(DIRTMP)/updatesaxo_full.xml \ 596 $(DIRSRC)/saxo_tracwiki.xsl 597 @xsltproc \ 598 $(DIRSRC)/saxo_tracwiki.xsl \ 599 $< | \ 618 $(DIRSRC)/saxo_tracwiki.xsl \ 619 $(DIRSRC)/linkwiki.sed 620 @xsltproc \ 621 $(DIRSRC)/saxo_tracwiki.xsl \ 622 $< | \ 623 sed -f $(DIRSRC)/linkwiki.sed | \ 600 624 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 601 625 sed -e "s+@star@+*+" \ -
trunk/SRC/Documentation/xmldoc/savesaxo.sh
r382 r411 214 214 then 215 215 # 216 # redo the htmlfiles216 # redo the HTML files 217 217 # 218 218 cd ${memopwd} … … 224 224 then 225 225 # 226 # redo the htmlfiles226 # redo the WIKI files 227 227 # 228 228 cd ${memopwd} -
trunk/SRC/Documentation/xmldoc/saxo_tracwiki.xsl
r376 r411 7 7 version="1.0"> 8 8 <!-- 9 module : 9 10 module 11 ====== 12 10 13 transformation docbook en un tracwiki 11 14 12 original location : 13 /Users/fplod/SAXO_DIR_ws/SRC/Documentation/xmldoc/saxo_trackwiki.xsl sur aedon.locean-ipsl.upmc.fr 14 15 must be followed by awk -f saxo_trackwiki.awk 15 CAUTIONS 16 ======== 17 18 must be followed by : 19 awk -f saxo_trackwiki.awk 20 16 21 because I did not yet correctly handle "* text" (with no linefeed) 17 22 18 update : 23 24 and 25 26 sed -f linkwiki.sed 27 28 TODO 29 ==== 30 31 ++ voir http://trac-hacks.org/wiki/XsltMacro 32 33 ++ add menu tags menuchoice, gui*, shortcut, keycombo, etc. 34 35 ++ revoir lien idldoc trop lié à SAXO 36 37 EVOLUTIONS 38 ========== 39 19 40 $Id$ 20 ++ voir http://trac-hacks.org/wiki/XsltMacro 21 ++ add menu tags menuchoice, gui*, shortcut, keycombo, etc. 41 42 - fplod 20091109T164603Z aedon.locean-ipsl.upmc.fr (Darwin) 43 44 * remove wiki link transformations (see linkwiki.sed) 45 to be usable within other IDL toolbox like POST_IT 46 22 47 fplod 2008-08-06T09:38:26Z aedon.locean-ipsl.upmc.fr (Darwin) 23 48 add qanda tags (see ugly http://forge.ipsl.jussieu.fr/saxo/wiki/FaqSaxo … … 221 246 <xsl:template match="d:itemizedlist/d:listitem/d:simpara/d:link[@xl:href]"> 222 247 <xsl:text>
</xsl:text> 223 <xsl:text> [</xsl:text><xsl:value-of select="@xl:href"/> <xsl:text> </xsl:text><xsl:value-of select="."/><xsl:text>]</xsl:text>248 <xsl:text> [</xsl:text><xsl:value-of select="@xl:href"/> <xsl:text>AAA </xsl:text><xsl:value-of select="."/><xsl:text>]</xsl:text> 224 249 </xsl:template> 225 250 … … 231 256 <xsl:template match="d:variablelist/d:varlistentry/d:listitem/d:simpara/d:link[@xl:href]"> 232 257 <xsl:text>
</xsl:text> 233 <xsl:text> [</xsl:text><xsl:value-of select="@xl:href"/> <xsl:text> </xsl:text><xsl:value-of select="."/><xsl:text>]</xsl:text>258 <xsl:text> [</xsl:text><xsl:value-of select="@xl:href"/> <xsl:text>BBB </xsl:text><xsl:value-of select="."/><xsl:text>]</xsl:text> 234 259 </xsl:template> 235 260 … … 252 277 <xsl:template match="d:link[@xl:href]"> 253 278 <xsl:variable name="link"> 254 <xsl:choose> 255 <xsl:when test="contains(@xl:href,'firststeps.html')"> 256 <xsl:text>wiki:FirstSteps</xsl:text> 257 </xsl:when> 258 <xsl:when test="contains(@xl:href,'all_plots.html')"> 259 <xsl:text>wiki:AllPlots</xsl:text> 260 </xsl:when> 261 <xsl:when test="contains(@xl:href,'faqsaxo.html')"> 262 <xsl:text>wiki:FaqSaxo</xsl:text> 263 </xsl:when> 264 <xsl:when test="contains(@xl:href,'getsaxo.html')"> 265 <xsl:text>wiki:GetSaxo</xsl:text> 266 </xsl:when> 267 <xsl:when test="contains(@xl:href,'infoupdatecm.html')"> 268 <xsl:text>wiki:InfoUpdateCm</xsl:text> 269 </xsl:when> 270 <xsl:when test="contains(@xl:href,'infoupdatekwd.html')"> 271 <xsl:text>wiki:InfoUpdateKwd</xsl:text> 272 </xsl:when> 273 <xsl:when test="contains(@xl:href,'mailing.html')"> 274 <xsl:text>wiki:Mailing</xsl:text> 275 </xsl:when> 276 <xsl:when test="contains(@xl:href,'mini_notice.html')"> 277 <xsl:text>wiki:MiniNotice</xsl:text> 278 </xsl:when> 279 <xsl:when test="contains(@xl:href,'tiplink.html')"> 280 <xsl:text>wiki:TipLink</xsl:text> 281 </xsl:when> 282 <xsl:when test="contains(@xl:href,'updatesaxo.html')"> 283 <xsl:text>wiki:UpdateSaxo</xsl:text> 284 </xsl:when> 285 <xsl:when test="contains(@xl:href,'whatissaxo.html')"> 286 <xsl:text>wiki:WhatisSaxo</xsl:text> 287 </xsl:when> 288 <xsl:when test="contains(@xl:href,'whatsnew.html')"> 289 <xsl:text>wiki:WhatsNew</xsl:text> 290 </xsl:when> 291 <xsl:when test="contains(@xl:href,'websaxo.html')"> 292 <xsl:text>wiki:WikiStart</xsl:text> 293 </xsl:when> 279 <xsl:choose> 294 280 <xsl:when test="contains(@xl:href,'../../')"> 295 281 <xsl:text>source:/trunk/SRC/</xsl:text><xsl:value-of select="substring-after(@xl:href,'../../')"/> … … 317 303 318 304 <xsl:template match="d:email"> 319 <xsl:text>[mailto:</xsl:text><xsl:value-of select="."/> <xsl:text> </xsl:text><xsl:value-of select="."/> <xsl:text>]</xsl:text>305 <xsl:text>[mailto:</xsl:text><xsl:value-of select="."/> <xsl:text>DDD </xsl:text><xsl:value-of select="."/> <xsl:text>]</xsl:text> 320 306 </xsl:template> 321 307
Note: See TracChangeset
for help on using the changeset viewer.