Skip to content

Commit

Permalink
modify the pathPattern so algolia generate the correct path attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueCutOfficial committed Oct 6, 2023
1 parent f9267ff commit 9023270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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$/,
}
};

Expand Down

0 comments on commit 9023270

Please sign in to comment.