From e7169ef8330c7c092cf0aad04bb59e0311af07d9 Mon Sep 17 00:00:00 2001 From: cha0s Date: Wed, 9 Mar 2022 08:53:19 -0600 Subject: [PATCH] chore: doc --- packages/core/build/dox/hooks.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/core/build/dox/hooks.js b/packages/core/build/dox/hooks.js index 376d9a3..7ae4d15 100644 --- a/packages/core/build/dox/hooks.js +++ b/packages/core/build/dox/hooks.js @@ -30,7 +30,14 @@ export default { * Register build configuration. */ '@flecks/core.build.config': () => [ + /** + * If you document your config files like this, documentation will be automatically + * generated. + */ '.myrc.js', + /** + * Make sure you return them as an array expression, like this. + */ ['mygeneralrc.js', {specifier: (specific) => `${specific}.mygeneralrc.js`}], ],