Skip to content

Commit

Permalink
Merge pull request #296 from VaclavElias/master
Browse files Browse the repository at this point in the history
feat: Search improvements
  • Loading branch information
VaclavElias authored May 5, 2024
2 parents 9c27a03 + ea45a63 commit 976a7d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _data/site.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.0.0.25",
"version": "2.0.0.26",
"engine": "Eleventy 2.0",
"title": "Stride Game Engine",
"description": "C# Stride Game Engine is a powerful and versatile game development engine that is based on the C# programming language",
Expand Down
4 changes: 3 additions & 1 deletion assets/scripts/search.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ permalink: /scripts/search.js
return '📝';
case 'contributors':
return '🌟';
case 'community-resources':
return '🏋🏽';
default:
return '';
}
Expand Down Expand Up @@ -134,7 +136,7 @@ permalink: /scripts/search.js
var docs = Promise.resolve();

if({{site.docs-search}}) {
docs = fetch(`{{site.links.docs-search-url}}`).then(success);
docs = fetch(`{{site.links.docs-search-url}}?version={{site.version}}`).then(success);
}

Promise.all([web, docs])
Expand Down

0 comments on commit 976a7d3

Please sign in to comment.