From acb93aa4c542e215be8276d9e33227e718261014 Mon Sep 17 00:00:00 2001 From: Gavin McFarland <5551+gavinmcfarland@users.noreply.github.com> Date: Wed, 7 Aug 2024 00:37:32 +0100 Subject: [PATCH] wip --- README.md | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index a5f6f9c..be25952 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@

-

@@ -53,8 +52,6 @@ mole.config('src/mole.config.js') The location of your theme data. ---- - - **`model?: string | string[]`** The value can be: @@ -64,8 +61,6 @@ mole.config('src/mole.config.js') When using a `dir`, it will search for files or sub-directories within that directory whose names match the specified output name. ---- - - **`template: string | string[]`** The value can be: @@ -77,8 +72,6 @@ mole.config('src/mole.config.js') A template can be a callback or a template string. ---- - - **`output: object | object[]`** An object that defines where (`file`) and how (`model`, `template`) to process the output. You can set a different `template` or `model` for each output. Name each output by using a key. @@ -93,19 +86,19 @@ mole.config('src/mole.config.js') ## API -- **`mole.config( string | object )`** +- **`mole.config( string | object ): void`** Set the configuration. -- **`mole.theme( string | object )`** +- **`mole.theme( string | object ): void`** Set or update the theme data. -- **`mole.register( model: string | template: string, name: string, callback?: function )`** +- **`mole.register( model: string | template: string, name: string, callback?: function ): void`** Register a model or template for use. -- **`mole.use( model: string | template: string, name, callback? )`** +- **`mole.use( model: string | template: string, name, callback? ): void`** Use a model or template directory, or use one that has been registered.