Better visualisation of versions in API docs?
Posted: 20 Apr 2012, 00:32
Would it be possible to add a span around version numbers in the online API docs?
For example:
Apply some simple CSS:
Also, it would be nice if the version number could be moved to the start of the descriptive text, or better on the end of the bold funciton/event/global/property text line.
For example:
If the "3.2+ only" could be wrapped in a span, it could be styled differently to make it stand out more.hasIndirect
One or more of the structure’s weapons are indirect. (3.2+ only)
Code: Select all
<span class="api-ver">3.2</span>Code: Select all
.api-ver:before {
content: "WZ ";
}
.api-ver:after {
content: "+";
}
.api-ver {
background-color: #999;
color: #eee;
}