From 500708b6c6ca02c30c081cc8f0f2304a943252e9 Mon Sep 17 00:00:00 2001 From: Stuart McGrigor Date: Fri, 23 Aug 2019 01:36:25 +1200 Subject: [PATCH] Added redocOptions as a separate token in template; it allows us to hand-write the redocHTML, which allows us to have a callback on ReDoc.init --- cli/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/index.ts b/cli/index.ts index c91fb93f..97cc610f 100644 --- a/cli/index.ts +++ b/cli/index.ts @@ -253,6 +253,7 @@ async function getPageHTML( }; `, + redocOptions: `${JSON.stringify(redocOptions)}`, redocHead: ssr ? (cdn ? ''