Skip to content

Commit f386618

Browse files
authored
Merge pull request #5 from status-im/feat/doc-search
Add Algolia Search Support
2 parents 938b63a + 75fc890 commit f386618

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ pipeline {
4545
-b deploy-master \
4646
-c docs.status.network \
4747
-p build
48-
"""
48+
""",
49+
pure: false
4950
)
5051
}
5152
}

docusaurus.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,13 @@ const config: Config = {
127127
},
128128
],
129129
},
130+
algolia: {
131+
// it is safe to commit these
132+
appId: 'M7J93TRPJ9',
133+
apiKey: '17befa84094fd9acddd40cbb64012976',
134+
indexName: 'status',
135+
contextualSearch: true,
136+
},
130137
},
131138
} satisfies Config;
132139

src/css/custom.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,14 +234,13 @@ h1, h2, h3, h4, h5, h6 {
234234
box-shadow: 0 4px 12px rgba(67, 96, 223, 0.2);
235235
position: relative;
236236
overflow: hidden;
237-
margin-right: 10px;
237+
margin-right: 16px;
238+
margin-left: 10px;
238239
}
239240

240241
.hub-button::before {
241242
content: '';
242243
position: absolute;
243-
top: 0;
244-
left: 0;
245244
width: 100%;
246245
height: 100%;
247246
background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);

0 commit comments

Comments
 (0)