Skip to content

Commit 955bf85

Browse files
committed
Setup doc search with Algolia
1 parent 55101f3 commit 955bf85

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

docs/advanced/addons/fieldtypes.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,3 @@ if (ee()->has('coilpack')) {
110110
ee()->coilpack->registerFieldtype('super_checkbox', 'Addon\Fieldtypes\SuperCheckbox');
111111
}
112112
```
113-
114-
115-
use Expressionengine\Coilpack\Contracts\ListsGraphType;

docusaurus.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ const config = {
5555
themeConfig:
5656
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
5757
({
58+
algolia: {
59+
appId: 'YC8OOJPRBB',
60+
apiKey: '6fce6dd89b176cd112b727bddd10ef25',
61+
indexName: 'coilpack',
62+
},
5863
navbar: {
5964
title: 'Coilpack',
6065
logo: {
@@ -68,6 +73,10 @@ const config = {
6873
label: 'Documentation',
6974
},
7075
{ to: '/blog', label: 'Blog', position: 'left' },
76+
{
77+
type: 'search',
78+
position: 'right',
79+
},
7180
{
7281
href: 'https://github.com/expressionengine/coilpack',
7382
label: 'GitHub',

sidebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const sidebars = {
1717
docsSidebar: [
1818
{ type: 'doc', id: 'index', label: 'About Coilpack' },
1919
'getting-started',
20+
'upgrade-guide',
2021
{
2122
type: 'category',
2223
label: 'Guides',

0 commit comments

Comments
 (0)