Computer Science Canada

tdoc bbcode

Author:  Dan [ Tue Mar 03, 2009 9:17 pm ]
Post subject:  tdoc bbcode

Since we now have online turing documentation (http://compsci.ca/holtsoft/doc) i thought it would be a good idea to add a new bbcode shortcut to link to keywords and functions with in it.

How to use it:

[tdoc]keyword[/tdoc]

Where keyword is any function, keyword, etc listed in the Turing documentation (including help pages like intro or all_elements [witch is a list of all elements in turing]).

The keyword can be in the format that you would find in turing like View.Set or the url/html format like View_Set.

There is currently no checking if the keyword is vaild or in the documentation so even a bad keyword will make a link witch will 404 (tho there is a usefull 404 page saying that the keyword could not be found).

Examples:

[tdoc]View.Set[/tdoc]
[tdoc]GUI.ClearText[/tdoc]
[tdoc]Concurrency_getpriority[/tdoc]
[tdoc]cls[/tdoc]
[tdoc]intro[/tdoc]

Author:  Dan [ Tue Mar 03, 2009 9:31 pm ]
Post subject:  RE:tdoc bbcode

Output of the example:

View.Set
GUI.ClearText
Concurrency_getpriority
cls
intro


: