Fossil SCM
add documentation for new TH1 command wiki_assoc
Commit
2f6a8564d5d5c4b6ab8c413ccd131aeca7336934f9ee5ba69639832709e4245b
Parent
96ac36dfbd2b81d…
1 file changed
+12
-2
+12
-2
| --- www/th1.md | ||
| +++ www/th1.md | ||
| @@ -227,10 +227,11 @@ | ||
| 227 | 227 | * [unversioned list](#unversioned_list) |
| 228 | 228 | * [utime](#utime) |
| 229 | 229 | * [verifyCsrf](#verifyCsrf) |
| 230 | 230 | * [verifyLogin](#verifyLogin) |
| 231 | 231 | * [wiki](#wiki) |
| 232 | + * [wiki_assoc](#wiki_assoc) | |
| 232 | 233 | |
| 233 | 234 | Each of the commands above is documented by a block comment above their |
| 234 | 235 | implementation in the th\_main.c or th\_tcl.c source files. |
| 235 | 236 | |
| 236 | 237 | All commands starting with "tcl", with the exception of "tclReady", |
| @@ -271,11 +272,11 @@ | ||
| 271 | 272 | <a id="bireqjs"></a>TH1 builtin_request_js Command |
| 272 | 273 | -------------------------------------------------- |
| 273 | 274 | |
| 274 | 275 | * builtin_request_js NAME |
| 275 | 276 | |
| 276 | -NAME must be the name of one of the | |
| 277 | +NAME must be the name of one of the | |
| 277 | 278 | [built-in javascript source files](/dir?ci=trunk&type=flat&name=src&re=js$). |
| 278 | 279 | This command causes that javascript file to be appended to the delivered |
| 279 | 280 | document. |
| 280 | 281 | |
| 281 | 282 | |
| @@ -284,11 +285,11 @@ | ||
| 284 | 285 | ----------------------------------------------------- |
| 285 | 286 | |
| 286 | 287 | * capexpr CAPABILITY-EXPR |
| 287 | 288 | |
| 288 | 289 | The capability expression is a list. Each term of the list is a |
| 289 | -cluster of [capability letters](./caps/ref.html). | |
| 290 | +cluster of [capability letters](./caps/ref.html). | |
| 290 | 291 | The overall expression is true if any |
| 291 | 292 | one term is true. A single term is true if all letters within that |
| 292 | 293 | term are true. Or, if the term begins with "!", then the term is true |
| 293 | 294 | if none of the terms are true. Or, if the term begins with "@" then |
| 294 | 295 | the term is true if all of the capability letters in that term are |
| @@ -861,10 +862,19 @@ | ||
| 861 | 862 | ----------------------------------- |
| 862 | 863 | |
| 863 | 864 | * wiki STRING |
| 864 | 865 | |
| 865 | 866 | Renders STRING as wiki content. |
| 867 | + | |
| 868 | +<a id="wiki_assoc"></a>TH1 wiki_assoc Command | |
| 869 | +----------------------------------- | |
| 870 | + | |
| 871 | + * wiki_assoc STRING STRING | |
| 872 | + | |
| 873 | +Renders the special wiki. The first string refers to the namespace | |
| 874 | +(checkin, branch, tag, ticket). The second string specifies the | |
| 875 | +concrete wiki page to be rendered. | |
| 866 | 876 | |
| 867 | 877 | Tcl Integration Commands |
| 868 | 878 | ------------------------ |
| 869 | 879 | |
| 870 | 880 | When the Tcl integration subsystem is enabled, several commands are added |
| 871 | 881 |
| --- www/th1.md | |
| +++ www/th1.md | |
| @@ -227,10 +227,11 @@ | |
| 227 | * [unversioned list](#unversioned_list) |
| 228 | * [utime](#utime) |
| 229 | * [verifyCsrf](#verifyCsrf) |
| 230 | * [verifyLogin](#verifyLogin) |
| 231 | * [wiki](#wiki) |
| 232 | |
| 233 | Each of the commands above is documented by a block comment above their |
| 234 | implementation in the th\_main.c or th\_tcl.c source files. |
| 235 | |
| 236 | All commands starting with "tcl", with the exception of "tclReady", |
| @@ -271,11 +272,11 @@ | |
| 271 | <a id="bireqjs"></a>TH1 builtin_request_js Command |
| 272 | -------------------------------------------------- |
| 273 | |
| 274 | * builtin_request_js NAME |
| 275 | |
| 276 | NAME must be the name of one of the |
| 277 | [built-in javascript source files](/dir?ci=trunk&type=flat&name=src&re=js$). |
| 278 | This command causes that javascript file to be appended to the delivered |
| 279 | document. |
| 280 | |
| 281 | |
| @@ -284,11 +285,11 @@ | |
| 284 | ----------------------------------------------------- |
| 285 | |
| 286 | * capexpr CAPABILITY-EXPR |
| 287 | |
| 288 | The capability expression is a list. Each term of the list is a |
| 289 | cluster of [capability letters](./caps/ref.html). |
| 290 | The overall expression is true if any |
| 291 | one term is true. A single term is true if all letters within that |
| 292 | term are true. Or, if the term begins with "!", then the term is true |
| 293 | if none of the terms are true. Or, if the term begins with "@" then |
| 294 | the term is true if all of the capability letters in that term are |
| @@ -861,10 +862,19 @@ | |
| 861 | ----------------------------------- |
| 862 | |
| 863 | * wiki STRING |
| 864 | |
| 865 | Renders STRING as wiki content. |
| 866 | |
| 867 | Tcl Integration Commands |
| 868 | ------------------------ |
| 869 | |
| 870 | When the Tcl integration subsystem is enabled, several commands are added |
| 871 |
| --- www/th1.md | |
| +++ www/th1.md | |
| @@ -227,10 +227,11 @@ | |
| 227 | * [unversioned list](#unversioned_list) |
| 228 | * [utime](#utime) |
| 229 | * [verifyCsrf](#verifyCsrf) |
| 230 | * [verifyLogin](#verifyLogin) |
| 231 | * [wiki](#wiki) |
| 232 | * [wiki_assoc](#wiki_assoc) |
| 233 | |
| 234 | Each of the commands above is documented by a block comment above their |
| 235 | implementation in the th\_main.c or th\_tcl.c source files. |
| 236 | |
| 237 | All commands starting with "tcl", with the exception of "tclReady", |
| @@ -271,11 +272,11 @@ | |
| 272 | <a id="bireqjs"></a>TH1 builtin_request_js Command |
| 273 | -------------------------------------------------- |
| 274 | |
| 275 | * builtin_request_js NAME |
| 276 | |
| 277 | NAME must be the name of one of the |
| 278 | [built-in javascript source files](/dir?ci=trunk&type=flat&name=src&re=js$). |
| 279 | This command causes that javascript file to be appended to the delivered |
| 280 | document. |
| 281 | |
| 282 | |
| @@ -284,11 +285,11 @@ | |
| 285 | ----------------------------------------------------- |
| 286 | |
| 287 | * capexpr CAPABILITY-EXPR |
| 288 | |
| 289 | The capability expression is a list. Each term of the list is a |
| 290 | cluster of [capability letters](./caps/ref.html). |
| 291 | The overall expression is true if any |
| 292 | one term is true. A single term is true if all letters within that |
| 293 | term are true. Or, if the term begins with "!", then the term is true |
| 294 | if none of the terms are true. Or, if the term begins with "@" then |
| 295 | the term is true if all of the capability letters in that term are |
| @@ -861,10 +862,19 @@ | |
| 862 | ----------------------------------- |
| 863 | |
| 864 | * wiki STRING |
| 865 | |
| 866 | Renders STRING as wiki content. |
| 867 | |
| 868 | <a id="wiki_assoc"></a>TH1 wiki_assoc Command |
| 869 | ----------------------------------- |
| 870 | |
| 871 | * wiki_assoc STRING STRING |
| 872 | |
| 873 | Renders the special wiki. The first string refers to the namespace |
| 874 | (checkin, branch, tag, ticket). The second string specifies the |
| 875 | concrete wiki page to be rendered. |
| 876 | |
| 877 | Tcl Integration Commands |
| 878 | ------------------------ |
| 879 | |
| 880 | When the Tcl integration subsystem is enabled, several commands are added |
| 881 |