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:
Emmanuel Lepage Vallee 2017-01-01 15:48:38 -05:00
parent 790d2aa6ee
commit 767cda5830
5 changed files with 66 additions and 70 deletions

View File

@ -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

View File

@ -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

View File

@ -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