Fossil SCM

Add example of creating technote from the commandline

danshearer 2021-03-15 13:14 trunk
Commit a498b132b25ca7f95d4d75fc0f6a4dab660df06b11cc23db17da6cffbbfc07d9
1 file changed +13
--- www/event.wiki
+++ www/event.wiki
@@ -64,10 +64,23 @@
6464
6565
There is a hyperlink under the /wikihelp menu that can be used to create
6666
new technotes. And there is a submenu hyperlink on technote displays for
6767
editing existing technotes.
6868
69
+Technotes can also be created using the <b>wiki create</b> command:
70
+
71
+<blockquote>
72
+<b>
73
+fossil wiki create TestTechnote -t now --technote-bgcolor lightgreen technote.md<br>
74
+<tt>Created new tech note 2021-03-15 13:05:56</tt><br>
75
+</b>
76
+</blockquote>
77
+
78
+This command inserts a light green technote in the timeline at 2021-03-15 13:05:56, with
79
+the contents of file <b>technote.md</b> and comment "TestTechnote". Specifying a different time using
80
+<b>-t DATETIME</b> will insert the technote at the specified place in the timeline.
81
+
6982
Users must have check-in privileges (permission "i") in order to
7083
create or edit technotes. In addition, users must have create-wiki
7184
privilege (permission "f") to create new technotes and edit-wiki
7285
privilege (permission "k") in order to edit existing technotes.
7386
7487
--- www/event.wiki
+++ www/event.wiki
@@ -64,10 +64,23 @@
64
65 There is a hyperlink under the /wikihelp menu that can be used to create
66 new technotes. And there is a submenu hyperlink on technote displays for
67 editing existing technotes.
68
 
 
 
 
 
 
 
 
 
 
 
 
 
69 Users must have check-in privileges (permission "i") in order to
70 create or edit technotes. In addition, users must have create-wiki
71 privilege (permission "f") to create new technotes and edit-wiki
72 privilege (permission "k") in order to edit existing technotes.
73
74
--- www/event.wiki
+++ www/event.wiki
@@ -64,10 +64,23 @@
64
65 There is a hyperlink under the /wikihelp menu that can be used to create
66 new technotes. And there is a submenu hyperlink on technote displays for
67 editing existing technotes.
68
69 Technotes can also be created using the <b>wiki create</b> command:
70
71 <blockquote>
72 <b>
73 fossil wiki create TestTechnote -t now --technote-bgcolor lightgreen technote.md<br>
74 <tt>Created new tech note 2021-03-15 13:05:56</tt><br>
75 </b>
76 </blockquote>
77
78 This command inserts a light green technote in the timeline at 2021-03-15 13:05:56, with
79 the contents of file <b>technote.md</b> and comment "TestTechnote". Specifying a different time using
80 <b>-t DATETIME</b> will insert the technote at the specified place in the timeline.
81
82 Users must have check-in privileges (permission "i") in order to
83 create or edit technotes. In addition, users must have create-wiki
84 privilege (permission "f") to create new technotes and edit-wiki
85 privilege (permission "k") in order to edit existing technotes.
86
87

Keyboard Shortcuts

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