doc: Partially revert the indentation changes

This messes up the doc
This commit is contained in:
Emmanuel Lepage Vallee 2017-01-01 16:06:39 -05:00
parent 767cda5830
commit 6158091422
10 changed files with 114 additions and 124 deletions

View File

@ -3,7 +3,7 @@ local wibox = require( "wibox" ) --DOC_HIDE
local beautiful = require( "beautiful" ) --DOC_HIDE
parent:add( --DOC_HIDE
wibox.widget {
wibox.widget {
checked = true,
color = beautiful.bg_normal,
bg = "#ff00ff",
@ -16,7 +16,6 @@ parent:add( --DOC_HIDE
check_border_color = "#ffff00",
check_border_width = 1,
widget = wibox.widget.checkbox
}
) --DOC_HIDE
}
) --DOC_HIDE
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

View File

@ -25,5 +25,4 @@ for _, s in ipairs {"rectangle", "circle", "losange", "octogon"} do
end
parent:add(l) --DOC_HIDE
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

View File

@ -25,5 +25,4 @@ for _, s in ipairs {"rectangle", "circle", "losange", "octogon"} do
end
parent:add(l) --DOC_HIDE
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

View File

@ -28,6 +28,5 @@ parent:add( --DOC_HIDE
layout = wibox.layout.fixed.horizontal --DOC_HIDE
} --DOC_HIDE
) --DOC_HIDE
) --DOC_HIDE
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

View File

@ -20,5 +20,4 @@ parent:add( w ) --DOC_HIDE
for _, v in ipairs(data) do --DOC_HIDE
w:add_value(v) --DOC_HIDE
end --DOC_HIDE
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

View File

@ -4,12 +4,11 @@ local beautiful = require( "beautiful" ) --DOC_HIDE
parent:add( --DOC_HIDE
wibox.widget {
wibox.widget {
image = beautiful.awesome_icon,
resize = false,
widget = wibox.widget.imagebox
}
) --DOC_HIDE
}
) --DOC_HIDE
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

View File

@ -4,7 +4,7 @@ local beautiful = require( "beautiful" ) --DOC_HIDE
parent:add( --DOC_HIDE
wibox.widget {
wibox.widget {
data_list = {
{ 'L1', 100 },
{ 'L2', 200 },
@ -19,8 +19,7 @@ parent:add( --DOC_HIDE
beautiful.border_color,
},
widget = wibox.widget.piechart
}
) --DOC_HIDE
}
) --DOC_HIDE
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

View File

@ -5,7 +5,7 @@ local beautiful = require("beautiful") --DOC_HIDE
parent:add( --DOC_HIDE
wibox.widget {
wibox.widget {
max_value = 1,
value = 0.33,
forced_height = 20,
@ -14,8 +14,7 @@ parent:add( --DOC_HIDE
border_width = 2,
border_color = beautiful.border_color,
widget = wibox.widget.progressbar,
}
) --DOC_HIDE
}
) --DOC_HIDE
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

View File

@ -5,7 +5,7 @@ local gears = {shape=require("gears.shape") } --DOC_HIDE
parent:add( --DOC_HIDE
wibox.widget {
wibox.widget {
bar_shape = gears.shape.rounded_rect,
bar_height = 3,
bar_color = beautiful.border_color,
@ -17,8 +17,7 @@ parent:add( --DOC_HIDE
widget = wibox.widget.slider,
forced_height = 50, --DOC_HIDE
forced_width = 100, --DOC_HIDE
}
) --DOC_HIDE
}
) --DOC_HIDE
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

View File

@ -3,13 +3,12 @@ local wibox = require("wibox") --DOC_HIDE
parent:add( --DOC_HIDE
wibox.widget{
wibox.widget{
markup = "This <i>is</i> a <b>textbox</b>!!!",
align = "center",
valign = "center",
widget = wibox.widget.textbox
}
) --DOC_HIDE
}
) --DOC_HIDE
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80