Skip to content

Commit 524056b

Browse files
Update subscription docs (#250)
## Description and fix the "ask AI" button overlapping with the cookies --------- Co-authored-by: Piotr Wodecki <44680063+PiotrWodecki@users.noreply.github.com>
1 parent 1bfc9b2 commit 524056b

5 files changed

Lines changed: 17 additions & 25 deletions

File tree

docs/how-to/backend/selective-subscriptions.mdx

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ In **manual subscription mode**, a peer or agent:
3434
- another **peer** (all of its tracks), or
3535
- specific **tracks** of another peer.
3636

37-
:::note
38-
Only **connected** peers can subscribe to others.
39-
:::
40-
4137
---
4238

4339
## Step 1 — Create a peer with `manual` subscription mode
@@ -322,13 +318,9 @@ As new speakers join, simply call `subscribe_peer` again to add them to the audi
322318

323319
---
324320

325-
## Notes & limitations
326-
327-
- Only **connected** peers can subscribe to others.
328-
- Peers created with `subscribeMode: 'auto'` always subscribe to everyone automatically.
329-
- Unsubscribe support is not yet implemented (for now, just remove peer sessions when needed).
330-
331-
---
321+
:::note
322+
Unsubscribe support is not yet implemented (for now, just remove peer sessions when needed).
323+
:::
332324

333325
## See also
334326

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,5 @@
8282
"engines": {
8383
"node": ">=18.0"
8484
},
85-
"packageManager": "yarn@4.13.0"
85+
"packageManager": "yarn@4.14.1"
8686
}

src/css/custom.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,18 @@ h3 .badge {
9999
--docsearch-sidepanel-white: #fff;
100100
}
101101

102-
/* Floating trigger button — keep site branding */
102+
/* Floating trigger button — keep site branding
103+
extra spacing keeps it from overlapping with cookies button */
103104
.DocSearch-SidepanelButton.floating {
104105
color: white;
105106
background: var(--ifm-color-primary);
107+
right: 5rem;
108+
}
109+
110+
@media screen and (min-width: 769px) {
111+
.DocSearch-SidepanelButton.floating {
112+
right: 4.5rem;
113+
}
106114
}
107115

108116
@import url("./_shiki.css");

versioned_docs/version-0.26.0/how-to/backend/selective-subscriptions.mdx

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ In **manual subscription mode**, a peer or agent:
3434
- another **peer** (all of its tracks), or
3535
- specific **tracks** of another peer.
3636

37-
:::note
38-
Only **connected** peers can subscribe to others.
39-
:::
40-
4137
---
4238

4339
## Step 1 — Create a peer with `manual` subscription mode
@@ -322,13 +318,9 @@ As new speakers join, simply call `subscribe_peer` again to add them to the audi
322318

323319
---
324320

325-
## Notes & limitations
326-
327-
- Only **connected** peers can subscribe to others.
328-
- Peers created with `subscribeMode: 'auto'` always subscribe to everyone automatically.
329-
- Unsubscribe support is not yet implemented (for now, just remove peer sessions when needed).
330-
331-
---
321+
:::note
322+
Unsubscribe support is not yet implemented (for now, just remove peer sessions when needed).
323+
:::
332324

333325
## See also
334326

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Manual changes might be lost - proceed with caution!
33

44
__metadata:
5-
version: 8
5+
version: 9
66
cacheKey: 10c0
77

88
"@algolia/abtesting@npm:1.16.1":

0 commit comments

Comments
 (0)