Skip to content

Commit 084f8ae

Browse files
committed
doc: debug admonition syntax
1 parent b9821e6 commit 084f8ae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/src/public/generic_func.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ setmodel!
5757
getinfo
5858
```
5959

60-
## Simulate/Control in Real-Time
60+
## Real-Time Simulate and Control
6161

62-
!!!danger "Disclaimer"
62+
!!! danger "Disclaimer"
6363
These utilities are for soft real-time applications. They are not suitable for hard
6464
real-time environnement like safety-critical processes.
6565

src/sim_model.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ is `false`. Else, a simple `while` loop implements busy-waiting. As a rule-of-th
308308
busy-waiting should be used if `model.Ts < 0.1` s, since the accuracy of `sleep` is around 1
309309
ms. Can be used to implement simple soft real-time simulations, see the example below.
310310
311-
!!!warning
311+
!!! warning
312312
The allocations in Julia are garbage-collected (GC) automatically. This can affect the
313313
timings. In such cases, you can temporarily stop the GC with `GC.enable(false)`, and
314314
restart it at a convenient time e.g.: just before calling `periodsleep`.

0 commit comments

Comments
 (0)