From 70e730bb677b80879d7578a4fdb881ad34afec60 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Tue, 14 Apr 2020 21:26:41 +0100 Subject: [PATCH] Docs: add basic search feature for install and API --- docs/firebase.json | 5 ++- docs/index.html | 38 +++++++++++++++-- docs/search-index.json | 1 + docs/search-index/build.js | 59 ++++++++++++++++++++++++++ docs/search-index/extract.js | 80 ++++++++++++++++++++++++++++++++++++ package.json | 2 +- 6 files changed, 179 insertions(+), 6 deletions(-) create mode 100644 docs/search-index.json create mode 100644 docs/search-index/build.js create mode 100644 docs/search-index/extract.js diff --git a/docs/firebase.json b/docs/firebase.json index 9eda6800..ef55e06c 100644 --- a/docs/firebase.json +++ b/docs/firebase.json @@ -4,9 +4,10 @@ "public": ".", "ignore": [ ".*", - "*.json", + "firebase.json", "*.md", - "image/**" + "image/**", + "search-index/**" ], "headers": [ { diff --git a/docs/index.html b/docs/index.html index b4a42c18..a3c7f18d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -55,11 +55,11 @@