Wrap missing span elements around some arguments

This commit is contained in:
Matija Marohnić 2012-03-08 02:54:45 +01:00
parent 3dc42c8473
commit e954c469f0
4 changed files with 11 additions and 11 deletions

View File

@ -19,7 +19,7 @@ documented_functions:
#opposite-position.helper
%h3
%a(href="#opposite-position")
opposite-position($position)
opposite-position(<span class="arg">$position</span>)
.details
:markdown
Returns the opposition position for the position given. Examples:

View File

@ -35,7 +35,7 @@ documented_functions:
#sin.helper
%h3
%a(href="#sin")
sin($number)
sin(<span class="arg">$number</span>)
.details
%p
Takes the sine of a number. If the number is unitless or has a unit of <code>deg</code>
@ -46,7 +46,7 @@ documented_functions:
#cos.helper
%h3
%a(href="#cos")
cos($number)
cos(<span class="arg">$number</span>)
.details
%p
Takes the cosine of a number. If the number is unitless or has a unit of <code>deg</code>
@ -57,7 +57,7 @@ documented_functions:
#tan.helper
%h3
%a(href="#tan")
tan($number)
tan(<span class="arg">$number</span>)
.details
%p
Takes the tangent of a number. If the number is unitless or has a unit of <code>deg</code>
@ -76,7 +76,7 @@ documented_functions:
#log.helper
%h3
%a(href="#log")
log($number, [$base])
log(<span class="arg">$number</span>, <span class="arg" data-default-value="e" title="Defaults to: e">$base</span>)
.details
%p
Calculates the logarithm of a number to a base. Base defaults to <code>e</code>.
@ -84,7 +84,7 @@ documented_functions:
#sqrt.helper
%h3
%a(href="#sqrt")
sqrt($number)
sqrt(<span class="arg">$number</span>)
.details
%p
Calculates the square root of a number.
@ -92,7 +92,7 @@ documented_functions:
#pow.helper
%h3
%a(href="#pow")
pow($number, $exponent)
pow(<span class="arg">$number</span>, <span class="arg">$exponent</span>)
.details
%p
Calculates the value of a number raised to the power of an exponent.

View File

@ -20,7 +20,7 @@ documented_functions:
#nest.helper
%h3
%a(href="#nest")
nest($selector1, $selector2, ...)
nest(<span class="arg">$selector1</span>, <span class="arg">$selector2</span>, ...)
.details
%p
Nest selectors as if they had been nested within a sass file.

View File

@ -25,7 +25,7 @@ documented_functions:
#stylesheet-url.helper
%h3
%a(href="#stylesheet-url")
stylesheet-url($path, $only-path: false)
stylesheet-url(<span class="arg">$path</span>, <span class="arg" data-default-value="false" title="Defaults to: false">$only-path</span>)
.details
%p
Generates a path to an asset found relative to the project's css directory.
@ -36,7 +36,7 @@ documented_functions:
#font-url.helper
%h3
%a(href="#font-url")
font-url($path, $only-path: false)
font-url(<span class="arg">$path</span>, <span class="arg" data-default-value="false" title="Defaults to: false">$only-path</span>)
.details
%p
Generates a path to an asset found relative to the project's font directory.
@ -47,7 +47,7 @@ documented_functions:
#image-url.helper
%h3
%a(href="#image-url")
image-url($path, $only-path: false, $cache-buster: true)
image-url(<span class="arg">$path</span>, <span class="arg" data-default-value="false" title="Defaults to: false">$only-path</span>, <span class="arg" data-default-value="true" title="Defaults to: true">$cache-buster</span>)
.details
%p
Generates a path to an asset found relative to the project's images directory.