2012-11-19 14:57:47 +01:00
|
|
|
-- Configuration file for ldoc
|
2014-05-25 14:35:44 +02:00
|
|
|
|
2012-11-19 14:57:47 +01:00
|
|
|
project='awesome'
|
|
|
|
title='awesome API documentation'
|
2015-06-14 02:35:10 +02:00
|
|
|
description='API documentation for awesome, a highly configurable X window manager (version @AWESOME_VERSION@).'
|
2014-05-19 11:48:23 +02:00
|
|
|
|
|
|
|
-- More on it: https://github.com/stevedonovan/LDoc/blob/master/doc/doc.md#markdown-support
|
2014-05-26 21:26:52 +02:00
|
|
|
format='discount'
|
|
|
|
dir='../doc'
|
2014-05-19 11:48:23 +02:00
|
|
|
|
|
|
|
-- Make the docs prettier
|
|
|
|
pretty='lua'
|
2014-05-25 14:35:44 +02:00
|
|
|
style="!pale"
|
2014-05-19 11:48:23 +02:00
|
|
|
backtick_references=true
|
|
|
|
merge=true
|
2015-06-14 02:35:10 +02:00
|
|
|
use_markdown_titles=true
|
2015-02-20 15:24:26 +01:00
|
|
|
wrap=true
|
2014-05-24 23:25:12 +02:00
|
|
|
topics={
|
2014-05-26 21:26:52 +02:00
|
|
|
'00-authors.md',
|
|
|
|
'01-readme.md',
|
|
|
|
'02-contributing.md',
|
2016-02-10 07:07:47 +01:00
|
|
|
'03-declarative-layout.md',
|
2016-02-10 07:21:29 +01:00
|
|
|
'04-new-widgets.md',
|
2014-05-24 23:25:12 +02:00
|
|
|
}
|
2015-02-15 22:33:23 +01:00
|
|
|
|
2015-07-25 00:00:07 +02:00
|
|
|
-- Setup @client to be an alias for "@tparam client.object"
|
|
|
|
tparam_alias('client', 'client.object')
|
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')
|
2016-04-03 08:59:50 +02:00
|
|
|
|
|
|
|
-- Hack to get the functions and method on top of the signals and properties
|
|
|
|
new_type("function", "Functions")
|
|
|
|
-- Documentation for objects properties
|
|
|
|
new_type("property", "Object properties", false, "Type")
|
2015-02-27 00:24:23 +01:00
|
|
|
-- New type for signals
|
|
|
|
new_type("signal", "Signals", false, "Arguments")
|
2016-04-03 08:59:50 +02:00
|
|
|
-- Allow objects to define a set of beautiful properties affecting them
|
|
|
|
new_type("beautiful", "Theme variables", false, "Type")
|
|
|
|
-- Put deprecated methods in their own section
|
|
|
|
new_type("deprecated", "Deprecated functions", false, "param")
|
|
|
|
-- For the legacy stateless layout related functions
|
|
|
|
new_type("legacylayout", "Layout related functions", false, "param")
|
2014-05-19 11:48:23 +02:00
|
|
|
|
2015-02-20 15:24:26 +01:00
|
|
|
-- More fitting section names
|
2015-06-14 02:35:10 +02:00
|
|
|
kind_names={topic='Documentation', module='Libraries'}
|
2015-02-20 15:24:26 +01:00
|
|
|
|
|
|
|
-- Sort modules alphabetically
|
|
|
|
sort_modules=true
|
|
|
|
|
2014-05-19 11:48:23 +02:00
|
|
|
file = {
|
2015-02-27 00:24:23 +01:00
|
|
|
-- C parts of libraries
|
|
|
|
'../dbus.c',
|
|
|
|
'../keygrabber.c',
|
|
|
|
'../luaa.c',
|
|
|
|
'../mouse.c',
|
|
|
|
'../mousegrabber.c',
|
|
|
|
'../root.c',
|
|
|
|
'../selection.c',
|
|
|
|
'../spawn.c',
|
|
|
|
'../xkb.c',
|
|
|
|
'../common/luaobject.c',
|
|
|
|
'../objects/',
|
2014-05-24 23:25:12 +02:00
|
|
|
-- LUA libraries
|
2014-05-26 21:26:52 +02:00
|
|
|
'../lib/',
|
2016-03-31 08:36:44 +02:00
|
|
|
-- Old APIs the user should not longer use directly
|
2016-04-15 03:31:19 +02:00
|
|
|
'../docs/aliases/awful_client.lua',
|
|
|
|
'../docs/aliases/awful_screen.lua',
|
|
|
|
'../docs/aliases/awful_tag.lua',
|
2014-05-19 11:48:23 +02:00
|
|
|
exclude = {
|
|
|
|
-- exclude these modules, as they do not contain any written
|
|
|
|
-- documentation
|
2014-05-26 21:26:52 +02:00
|
|
|
'../lib/awful/autofocus.lua',
|
|
|
|
'../lib/awful/dbus.lua',
|
2015-02-26 17:48:10 +01:00
|
|
|
'../lib/awful/init.lua',
|
2014-05-26 21:26:52 +02:00
|
|
|
'../lib/awful/remote.lua',
|
|
|
|
'../lib/awful/startup_notification.lua',
|
2015-02-26 17:48:10 +01:00
|
|
|
'../lib/gears/init.lua',
|
|
|
|
'../lib/wibox/layout/init.lua',
|
|
|
|
'../lib/wibox/widget/init.lua',
|
2014-05-19 11:48:23 +02:00
|
|
|
|
2014-05-20 23:52:08 +02:00
|
|
|
-- Ignore some parts of the widget library
|
2015-02-26 16:05:47 +01:00
|
|
|
'../lib/awful/widget/init.lua',
|
2014-05-20 23:52:08 +02:00
|
|
|
|
2014-05-19 11:48:23 +02:00
|
|
|
-- exclude layout, but we need an extra bit of documentation elsewhere.
|
2014-05-26 21:26:52 +02:00
|
|
|
'../lib/awful/layout/suit/'
|
2014-05-19 11:48:23 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-12-12 17:42:33 +01:00
|
|
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|