Skip to content

Commit 9bd1764

Browse files
committed
added projectName to docusaurus config
1 parent ed927d4 commit 9bd1764

File tree

2 files changed

+9767
-3
lines changed

2 files changed

+9767
-3
lines changed

docusaurus.config.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const config = {
1414

1515
// Set the production url of your site here
1616
// Use environment variable for dynamic URL configuration
17+
projectName: 'docs',
1718
url: process.env.RENDER_EXTERNAL_URL || 'http://localhost:3000',
1819
// Set the /<baseUrl>/ pathname under which your site is served
1920
baseUrl: '/',
@@ -713,6 +714,14 @@ const config = {
713714
searchPagePath: false,
714715
placeholder: 'Search the Netwrix docs',
715716
contextualSearch: false,
717+
searchParameters: {
718+
// Define which attributes should be available as facets
719+
attributesToRetrieve: ['*'],
720+
facets: ['product', 'version'],
721+
722+
// Optional: Set default filters (these will be applied unless user changes them)
723+
facetFilters: [],
724+
},
716725
},
717726
navbar: {
718727
logo: {
@@ -744,9 +753,7 @@ const config = {
744753
darkTheme: prismThemes.dracula,
745754
},
746755
}),
747-
stylesheets: [
748-
'https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap',
749-
],
756+
stylesheets: ['https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap'],
750757
};
751758

752759
export default config;

0 commit comments

Comments
 (0)