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 #opposite-position.helper
%h3 %h3
%a(href="#opposite-position") %a(href="#opposite-position")
opposite-position($position) opposite-position(<span class="arg">$position</span>)
.details .details
:markdown :markdown
Returns the opposition position for the position given. Examples: Returns the opposition position for the position given. Examples:

View File

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

View File

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

View File

@ -25,7 +25,7 @@ documented_functions:
#stylesheet-url.helper #stylesheet-url.helper
%h3 %h3
%a(href="#stylesheet-url") %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 .details
%p %p
Generates a path to an asset found relative to the project's css directory. Generates a path to an asset found relative to the project's css directory.
@ -36,7 +36,7 @@ documented_functions:
#font-url.helper #font-url.helper
%h3 %h3
%a(href="#font-url") %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 .details
%p %p
Generates a path to an asset found relative to the project's font directory. Generates a path to an asset found relative to the project's font directory.
@ -47,7 +47,7 @@ documented_functions:
#image-url.helper #image-url.helper
%h3 %h3
%a(href="#image-url") %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 .details
%p %p
Generates a path to an asset found relative to the project's images directory. Generates a path to an asset found relative to the project's images directory.