From 884bfd10ec21b3cfdf066cb76d4d04dd06ee458b Mon Sep 17 00:00:00 2001 From: Jason Stirnaman Date: Wed, 26 Feb 2025 16:12:13 -0600 Subject: [PATCH] feat(api): Add Ask AI widget to API ref docs - Adds the widget script to template.hbs. - Copies branding color and font styles from js/ask-ai.js - Copies position and some sizes from the configuration docs. - This will be replaced when the API uplift is completed and using the same layouts as the rest of the site. --- api-docs/template.hbs | 152 +++++++++++++++++++++++++++--------------- 1 file changed, 98 insertions(+), 54 deletions(-) diff --git a/api-docs/template.hbs b/api-docs/template.hbs index 1ac5d76dd..bc363affe 100755 --- a/api-docs/template.hbs +++ b/api-docs/template.hbs @@ -1,36 +1,73 @@ - - - - - + + + + - - {{title}} - - - + + {{title}} + + + - + - - {{#unless disableGoogleFont}}{{/unless}} - {{{redocHead}}} - - + + {{#unless disableGoogleFont}}{{/unless}} + {{{redocHead}}} + + + - - {{!-- --}} - - - -
-
-
-
- {{templateOptions.productName}} Docs - Submit API issue -
- {{{redocHTML}}} - - + }} + + + +
+
+
+
+ {{templateOptions.productName}} + Docs + Submit API issue +
+ {{{redocHTML}}} + + - + \ No newline at end of file