From 2c4bcdc58fffa8359323fa0008d60ddaba36b2ad Mon Sep 17 00:00:00 2001 From: Gilad Gray Date: Wed, 8 Mar 2017 14:00:08 -0800 Subject: [PATCH] plugins return maps instead of arrays (#12) * add objectify function to convert array to map * update theme and plugins (+ namespace interfaces) * rename css interfaces too * ITypescriptPluginData --- docs/index.html | 542 ++++++++++++++++++-------------------- src/documentalist.ts | 13 + src/plugins/css.ts | 10 +- src/plugins/markdown.ts | 8 +- src/plugins/typescript.ts | 17 +- theme/index.pug | 9 +- 6 files changed, 292 insertions(+), 307 deletions(-) diff --git a/docs/index.html b/docs/index.html index fe8a7d4d..98dcdbf3 100644 --- a/docs/index.html +++ b/docs/index.html @@ -27,24 +27,24 @@

Documentalist

Interfaces

- - - + + + - + + - @@ -84,7 +84,7 @@

API

clearPlugins -
() => IApi<void>

Returns a new instance of Documentalist with no plugins.

+
() => IApi<{}>

Returns a new instance of Documentalist with no plugins.

@@ -137,58 +137,57 @@

API

Documentalist uses a plugin architecture to support arbitrary file types.

-