doc: Fix some example tests indentation
When `DOC_NO_USAGE` is set, the examples need 4 spaces as per the markdown spec.
This commit is contained in:
parent
790d2aa6ee
commit
767cda5830
|
@ -11,7 +11,6 @@ parent:add( --DOC_HIDE
|
||||||
forced_height = 20, --DOC_HIDE
|
forced_height = 20, --DOC_HIDE
|
||||||
check_shape = function(cr, width, height)
|
check_shape = function(cr, width, height)
|
||||||
local rs = math.min(width, height)
|
local rs = math.min(width, height)
|
||||||
|
|
||||||
cr:move_to( 0 , 0 )
|
cr:move_to( 0 , 0 )
|
||||||
cr:line_to( rs , 0 )
|
cr:line_to( rs , 0 )
|
||||||
cr:move_to( 0 , 0 )
|
cr:move_to( 0 , 0 )
|
||||||
|
@ -31,5 +30,4 @@ parent:add( --DOC_HIDE
|
||||||
widget = wibox.widget.checkbox
|
widget = wibox.widget.checkbox
|
||||||
}
|
}
|
||||||
) --DOC_HIDE
|
) --DOC_HIDE
|
||||||
|
|
||||||
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||||
|
|
|
@ -23,5 +23,4 @@ parent:add( --DOC_HIDE
|
||||||
}
|
}
|
||||||
|
|
||||||
) --DOC_HIDE
|
) --DOC_HIDE
|
||||||
|
|
||||||
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||||
|
|
|
@ -16,5 +16,4 @@ parent:add( --DOC_HIDE
|
||||||
}
|
}
|
||||||
|
|
||||||
) --DOC_HIDE
|
) --DOC_HIDE
|
||||||
|
|
||||||
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||||
|
|
Loading…
Reference in New Issue