tests/examples: Explicitly mark tests generating an image

This allows to figure out if a test will generate an image without
having to run it. The long term plan for this is to run the tests during
compiling ("make") and not during configuring ("cmake"). Since the list
of files to e.g. install needs to be known during configuring, this
commit is a necessary step in that direction.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2018-07-24 14:12:44 +02:00
parent efe23dc7d2
commit 654eecd40d
162 changed files with 163 additions and 2 deletions

View File

@ -215,8 +215,8 @@ function(run_test test_path namespace escaped_content)
# Build the documentation. # Build the documentation.
set(TEST_DOC_CONTENT "${TEST_PRE_HEADER}") set(TEST_DOC_CONTENT "${TEST_PRE_HEADER}")
# If the image has been created, then add it. # Does the test generate an output image?
if(EXISTS "${IMAGE_PATH}.svg") if(tmp_content MATCHES "--DOC_GEN_IMAGE")
set(OUTPUT_IMAGE_PATH "${IMAGE_PATH}.svg") set(OUTPUT_IMAGE_PATH "${IMAGE_PATH}.svg")
escape_string( escape_string(
"![Usage example](../images/AUTOGEN${namespace}_${TEST_FILE_NAME}.svg)\n" "![Usage example](../images/AUTOGEN${namespace}_${TEST_FILE_NAME}.svg)\n"

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
screen[1]._resize {x = 175, width = 128, height = 96} --DOC_HIDE screen[1]._resize {x = 175, width = 128, height = 96} --DOC_HIDE
mouse.coords {x=175+60,y=60} --DOC_HIDE mouse.coords {x=175+60,y=60} --DOC_HIDE

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local placement = require("awful.placement") local placement = require("awful.placement")
screen[1]._resize {x= 50} screen[1]._resize {x= 50}
for _, pos in ipairs{ for _, pos in ipairs{

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
-- Align a client to the bottom of the parent area. --DOC_HEADER -- Align a client to the bottom of the parent area. --DOC_HEADER
-- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER -- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER
-- @tparam[opt={}] table args Other arguments") --DOC_HEADER -- @tparam[opt={}] table args Other arguments") --DOC_HEADER

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
-- Align a client to the bottom left of the parent area. --DOC_HEADER -- Align a client to the bottom left of the parent area. --DOC_HEADER
-- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER -- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER
-- @tparam[opt={}] table args Other arguments") --DOC_HEADER -- @tparam[opt={}] table args Other arguments") --DOC_HEADER

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
-- Align a client to the bottom right of the parent area. --DOC_HEADER -- Align a client to the bottom right of the parent area. --DOC_HEADER
-- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER -- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER
-- @tparam[opt={}] table args Other arguments") --DOC_HEADER -- @tparam[opt={}] table args Other arguments") --DOC_HEADER

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
-- Align a client to the horizontal center left of the parent area. --DOC_HEADER -- Align a client to the horizontal center left of the parent area. --DOC_HEADER
-- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER -- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER
-- @tparam[opt={}] table args Other arguments") --DOC_HEADER -- @tparam[opt={}] table args Other arguments") --DOC_HEADER

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
-- Align a client to the vertical center of the parent area. --DOC_HEADER -- Align a client to the vertical center of the parent area. --DOC_HEADER
-- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER -- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER
-- @tparam[opt={}] table args Other arguments") --DOC_HEADER -- @tparam[opt={}] table args Other arguments") --DOC_HEADER

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
-- Align a client to the center of the parent area. --DOC_HEADER -- Align a client to the center of the parent area. --DOC_HEADER
-- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER -- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER
-- @tparam[opt={}] table args Other arguments") --DOC_HEADER -- @tparam[opt={}] table args Other arguments") --DOC_HEADER

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local awful = {placement = require("awful.placement")} --DOC_HIDE local awful = {placement = require("awful.placement")} --DOC_HIDE
local c = client.gen_fake {x = 20, y = 20, width= 280, height=200, screen =screen[1]} --DOC_HIDE local c = client.gen_fake {x = 20, y = 20, width= 280, height=200, screen =screen[1]} --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
screen[1]._resize {x = 175, width = 128, height = 96} --DOC_NO_USAGE --DOC_HIDE screen[1]._resize {x = 175, width = 128, height = 96} --DOC_NO_USAGE --DOC_HIDE
local awful = {placement = require("awful.placement")} --DOC_HIDE local awful = {placement = require("awful.placement")} --DOC_HIDE
local c = client.gen_fake {x = 220, y = 35, width=40, height=30} --DOC_HIDE local c = client.gen_fake {x = 220, y = 35, width=40, height=30} --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
screen[1]._resize {x = 175, width = 128, height = 96} --DOC_NO_USAGE --DOC_HIDE screen[1]._resize {x = 175, width = 128, height = 96} --DOC_NO_USAGE --DOC_HIDE
local awful = {placement = require("awful.placement")} --DOC_HIDE local awful = {placement = require("awful.placement")} --DOC_HIDE
local c = client.gen_fake {x = 220, y = 35, width=40, height=30} --DOC_HIDE local c = client.gen_fake {x = 220, y = 35, width=40, height=30} --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
-- Align a client to the left of the parent area. --DOC_HEADER -- Align a client to the left of the parent area. --DOC_HEADER
-- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER -- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER
-- @tparam[opt={}] table args Other arguments") --DOC_HEADER -- @tparam[opt={}] table args Other arguments") --DOC_HEADER

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
screen[1]._resize {width = 128, height = 96} --DOC_HIDE screen[1]._resize {width = 128, height = 96} --DOC_HIDE
screen._add_screen {x = 140, y = 0, width = 128, height = 96} --DOC_HIDE screen._add_screen {x = 140, y = 0, width = 128, height = 96} --DOC_HIDE
screen._add_screen {x = 280, y = 0, width = 128, height = 96} --DOC_HIDE screen._add_screen {x = 280, y = 0, width = 128, height = 96} --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
-- Horizontally maximize the drawable in the parent area. --DOC_HEADER -- Horizontally maximize the drawable in the parent area. --DOC_HEADER
-- @tparam drawable d A drawable (like `client` or `wibox`) --DOC_HEADER -- @tparam drawable d A drawable (like `client` or `wibox`) --DOC_HEADER
-- @tparam[opt={}] table args Other arguments") --DOC_HEADER -- @tparam[opt={}] table args Other arguments") --DOC_HEADER

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
-- Vetically maximize the drawable in the parent area. --DOC_HEADER -- Vetically maximize the drawable in the parent area. --DOC_HEADER
-- @tparam drawable d A drawable (like `client` or `wibox`) --DOC_HEADER -- @tparam drawable d A drawable (like `client` or `wibox`) --DOC_HEADER
-- @tparam[opt={}] table args Other arguments") --DOC_HEADER -- @tparam[opt={}] table args Other arguments") --DOC_HEADER

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
screen[1]._resize {width = 128, height = 96} --DOC_HIDE screen[1]._resize {width = 128, height = 96} --DOC_HIDE
local awful = {placement = require("awful.placement")} --DOC_HIDE local awful = {placement = require("awful.placement")} --DOC_HIDE
client.gen_fake {x = 10, y = 10, width=40, height=30} --DOC_HIDE client.gen_fake {x = 10, y = 10, width=40, height=30} --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local awful = {placement = require("awful.placement")} --DOC_HIDE local awful = {placement = require("awful.placement")} --DOC_HIDE
local c = client.gen_fake {x = -30, y = -30, width= 100, height=100} --DOC_HIDE local c = client.gen_fake {x = -30, y = -30, width= 100, height=100} --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
screen[1]._resize {width = 128, height = 96} --DOC_HIDE screen[1]._resize {width = 128, height = 96} --DOC_HIDE
screen._add_screen {x = 140, y = 0 , width = 128, height = 96} --DOC_HIDE screen._add_screen {x = 140, y = 0 , width = 128, height = 96} --DOC_HIDE
screen._add_screen {x = 0 , y = 110, width = 128, height = 96} --DOC_HIDE screen._add_screen {x = 0 , y = 110, width = 128, height = 96} --DOC_HIDE

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local awful = {placement = require("awful.placement")} local awful = {placement = require("awful.placement")}
local unpack = unpack or table.unpack -- luacheck: globals unpack (compatibility with Lua 5.1) local unpack = unpack or table.unpack -- luacheck: globals unpack (compatibility with Lua 5.1)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
-- Align a client to the right of the parent area. --DOC_HEADER -- Align a client to the right of the parent area. --DOC_HEADER
-- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER -- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER
-- @tparam[opt={}] table args Other arguments") --DOC_HEADER -- @tparam[opt={}] table args Other arguments") --DOC_HEADER

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
screen[1]._resize {width = 128, height = 96} screen[1]._resize {width = 128, height = 96}
screen._add_screen {x = 140, y = 0 , width = 128, height = 96} screen._add_screen {x = 140, y = 0 , width = 128, height = 96}
screen._add_screen {x = 0 , y = 110, width = 128, height = 96} screen._add_screen {x = 0 , y = 110, width = 128, height = 96}

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
-- Stretch the drawable to the bottom of the parent area. --DOC_HEADER -- Stretch the drawable to the bottom of the parent area. --DOC_HEADER
-- @tparam drawable d A drawable (like `client` or `wibox`) --DOC_HEADER -- @tparam drawable d A drawable (like `client` or `wibox`) --DOC_HEADER
-- @tparam[opt={}] table args Other arguments --DOC_HEADER -- @tparam[opt={}] table args Other arguments --DOC_HEADER

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
-- Stretch the drawable to the left of the parent area. --DOC_HEADER -- Stretch the drawable to the left of the parent area. --DOC_HEADER
-- @tparam drawable d A drawable (like `client` or `wibox`) --DOC_HEADER -- @tparam drawable d A drawable (like `client` or `wibox`) --DOC_HEADER
-- @tparam[opt={}] table args Other arguments --DOC_HEADER -- @tparam[opt={}] table args Other arguments --DOC_HEADER

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
-- Stretch the drawable to the right of the parent area. --DOC_HEADER -- Stretch the drawable to the right of the parent area. --DOC_HEADER
-- @tparam drawable d A drawable (like `client` or `wibox`) --DOC_HEADER -- @tparam drawable d A drawable (like `client` or `wibox`) --DOC_HEADER
-- @tparam[opt={}] table args Other arguments --DOC_HEADER -- @tparam[opt={}] table args Other arguments --DOC_HEADER

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
-- Stretch the drawable to the top of the parent area. --DOC_HEADER -- Stretch the drawable to the top of the parent area. --DOC_HEADER
-- @tparam drawable d A drawable (like `client` or `wibox`) --DOC_HEADER -- @tparam drawable d A drawable (like `client` or `wibox`) --DOC_HEADER
-- @tparam[opt={}] table args Other arguments --DOC_HEADER -- @tparam[opt={}] table args Other arguments --DOC_HEADER

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
-- Align a client to the top of the parent area. --DOC_HEADER -- Align a client to the top of the parent area. --DOC_HEADER
-- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER -- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER
-- @tparam[opt={}] table args Other arguments") --DOC_HEADER -- @tparam[opt={}] table args Other arguments") --DOC_HEADER

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
-- Align a client to the top left of the parent area. --DOC_HEADER -- Align a client to the top left of the parent area. --DOC_HEADER
-- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER -- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER
-- @tparam[opt={}] table args Other arguments") --DOC_HEADER -- @tparam[opt={}] table args Other arguments") --DOC_HEADER

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
-- Align a client to the top right of the parent area. --DOC_HEADER -- Align a client to the top right of the parent area. --DOC_HEADER
-- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER -- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER
-- @tparam[opt={}] table args Other arguments") --DOC_HEADER -- @tparam[opt={}] table args Other arguments") --DOC_HEADER

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
screen[1]._resize {width = 128, height = 96} --DOC_HIDE screen[1]._resize {width = 128, height = 96} --DOC_HIDE
local awful = {placement = require("awful.placement")} --DOC_HIDE local awful = {placement = require("awful.placement")} --DOC_HIDE
client.gen_fake {x = 10, y = 10, width=40, height=30} --DOC_HIDE client.gen_fake {x = 10, y = 10, width=40, height=30} --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
--DOC_NO_USAGE --DOC_NO_USAGE
local place = require("awful.placement") --DOC_HIDE local place = require("awful.placement") --DOC_HIDE
local awful = { titlebar = require("awful.titlebar"), --DOC_HIDE local awful = { titlebar = require("awful.titlebar"), --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE local shape,cr,show = ... --DOC_HIDE
shape.arc(cr,70,70, 10) shape.arc(cr,70,70, 10)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE local shape,cr,show = ... --DOC_HIDE
shape.arrow(cr, 70, 70) shape.arrow(cr, 70, 70)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE local shape,cr,show = ... --DOC_HIDE
shape.circle(cr, 70, 70) shape.circle(cr, 70, 70)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE local shape,cr,show = ... --DOC_HIDE
shape.cross(cr, 70, 70) shape.cross(cr, 70, 70)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE local shape,cr,show = ... --DOC_HIDE
shape.hexagon(cr, 70, 70) shape.hexagon(cr, 70, 70)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE local shape,cr,show = ... --DOC_HIDE
shape.infobubble(cr, 70, 70) shape.infobubble(cr, 70, 70)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE local shape,cr,show = ... --DOC_HIDE
shape.isosceles_triangle(cr, 70, 70) shape.isosceles_triangle(cr, 70, 70)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE local shape,cr,show = ... --DOC_HIDE
shape.losange(cr, 70, 70) shape.losange(cr, 70, 70)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE local shape,cr,show = ... --DOC_HIDE
shape.octogon(cr, 70, 70) shape.octogon(cr, 70, 70)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE local shape,cr,show = ... --DOC_HIDE
shape.parallelogram(cr, 70, 70) shape.parallelogram(cr, 70, 70)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE local shape,cr,show = ... --DOC_HIDE
shape.partially_rounded_rect(cr, 70, 70) shape.partially_rounded_rect(cr, 70, 70)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE local shape,cr,show = ... --DOC_HIDE
shape.pie(cr, 70, 70) shape.pie(cr, 70, 70)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE local shape,cr,show = ... --DOC_HIDE
shape.powerline(cr, 70, 70) shape.powerline(cr, 70, 70)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE local shape,cr,show = ... --DOC_HIDE
shape.radial_progress(cr, 70, 20, .3) shape.radial_progress(cr, 70, 20, .3)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE local shape,cr,show = ... --DOC_HIDE
shape.rectangle(cr, 70, 70) shape.rectangle(cr, 70, 70)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE local shape,cr,show = ... --DOC_HIDE
shape.rectangular_tag(cr, 70, 70) shape.rectangular_tag(cr, 70, 70)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE local shape,cr,show = ... --DOC_HIDE
shape.rounded_bar(cr, 70, 70) shape.rounded_bar(cr, 70, 70)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE local shape,cr,show = ... --DOC_HIDE
shape.rounded_rect(cr, 70, 70, 10) shape.rounded_rect(cr, 70, 70, 10)

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local parent = ... --DOC_NO_USAGE --DOC_HIDE local parent = ... --DOC_NO_USAGE --DOC_HIDE
local awful = { widget = { --DOC_HIDE local awful = { widget = { --DOC_HIDE
prompt = require("awful.widget.prompt")}}--DOC_HIDE prompt = require("awful.widget.prompt")}}--DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local parent = ... --DOC_NO_USAGE --DOC_HIDE local parent = ... --DOC_NO_USAGE --DOC_HIDE
local wibox = require( "wibox" ) --DOC_HIDE local wibox = require( "wibox" ) --DOC_HIDE
local awful = { prompt = require("awful.prompt") }--DOC_HIDE local awful = { prompt = require("awful.prompt") }--DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local parent = ... --DOC_NO_USAGE --DOC_HIDE local parent = ... --DOC_NO_USAGE --DOC_HIDE
local wibox = require( "wibox" ) --DOC_HIDE local wibox = require( "wibox" ) --DOC_HIDE
local awful = { prompt = require("awful.prompt"),--DOC_HIDE local awful = { prompt = require("awful.prompt"),--DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local parent = ... --DOC_NO_USAGE --DOC_HIDE local parent = ... --DOC_NO_USAGE --DOC_HIDE
local wibox = require( "wibox" ) --DOC_HIDE local wibox = require( "wibox" ) --DOC_HIDE
local awful = { prompt = require("awful.prompt"),--DOC_HIDE local awful = { prompt = require("awful.prompt"),--DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local parent = ... --DOC_NO_USAGE --DOC_HIDE local parent = ... --DOC_NO_USAGE --DOC_HIDE
local wibox = require( "wibox" ) --DOC_HIDE local wibox = require( "wibox" ) --DOC_HIDE
local awful = { prompt = require("awful.prompt") }--DOC_HIDE local awful = { prompt = require("awful.prompt") }--DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local parent = ... --DOC_NO_USAGE --DOC_HIDE local parent = ... --DOC_NO_USAGE --DOC_HIDE
local wibox = require( "wibox" ) --DOC_HIDE local wibox = require( "wibox" ) --DOC_HIDE
local awful = { prompt = require("awful.prompt"),--DOC_HIDE local awful = { prompt = require("awful.prompt"),--DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local parent = ... --DOC_NO_USAGE --DOC_HIDE local parent = ... --DOC_NO_USAGE --DOC_HIDE
local awful = { --DOC_HIDE local awful = { --DOC_HIDE
tag = require("awful.tag"), --DOC_HIDE tag = require("awful.tag"), --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local parent = ... --DOC_NO_USAGE --DOC_HIDE local parent = ... --DOC_NO_USAGE --DOC_HIDE
local awful = { --DOC_HIDE local awful = { --DOC_HIDE
tag = require("awful.tag"), --DOC_HIDE tag = require("awful.tag"), --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local parent = ... --DOC_NO_USAGE --DOC_HIDE local parent = ... --DOC_NO_USAGE --DOC_HIDE
local awful = { --DOC_HIDE local awful = { --DOC_HIDE
tag = require("awful.tag"), --DOC_HIDE tag = require("awful.tag"), --DOC_HIDE

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local parent = ... local parent = ...
local wibox = require( "wibox" ) local wibox = require( "wibox" )
local beautiful = require( "beautiful" ) local beautiful = require( "beautiful" )

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local parent = ... local parent = ...
local wibox = require( "wibox" ) local wibox = require( "wibox" )
local beautiful = require( "beautiful" ) local beautiful = require( "beautiful" )

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local parent = ... local parent = ...
local wibox = require( "wibox" ) local wibox = require( "wibox" )
local beautiful = require( "beautiful" ) local beautiful = require( "beautiful" )

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local parent = ... local parent = ...
local wibox = require( "wibox" ) local wibox = require( "wibox" )
local beautiful = require( "beautiful" ) local beautiful = require( "beautiful" )

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local parent = ... local parent = ...
local wibox = require( "wibox" ) local wibox = require( "wibox" )
local beautiful = require( "beautiful" ) local beautiful = require( "beautiful" )

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local parent = ... local parent = ...
local wibox = require( "wibox" ) local wibox = require( "wibox" )
local beautiful = require( "beautiful" ) local beautiful = require( "beautiful" )

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local parent = ... local parent = ...
local wibox = require( "wibox" ) local wibox = require( "wibox" )
local beautiful = require( "beautiful" ) local beautiful = require( "beautiful" )

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local parent = ... --DOC_HIDE local parent = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local parent = ... --DOC_HIDE local parent = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE
local gears = {shape = require("gears.shape")} --DOC_HIDE local gears = {shape = require("gears.shape")} --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local parent = ... --DOC_HIDE local parent = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local parent = ... --DOC_HIDE local parent = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE
local gears = {shape = require("gears.shape")} --DOC_HIDE local gears = {shape = require("gears.shape")} --DOC_HIDE

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local wibox = require("wibox") local wibox = require("wibox")
local beautiful = require("beautiful") local beautiful = require("beautiful")

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local wibox = require("wibox") local wibox = require("wibox")
local gears = {shape = require("gears.shape")} local gears = {shape = require("gears.shape")}
local beautiful = require("beautiful") local beautiful = require("beautiful")

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local wibox = require("wibox") local wibox = require("wibox")
return { return {

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local wibox = require("wibox") local wibox = require("wibox")
local beautiful = require("beautiful") local beautiful = require("beautiful")

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local wibox = require("wibox") local wibox = require("wibox")
return { return {

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local wibox = require("wibox") local wibox = require("wibox")
local awful = { widget = { only_on_screen = require("awful.widget.only_on_screen") } } local awful = { widget = { only_on_screen = require("awful.widget.only_on_screen") } }

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local wibox = require("wibox") local wibox = require("wibox")
return { return {

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local wibox = require("wibox") local wibox = require("wibox")
return { return {

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local wibox = require("wibox") local wibox = require("wibox")
return { return {

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local wibox = require("wibox") local wibox = require("wibox")
return { return {

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local parent = ... local parent = ...
local wibox = require("wibox") local wibox = require("wibox")

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local parent = ... local parent = ...
local wibox = require("wibox") local wibox = require("wibox")

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local parent = ... local parent = ...
local wibox = require("wibox") local wibox = require("wibox")

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local parent = ... local parent = ...
local wibox = require("wibox") local wibox = require("wibox")
local beautiful = require("beautiful") local beautiful = require("beautiful")

View File

@ -1,4 +1,5 @@
--DOC_HIDE_ALL --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local parent = ... local parent = ...
local wibox = require("wibox") local wibox = require("wibox")

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local parent = ... --DOC_HIDE local parent = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE
local gears = {shape = require("gears.shape")} --DOC_HIDE local gears = {shape = require("gears.shape")} --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local generic_widget = ... --DOC_HIDE local generic_widget = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local generic_widget = ... --DOC_HIDE local generic_widget = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local generic_widget = ... --DOC_HIDE local generic_widget = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local generic_widget = ... --DOC_HIDE local generic_widget = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local generic_widget = ... --DOC_HIDE local generic_widget = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local generic_widget = ... --DOC_HIDE local generic_widget = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local generic_widget = ... --DOC_HIDE local generic_widget = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local generic_widget = ... --DOC_HIDE local generic_widget = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local generic_widget = ... --DOC_HIDE local generic_widget = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE
local gears = {shape = require("gears.shape")}--DOC_HIDE local gears = {shape = require("gears.shape")}--DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local generic_widget = ... --DOC_HIDE local generic_widget = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE --DOC_HIDE
local generic_widget = ... --DOC_HIDE local generic_widget = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE
local gears = {shape = require("gears.shape")}--DOC_HIDE local gears = {shape = require("gears.shape")}--DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE
local generic_widget, generic_before_after = ... --DOC_HIDE_ALL local generic_widget, generic_before_after = ... --DOC_HIDE_ALL
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE
local beautiful = require("beautiful") --DOC_HIDE local beautiful = require("beautiful") --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE
local generic_widget = ... --DOC_HIDE_ALL local generic_widget = ... --DOC_HIDE_ALL
local wibox = require("wibox") local wibox = require("wibox")
local beautiful = require("beautiful") local beautiful = require("beautiful")

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE
local _, generic_before_after = ... --DOC_HIDE_ALL local _, generic_before_after = ... --DOC_HIDE_ALL
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE

View File

@ -1,3 +1,4 @@
--DOC_GEN_IMAGE
local generic_widget = ... --DOC_NO_USAGE --DOC_HIDE local generic_widget = ... --DOC_NO_USAGE --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE local wibox = require("wibox") --DOC_HIDE

Some files were not shown because too many files have changed in this diff Show More