Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { Config } from '@docusaurus/types';
import { themes as prismThemes } from 'prism-react-renderer';
import type * as Preset from '@docusaurus/preset-classic';
import { relative } from 'path';

const config: Config = {
title: 'ConfigCat Docs',
Expand Down Expand Up @@ -403,8 +402,8 @@ const config: Config = {
},
algolia: {
// The search crawling repo can be found here: https://github.com/configcat/docsearch
appId: '0MLXBNIK0Q',
apiKey: '6484bd6c163502bacf229cb8d22024ab',
appId: '0G4A1N5W4D', // Revert to 0MLXBNIK0Q before merging.
apiKey: '6ef464aa13ff206475397b835c52b646', // Revert to 6484bd6c163502bacf229cb8d22024ab before merging.
indexName: 'configcat',
contextualSearch: true,
searchPagePath: 'search',
Expand Down
13 changes: 13 additions & 0 deletions website/src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,16 @@ ul.feature-list {
}
}
}

/* Customize Algolia's default "See all results" text */

/* Hide the original text */
.DocSearch-HitsFooter a {
font-size: 0 !important;
}

/* Customize the text */
.DocSearch-HitsFooter a::after {
content: "See all results";
font-size: 14px;
}