You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fern/products/docs/pages/customization/search.mdx
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,14 +16,23 @@ It includes built-in filters that let users refine their searches by content typ
16
16
-**Guides:** Filters results by non-API reference documentation.
17
17
-**Changelog:** Filters results by changelog updates.
18
18
19
-
If you are using the AI Search feature, the search box also functions as your site’s chat window.
19
+
If you are using the AI Search feature, the search box also functions as your site's chat window.
20
20
21
21
<Note>
22
22
**Note:** If an article includes the `nofollow` or `noindex`[frontmatter](/learn/docs/content/frontmatter#indexing-properties), it will not be indexed by Algolia DocSearch and won't appear in search results.
23
23
</Note>
24
24
25
+
## Using Fern's Algolia in your application
26
+
27
+
If you want to integrate Fern documentation search into your own application, you can request Algolia credentials from the Fern team. These credentials will allow you to directly query the same search index that powers your Fern documentation site.
28
+
29
+
To get started:
30
+
1. Contact the Fern team to request Algolia credentials
31
+
2. Use the provided credentials to initialize the Algolia client in your application
32
+
3. Query the search index using Algolia's API
33
+
25
34
## Using an alternative search
26
35
27
36
You can override Fern's search with your own solution.
28
37
[Here](https://github.com/deepgram/deepgram-docs/blob/main/fern/assets/component.js) is an example of custom JavaScript a customer used to replace the default search with their own implementation and additional features.
29
-
To learn more, see [Custom JavaScript](/learn/docs/building-and-customizing-your-docs/custom-css-global-js#custom-javascript).
38
+
To learn more, see [Custom JavaScript](/learn/docs/building-and-customizing-your-docs/custom-css-global-js#custom-javascript).
0 commit comments