From 2c178111beb64f9d9efcf4a0be7e8ca1eaabbc7e Mon Sep 17 00:00:00 2001 From: Olivier Goulet <olivier.goulet@eclipse-foundation.org> Date: Thu, 14 Mar 2024 12:38:03 -0400 Subject: [PATCH] feat: add search results --- config.toml | 1 + content/search/_index.md | 3 +++ package.json | 2 +- yarn.lock | 34 +++++++++++++++++++++++++--------- 4 files changed, 30 insertions(+), 10 deletions(-) create mode 100644 content/search/_index.md diff --git a/config.toml b/config.toml index f5d1fe7b..7143832a 100644 --- a/config.toml +++ b/config.toml @@ -28,6 +28,7 @@ disablePathToLower = true favicon = "/favicon.ico" layout_style = "astro" hide_ad = false + search_external_only = false # logo_width = "" # header_left_classes = "" diff --git a/content/search/_index.md b/content/search/_index.md new file mode 100644 index 00000000..52e979a0 --- /dev/null +++ b/content/search/_index.md @@ -0,0 +1,3 @@ +--- +outputs: ["json"] +--- diff --git a/package.json b/package.json index d6446408..04d3c300 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "datatables.net-dt": "^1.13.1", - "eclipsefdn-hugo-solstice-theme": "0.0.204", + "eclipsefdn-hugo-solstice-theme": "https://gitlab.eclipse.org/oliviergoulet/hugo-solstice-theme.git#cc95a55c552b718d05df503cfcd42af265d945d7", "js-yaml": "^3.13.1", "json-minify": "^1.0.0" }, diff --git a/yarn.lock b/yarn.lock index 3ca4be2a..b4b5b2b8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1193,6 +1193,11 @@ "@types/minimatch" "*" "@types/node" "*" +"@types/hogan.js@^3.0.5": + version "3.0.5" + resolved "https://registry.yarnpkg.com/@types/hogan.js/-/hogan.js-3.0.5.tgz#09f5b916ad88e1975b093ab7a25a37ffc0418be5" + integrity sha512-/uRaY3HGPWyLqOyhgvW9Aa43BNnLZrNeQxl2p8wqId4UHMfPKolSB+U7BlZyO1ng7MkLnyEAItsBzCG0SDhqrA== + "@types/html-minifier-terser@^6.0.0": version "6.1.0" resolved "https://registry.yarnpkg.com/@types/html-minifier-terser/-/html-minifier-terser-6.1.0.tgz#4fc33a00c1d0c16987b1a20cf92d20614c55ac35" @@ -1266,6 +1271,11 @@ resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-5.1.2.tgz#07508b45797cb81ec3f273011b054cd0755eddca" integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== +"@types/mustache@^4.2.5": + version "4.2.5" + resolved "https://registry.yarnpkg.com/@types/mustache/-/mustache-4.2.5.tgz#9129f0d6857f976e00e171bbb3460e4b702f84ef" + integrity sha512-PLwiVvTBg59tGFL/8VpcGvqOu3L4OuveNvPi0EYbWchRdEVP++yRUXJPFl+CApKEq13017/4Nf7aQ5lTtHUNsA== + "@types/node-forge@^1.3.0": version "1.3.11" resolved "https://registry.yarnpkg.com/@types/node-forge/-/node-forge-1.3.11.tgz#0972ea538ddb0f4d9c2fa0ec5db5724773a604da" @@ -1285,6 +1295,11 @@ resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.2.tgz#5950e50960793055845e956c427fc2b0d70c5239" integrity sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw== +"@types/parse-link-header@^2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@types/parse-link-header/-/parse-link-header-2.0.3.tgz#37ad650d12aecb055b64c2d43ddb1534e356ad33" + integrity sha512-ffLAxD6Xqcf2gSbtEJehj8yJ5R/2OZqD4liodQvQQ+hhO4kg1mk9ToEZQPMtNTm/zIQj2GNleQbsjPp9+UQm4Q== + "@types/qs@*": version "6.9.11" resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.11.tgz#208d8a30bc507bd82e03ada29e4732ea46a6bbda" @@ -2624,20 +2639,18 @@ dotignore@~0.1.2: dependencies: minimatch "^3.0.4" -eclipsefdn-hugo-solstice-theme@0.0.204: - version "0.0.204" - resolved "https://registry.yarnpkg.com/eclipsefdn-hugo-solstice-theme/-/eclipsefdn-hugo-solstice-theme-0.0.204.tgz#e73ed2783f6b9b3c4cbf8560219d278985177401" - integrity sha512-neBN7qSVZBm+RVxC8++pJQooPA4dtoHSWmeMckofH+p6/Chag2Y7O7aVHMdlxog0ycXw2N9wGAEftLl6gb1Iag== +"eclipsefdn-hugo-solstice-theme@https://gitlab.eclipse.org/oliviergoulet/hugo-solstice-theme.git#cc95a55c552b718d05df503cfcd42af265d945d7": + version "0.0.205" + resolved "https://gitlab.eclipse.org/oliviergoulet/hugo-solstice-theme.git#cc95a55c552b718d05df503cfcd42af265d945d7" dependencies: axios "^1.6.0" - eclipsefdn-solstice-assets "0.0.253" + eclipsefdn-solstice-assets "https://gitlab.eclipse.org/oliviergoulet/solstice-assets.git#ad911b5f11807e9feff0ed5363d3395d0462dfaa" json2yaml "^1.1.0" toml "^3.0.0" -eclipsefdn-solstice-assets@0.0.253: - version "0.0.253" - resolved "https://registry.yarnpkg.com/eclipsefdn-solstice-assets/-/eclipsefdn-solstice-assets-0.0.253.tgz#5187a53a8d98b8c0badbafbd799edd5621b3b8da" - integrity sha512-MtomWEiCbVBFOCDPwsIaXz3XeXWvBKbcPfa0L03XGldJtTkU33gKzhp984YGbdSOh5CFpTGq8+VwZTq+y9HV7w== +"eclipsefdn-solstice-assets@https://gitlab.eclipse.org/oliviergoulet/solstice-assets.git#ad911b5f11807e9feff0ed5363d3395d0462dfaa": + version "0.0.256" + resolved "https://gitlab.eclipse.org/oliviergoulet/solstice-assets.git#ad911b5f11807e9feff0ed5363d3395d0462dfaa" dependencies: "@babel/core" "^7.23.2" "@babel/plugin-proposal-class-properties" "^7.18.6" @@ -2647,6 +2660,9 @@ eclipsefdn-solstice-assets@0.0.253: "@babel/plugin-transform-runtime" "^7.23.2" "@babel/preset-env" "^7.23.2" "@geedmo/yamm3" "^1.3.1" + "@types/hogan.js" "^3.0.5" + "@types/mustache" "^4.2.5" + "@types/parse-link-header" "^2.0.3" bootstrap "^3.4.1" browserslist "^4.22.1" cookieconsent "^3.1.1" -- GitLab