Comment #7 on issue 3522 by
[hidden email]: wiki like help contents
http://code.google.com/p/pharo/issues/detail?id=3522Attached is the new code WikiStyleHelp.6.cs wich allows to use two pragmas:
<wikiStyleHelp:> AND
<wikiStyleHelp:syntax:>
First one is only a shortcut for <wikiStyleHelp: 'blah' syntax: #pier> since
#pier is the default syntax (and the only one that is
currently supported here).
Feel free to work on WikiStyleHelpBuilder to support other syntaxes
if required (maybe the help builder should delegate to syntax helper
classes or the like).
Also attached is a Foo.st example with two annotated methods that
demonstrates the use of the pragmas. You can load Foo.st first, since
it is pragma based AND DOEST NOT DEPEND on help system in any way.
Attachments:
Foo.st 911 bytes
WikiStyleHelp.6.cs 6.5 KB