Files
FlexLove/docs/doc-filter.js
Michael Freno 39ccf0c450 v0.2.1 release
2025-11-16 09:36:46 -05:00

48 lines
967 B
JavaScript

// Classes to INCLUDE in documentation (whitelist approach)
// Only these classes and their related types will appear in the docs
module.exports = {
// Main user-facing classes
include: [
"Animation",
"AnimationProps",
//"Border",
"Color",
"Element",
"ElementProps",
"EventHandler",
"FlexLove",
"FontFamily",
"InputEvent",
//"InputEventProps",
//"LayoutEngine",
//"LayoutEngineProps",
"Theme",
"ThemeComponent",
"ThemeDefinition",
"TextEditor",
"TextEditorConfig",
"TransformProps",
"TransitionProps",
],
// Alternative: exclude specific classes (blacklist)
exclude: [
"Context",
"Performance",
"Trace",
"Proto",
"LuaLS",
"ImageCache",
"ImageRenderer",
"Renderer",
"StateManager",
"ScrollManager",
"ErrorCodes",
"ThemeManager",
"ThemeRegion",
],
// Which mode to use: 'whitelist' or 'blacklist'
mode: "whitelist",
};