Fossil SCM
adding help cross references
Commit
c880f0920fc9cec9639de51bb24fadf1b93768f8
Parent
c3bf3c0c6370005…
4 files changed
+1
-1
+9
-3
+1
-1
+2
-1
+1
-1
| --- src/event.c | ||
| +++ src/event.c | ||
| @@ -435,7 +435,7 @@ | ||
| 435 | 435 | @ <input type="submit" name="preview" value="Preview Your Changes" /> |
| 436 | 436 | @ <input type="submit" name="submit" value="Apply These Changes" /> |
| 437 | 437 | @ <input type="submit" name="cancel" value="Cancel" /> |
| 438 | 438 | @ </td></tr></table> |
| 439 | 439 | @ </div></form> |
| 440 | - style_footer(); | |
| 440 | + style_footer_cmdref(0,"<a href=\"wiki_rules\">wiki format</a>"); | |
| 441 | 441 | } |
| 442 | 442 |
| --- src/event.c | |
| +++ src/event.c | |
| @@ -435,7 +435,7 @@ | |
| 435 | @ <input type="submit" name="preview" value="Preview Your Changes" /> |
| 436 | @ <input type="submit" name="submit" value="Apply These Changes" /> |
| 437 | @ <input type="submit" name="cancel" value="Cancel" /> |
| 438 | @ </td></tr></table> |
| 439 | @ </div></form> |
| 440 | style_footer(); |
| 441 | } |
| 442 |
| --- src/event.c | |
| +++ src/event.c | |
| @@ -435,7 +435,7 @@ | |
| 435 | @ <input type="submit" name="preview" value="Preview Your Changes" /> |
| 436 | @ <input type="submit" name="submit" value="Apply These Changes" /> |
| 437 | @ <input type="submit" name="cancel" value="Cancel" /> |
| 438 | @ </td></tr></table> |
| 439 | @ </div></form> |
| 440 | style_footer_cmdref(0,"<a href=\"wiki_rules\">wiki format</a>"); |
| 441 | } |
| 442 |
+9
-3
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -119,13 +119,19 @@ | ||
| 119 | 119 | |
| 120 | 120 | /* |
| 121 | 121 | ** append a reference to command line to a web page |
| 122 | 122 | ** and generate the footer |
| 123 | 123 | */ |
| 124 | -void style_footer_cmdref( const char * const zCmd, const char * const zSubCmd ){ | |
| 125 | - @ <div class="cmdref">See also command line help: | |
| 126 | - @ <a href="help?cmd=%s(zCmd)">%s(zCmd)</a> %s(zSubCmd?zSubCmd:"") | |
| 124 | +void style_footer_cmdref( const char * const zCmd, const char * const zAddOn ){ | |
| 125 | + @ <div class="cmdref"> | |
| 126 | + if( zCmd ){ | |
| 127 | + @ See also command line help: | |
| 128 | + @ <a href="help?cmd=%s(zCmd)">%s(zCmd)</a> | |
| 129 | + } | |
| 130 | + if( zAddOn ){ | |
| 131 | + @ %s(zAddOn) | |
| 132 | + } | |
| 127 | 133 | @ </div> |
| 128 | 134 | style_footer(); |
| 129 | 135 | } |
| 130 | 136 | |
| 131 | 137 | /* |
| 132 | 138 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -119,13 +119,19 @@ | |
| 119 | |
| 120 | /* |
| 121 | ** append a reference to command line to a web page |
| 122 | ** and generate the footer |
| 123 | */ |
| 124 | void style_footer_cmdref( const char * const zCmd, const char * const zSubCmd ){ |
| 125 | @ <div class="cmdref">See also command line help: |
| 126 | @ <a href="help?cmd=%s(zCmd)">%s(zCmd)</a> %s(zSubCmd?zSubCmd:"") |
| 127 | @ </div> |
| 128 | style_footer(); |
| 129 | } |
| 130 | |
| 131 | /* |
| 132 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -119,13 +119,19 @@ | |
| 119 | |
| 120 | /* |
| 121 | ** append a reference to command line to a web page |
| 122 | ** and generate the footer |
| 123 | */ |
| 124 | void style_footer_cmdref( const char * const zCmd, const char * const zAddOn ){ |
| 125 | @ <div class="cmdref"> |
| 126 | if( zCmd ){ |
| 127 | @ See also command line help: |
| 128 | @ <a href="help?cmd=%s(zCmd)">%s(zCmd)</a> |
| 129 | } |
| 130 | if( zAddOn ){ |
| 131 | @ %s(zAddOn) |
| 132 | } |
| 133 | @ </div> |
| 134 | style_footer(); |
| 135 | } |
| 136 | |
| 137 | /* |
| 138 |
+1
-1
| --- src/wiki.c | ||
| +++ src/wiki.c | ||
| @@ -384,11 +384,11 @@ | ||
| 384 | 384 | @ <input type="submit" name="cancel" value="Cancel" /> |
| 385 | 385 | @ </div></form> |
| 386 | 386 | if( !isSandbox ){ |
| 387 | 387 | manifest_clear(&m); |
| 388 | 388 | } |
| 389 | - style_footer_cmdref("wiki",0); | |
| 389 | + style_footer_cmdref("wiki"," / <a href=\"wiki_rules\">wiki format</a>"); | |
| 390 | 390 | } |
| 391 | 391 | |
| 392 | 392 | /* |
| 393 | 393 | ** WEBPAGE: wikinew |
| 394 | 394 | ** URL /wikinew |
| 395 | 395 |
| --- src/wiki.c | |
| +++ src/wiki.c | |
| @@ -384,11 +384,11 @@ | |
| 384 | @ <input type="submit" name="cancel" value="Cancel" /> |
| 385 | @ </div></form> |
| 386 | if( !isSandbox ){ |
| 387 | manifest_clear(&m); |
| 388 | } |
| 389 | style_footer_cmdref("wiki",0); |
| 390 | } |
| 391 | |
| 392 | /* |
| 393 | ** WEBPAGE: wikinew |
| 394 | ** URL /wikinew |
| 395 |
| --- src/wiki.c | |
| +++ src/wiki.c | |
| @@ -384,11 +384,11 @@ | |
| 384 | @ <input type="submit" name="cancel" value="Cancel" /> |
| 385 | @ </div></form> |
| 386 | if( !isSandbox ){ |
| 387 | manifest_clear(&m); |
| 388 | } |
| 389 | style_footer_cmdref("wiki"," / <a href=\"wiki_rules\">wiki format</a>"); |
| 390 | } |
| 391 | |
| 392 | /* |
| 393 | ** WEBPAGE: wikinew |
| 394 | ** URL /wikinew |
| 395 |
+2
-1
| --- www/index.wiki | ||
| +++ www/index.wiki | ||
| @@ -123,11 +123,12 @@ | ||
| 123 | 123 | * [./stats.wiki | Performance statistics] taken from real-world projects |
| 124 | 124 | hosted on fossil. |
| 125 | 125 | * How to [./shunning.wiki | delete content] from a fossil repository. |
| 126 | 126 | * How Fossil does [./password.wiki | password management]. |
| 127 | 127 | * Some (unfinished but expanding) extended |
| 128 | - [./reference.wiki | reference documentation] for the fossil command line. | |
| 128 | + [./reference.wiki | reference documentation] for the fossil | |
| 129 | + [/help|command line]. | |
| 129 | 130 | * Documentation on the |
| 130 | 131 | [http://www.sqliteconcepts.org/THManual.pdf | TH1 Script Language] used |
| 131 | 132 | to configure the ticketing subsystem. |
| 132 | 133 | * A free hosting server for Fossil repositories is available at |
| 133 | 134 | [http://chiselapp.com/]. |
| 134 | 135 |
| --- www/index.wiki | |
| +++ www/index.wiki | |
| @@ -123,11 +123,12 @@ | |
| 123 | * [./stats.wiki | Performance statistics] taken from real-world projects |
| 124 | hosted on fossil. |
| 125 | * How to [./shunning.wiki | delete content] from a fossil repository. |
| 126 | * How Fossil does [./password.wiki | password management]. |
| 127 | * Some (unfinished but expanding) extended |
| 128 | [./reference.wiki | reference documentation] for the fossil command line. |
| 129 | * Documentation on the |
| 130 | [http://www.sqliteconcepts.org/THManual.pdf | TH1 Script Language] used |
| 131 | to configure the ticketing subsystem. |
| 132 | * A free hosting server for Fossil repositories is available at |
| 133 | [http://chiselapp.com/]. |
| 134 |
| --- www/index.wiki | |
| +++ www/index.wiki | |
| @@ -123,11 +123,12 @@ | |
| 123 | * [./stats.wiki | Performance statistics] taken from real-world projects |
| 124 | hosted on fossil. |
| 125 | * How to [./shunning.wiki | delete content] from a fossil repository. |
| 126 | * How Fossil does [./password.wiki | password management]. |
| 127 | * Some (unfinished but expanding) extended |
| 128 | [./reference.wiki | reference documentation] for the fossil |
| 129 | [/help|command line]. |
| 130 | * Documentation on the |
| 131 | [http://www.sqliteconcepts.org/THManual.pdf | TH1 Script Language] used |
| 132 | to configure the ticketing subsystem. |
| 133 | * A free hosting server for Fossil repositories is available at |
| 134 | [http://chiselapp.com/]. |
| 135 |