From 9023270585f63bdeb8650086917bd5a114f21575 Mon Sep 17 00:00:00 2001 From: Marine Dunstetter Date: Fri, 6 Oct 2023 12:01:41 +0200 Subject: [PATCH] modify the pathPattern so algolia generate the correct path attribute --- config/deploy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/deploy.js b/config/deploy.js index c1acc1cf2..1ab33ea1d 100644 --- a/config/deploy.js +++ b/config/deploy.js @@ -19,7 +19,7 @@ module.exports = function(deployTarget) { tagsToExclude: '.edit-page,code,pre,img,div.cta,div.filename', cssSelector: 'section', versionPattern: /^(v\d+\.\d+\.\d+)\//, - pathPattern: /^v\d+\.\d+\.\d+\/(.*)\/index.html$/, + pathPattern: /^release\/(.*)\/index.html$/, } };