Fossil SCM

add documentation for new TH1 command wiki_assoc

jkosche 2025-01-19 13:19 ticket-wiki
Commit 2f6a8564d5d5c4b6ab8c413ccd131aeca7336934f9ee5ba69639832709e4245b
1 file changed +12 -2
+12 -2
--- www/th1.md
+++ www/th1.md
@@ -227,10 +227,11 @@
227227
* [unversioned list](#unversioned_list)
228228
* [utime](#utime)
229229
* [verifyCsrf](#verifyCsrf)
230230
* [verifyLogin](#verifyLogin)
231231
* [wiki](#wiki)
232
+ * [wiki_assoc](#wiki_assoc)
232233
233234
Each of the commands above is documented by a block comment above their
234235
implementation in the th\_main.c or th\_tcl.c source files.
235236
236237
All commands starting with "tcl", with the exception of "tclReady",
@@ -271,11 +272,11 @@
271272
<a id="bireqjs"></a>TH1 builtin_request_js Command
272273
--------------------------------------------------
273274
274275
* builtin_request_js NAME
275276
276
-NAME must be the name of one of the
277
+NAME must be the name of one of the
277278
[built-in javascript source files](/dir?ci=trunk&type=flat&name=src&re=js$).
278279
This command causes that javascript file to be appended to the delivered
279280
document.
280281
281282
@@ -284,11 +285,11 @@
284285
-----------------------------------------------------
285286
286287
* capexpr CAPABILITY-EXPR
287288
288289
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).
290291
The overall expression is true if any
291292
one term is true. A single term is true if all letters within that
292293
term are true. Or, if the term begins with "!", then the term is true
293294
if none of the terms are true. Or, if the term begins with "@" then
294295
the term is true if all of the capability letters in that term are
@@ -861,10 +862,19 @@
861862
-----------------------------------
862863
863864
* wiki STRING
864865
865866
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.
866876
867877
Tcl Integration Commands
868878
------------------------
869879
870880
When the Tcl integration subsystem is enabled, several commands are added
871881
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button