36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
|
project = 'Yui'
|
||
|
title = 'Yui docs'
|
||
|
description = 'Yui is Yet another User Interface library.'
|
||
|
format = 'markdown'
|
||
|
full_description = [[
|
||
|
The Yui library assists in designing menu screens, pause menus, HUDs, and such.
|
||
|
|
||
|
Source code: @{https://git.doublefourteen.io/lua/yui}
|
||
|
|
||
|
Examples: @{https://git.doublefourteen.io/lua/yui-examples}
|
||
|
|
||
|
Pictures: @{https://git.doublefourteen.io/lua/yui-examples/src/branch/master/pics}
|
||
|
|
||
|
|
||
|
The main features: grid layout, widget navigation with keyboard/joystick buttons, support for managing custom
|
||
|
input devices (keyboard, mouse, touch, gamepad), and an easily extensible widget collection. The user interface is
|
||
|
described with a declarative approach: the layout is defined once, and events are handled in the callbacks.
|
||
|
|
||
|
Integrated support for localization was achieved through the use of another library: moonspeak.
|
||
|
(@{https://git.doublefourteen.io/lua/moonspeak})
|
||
|
|
||
|
Most of the widget and theme rendering code are re-used from Matthias Richter's SUIT library.
|
||
|
(@{https://github.com/vrld/suit})
|
||
|
|
||
|
]]
|
||
|
file = {'', exclude = {'crush.lua'}}
|
||
|
|
||
|
|
||
|
|
||
|
custom_see_handler('^https://(.+)$', function(root)
|
||
|
local url ='https://'..root
|
||
|
|
||
|
return url,
|
||
|
url
|
||
|
end)
|