Eric Shepherd: Handy new templates for MDC |
|
| BugsAlert Home > Eric Shepherd: Handy new templates for MDC | |
|
I?ve added three helpful new templates to MDC that will help us standardize the look and feel of certain special situations in reference documentation: The new method_noscript template is used to create a section heading for an interface method which can only be called from native code. You use it like this: {{template.method_noscript(?methodName()?)}} This creates a heading that looks like this:
The next template is method_fx_minversion, which creates a section heading for an interface method introduced in a specified version of Firefox. For example: {{template.method_fx_minversion(?methodName()?, ?3.5?)}} The resulting heading looks like this:
Finally, the method_gecko_minversion template is used to badge a method as being introduced in a specified version of Gecko, like this: {{template.method_gecko_minversion(?methodName()?, ?1.9.1?)}} This produces the following heading:
The right edges actually do line up in real usage? I resized my window some in between taking these screenshots, and was too lazy to redo them. These should help us make the documentation more concise in expressing this information to readers. ![]() Original Source: http://www.bitstampede.com/2009/04/08/handy-new-templates-for-mdc/ Learn more about Eric Shepherd: Handy new templates for MDC |
|
| Tags: eric shepherd handy templates mdc | |
Related Items |
|
|
Vuln: C++ Sockets Library HTTPSocket Class Remote Denial Of Service Vulnerability
|
|
|
CVE-2008-1903 (newsoffice)
|
|
|
CVE-2010-1226 (iphone_os)
|
|
|
VU#723308: TCP may keep its offered receive window closed indefinitely (RFC 1122)
|
|
|
FrSIRT - NetBSD Security Update Fixes ICMPv6 MLD Denial of Service Issue
|
|
|
PMOS Help Desk PHP Code Execution and Security Bypass
|
|
|
VUPEN - Ed Charkow Supercharged Linking "id" SQL Injection Vulnerability
|
|



