2012-11-19 14:57:47 +01:00
|
|
|
-- Configuration file for ldoc
|
|
|
|
project='awesome'
|
|
|
|
title='awesome API documentation'
|
|
|
|
description='highly configurable X window manager'
|
2014-05-19 11:48:23 +02:00
|
|
|
|
|
|
|
-- More on it: https://github.com/stevedonovan/LDoc/blob/master/doc/doc.md#markdown-support
|
|
|
|
format='markdown'
|
2012-11-19 14:57:47 +01:00
|
|
|
dir='doc'
|
2014-05-19 11:48:23 +02:00
|
|
|
|
|
|
|
-- Make the docs prettier
|
|
|
|
pretty='lua'
|
|
|
|
backtick_references=true
|
|
|
|
merge=true
|
|
|
|
readme='README.md'
|
2015-02-15 22:33:23 +01:00
|
|
|
|
|
|
|
-- Setup @client to be an alias for "@tparam client.client"
|
|
|
|
tparam_alias('client', 'client.client')
|
2014-05-19 11:48:23 +02:00
|
|
|
tparam_alias('tag', 'tag')
|
2015-02-15 22:33:23 +01:00
|
|
|
-- Should be default, but is not. Sets up "@tab" => "@tparam table".
|
|
|
|
tparam_alias('tab', 'table')
|
2014-05-19 11:48:23 +02:00
|
|
|
|
|
|
|
file = {
|
|
|
|
'lib/',
|
|
|
|
'luadoc/',
|
|
|
|
readme,
|
|
|
|
exclude = {
|
|
|
|
-- exclude these modules, as they do not contain any written
|
|
|
|
-- documentation
|
|
|
|
'lib/awful/autofocus.lua',
|
|
|
|
'lib/awful/dbus.lua',
|
|
|
|
'lib/awful/ewmh.lua',
|
|
|
|
'lib/awful/remote.lua',
|
|
|
|
'lib/awful/startup_notification.lua',
|
|
|
|
|
|
|
|
-- exclude layout, but we need an extra bit of documentation elsewhere.
|
|
|
|
'lib/awful/layout/suit/'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
-- vim: filetype=lua
|