Skip to content

Commit 3a353a9

Browse files
adjust colours
1 parent b7d7d3d commit 3a353a9

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

learn/multi_search/implement_sharding.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ This guide walks you through activating the `/network` route, configuring the ne
1313

1414
<Tip>
1515
## Configuring multiple instances
16+
1617
To minimize issues and limit unexpected behavior, instance, network, and index configuration should be identical for all shards. This guide describes the individual steps you must take on a single instance and assumes you will replicate them across all instances.
1718
</Tip>
1819

reference/api/network.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import CodeSamplesUpdateNetwork1 from '/snippets/samples/code_samples_update_net
1212
Use the `/network` route to create a network of Meilisearch instances. This is particularly useful when used together with federated search to implement horizontal database partition strategies such as sharding.
1313

1414
<Note>
15-
## Activating `/network`
16-
1715
This is an experimental feature. Use the Meilisearch Cloud UI or the experimental features endpoint to activate it:
1816

1917
```sh

style.css

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
1+
/* Turn section titles on left-hand sidebar uppercase */
12
#navigation-items h5 {
23
text-transform: uppercase;
34
}
45

6+
/* Force callout headings to inherit parent component colour */
7+
.callout h2,
8+
.callout h3,
9+
.callout h4,
10+
.callout h5,
11+
.callout h6 {
12+
color: inherit;
13+
}
14+
15+
/* Custom component: <NoticeTag> */
516
.noticeTag {
617
color: rgb(var(--primary-light));
718
border: 1px solid rgb(var(--primary-light));
@@ -12,6 +23,7 @@
1223
font-size: 0.8em;
1324
}
1425

26+
/* Custom component: <RouteHighlighter> */
1527
.routeHighlighter {
1628
--route-highlighter-color: rgba(100, 100, 100, 0.35);
1729
display: flex;
@@ -25,20 +37,20 @@
2537

2638
/* https://tailwindcss.com/docs/colors */
2739
.routeHighlighter--GET {
28-
--route-highlighter-color: oklch(0.792 0.209 151.711)
40+
--route-highlighter-color: oklch(0.792 0.209 151.711);
2941
}
3042

3143
.routeHighlighter--POST {
32-
--route-highlighter-color: oklch(0.623 0.214 259.815)
44+
--route-highlighter-color: oklch(0.623 0.214 259.815);
3345
}
3446

3547
.routeHighlighter--DELETE {
36-
--route-highlighter-color: oklch(0.577 0.245 27.325)
48+
--route-highlighter-color: oklch(63.7% 0.237 25.331);
3749
}
3850

3951
.routeHighlighter--PUT,
4052
.routeHighlighter--PATCH {
41-
--route-highlighter-color: oklch(0.828 0.189 84.429)
53+
--route-highlighter-color: oklch(0.828 0.189 84.429);
4254
}
4355

4456
.routeHighlighter__method {

0 commit comments

Comments
 (0)