Hiho,

i'm looking for guinea pigs again :), this time with minor enhancements to
the online help system: support for web page-specific help. (Most pages
don't have any useful help at the moment, though.)

To try it out, check out the 'help-www' branch:

http://fossil-scm.org/index.html/timeline?r=help-www

then:

  fossil help help

reveals a new option:

  fossil help --www

lists the available web pages.

  fossil help /pagename

shows the help. Note that the / prefix is necessary to avoid ambiguities
(e.g. /timeline vs timeline). e.g.

stephan@tiny:~/cvs/fossil/fossil$ f help /timeline.rss | head
URL:  /timeline.rss?y=TYPE&n=LIMIT&tkt=UUID&tag=TAG&wiki=NAME&name=FILENAME

Produce an RSS feed of the timeline.

TYPE may be: all, ci (show checkins only), t (show tickets only),
w (show wiki only). LIMIT is the number of items to show.
...

It also handles ambiguous names:

stephan@tiny:~/cvs/fossil/fossil$ f help /tkt
ambiguous page prefix: /tkt
Matching pages:
/tktedit              /tktsetup_editpage    /tktsetup_timeline
/tkthistory           /tktsetup_keytplt     /tktsetup_viewpage
...


>From the UI, visit the /help page for a list of CLI commands (as before)
and www pages (new). Alternately, visit /help?cmd=/pagename to jump right
to the help, e.g. /help?cmd=/timeline.rss.


If you have suggestions for improving this feature (and they don't require
a complete overhaul of the built-in help mechanism), please feel free to
voice them.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to