Skip to content

Commit 6cb126b

Browse files
committed
fix: use bash comments instead of JSX in code blocks, fix .mdx link extension
1 parent ce6abf1 commit 6cb126b

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

docs/guides/canister-management/settings.mdx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ A list of principals that can manage the canister. Controllers can install code,
3838
Controllers are managed through the CLI rather than `icp.yaml`:
3939

4040
```bash
41-
{/* Add a controller */}
41+
# Add a controller
4242
icp canister settings update backend --add-controller PRINCIPAL
4343

44-
{/* Remove a controller */}
44+
# Remove a controller
4545
icp canister settings update backend --remove-controller PRINCIPAL
4646

47-
{/* Replace the entire controller list */}
47+
# Replace the entire controller list
4848
icp canister settings update backend --set-controller PRINCIPAL_1 --set-controller PRINCIPAL_2
4949
```
5050

@@ -179,15 +179,15 @@ Controls who can fetch canister logs through the `fetch_canister_logs` managemen
179179
| icp.yaml key | `log_visibility` |
180180

181181
```yaml
182-
{/* Only controllers */}
182+
# Only controllers
183183
settings:
184184
log_visibility: controllers
185185
186-
{/* Anyone */}
186+
# Anyone
187187
settings:
188188
log_visibility: public
189189
190-
{/* Specific principals */}
190+
# Specific principals
191191
settings:
192192
log_visibility:
193193
allowed_viewers:
@@ -284,19 +284,19 @@ Environment-level settings merge with and override canister-level settings. In t
284284
Update individual settings directly without editing `icp.yaml`:
285285

286286
```bash
287-
{/* Compute allocation */}
287+
# Compute allocation
288288
icp canister settings update backend --compute-allocation 10
289289
290-
{/* Freezing threshold */}
290+
# Freezing threshold
291291
icp canister settings update backend --freezing-threshold 90d
292292
293-
{/* Wasm memory limit */}
293+
# Wasm memory limit
294294
icp canister settings update backend --wasm-memory-limit 3gib
295295
296-
{/* Log visibility */}
296+
# Log visibility
297297
icp canister settings update backend --log-visibility public
298298
299-
{/* Multiple settings at once */}
299+
# Multiple settings at once
300300
icp canister settings update backend \
301301
--compute-allocation 10 \
302302
--freezing-threshold 90d \
@@ -408,7 +408,7 @@ How you configure controllers depends on the trust model for your canister:
408408

409409
## Next steps
410410

411-
- [Canister lifecycle](lifecycle.mdx) -- Create, deploy, upgrade, stop, and delete canisters.
411+
- [Canister lifecycle](lifecycle.md) -- Create, deploy, upgrade, stop, and delete canisters.
412412
- [Cycles management](cycles-management.md) -- Monitor and top up cycle balances.
413413
- [Cycles costs reference](../../reference/cycles-costs.md) -- Pricing for compute and memory allocation.
414414
- [Management canister reference](../../reference/management-canister.md) -- Full interface specification.

0 commit comments

Comments
 (0)