Skip to content

Commit 5c9edd3

Browse files
committed
Fix admonition blocks
1 parent 57f0f41 commit 5c9edd3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/tangent_types/abstract_zero.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ and suitable for accumulating against.
103103
For types without a tangent space (e.g. singleton structs) this returns `NoTangent()`.
104104
In general, it is more likely to produce a structural tangent.
105105
106-
!!! warning Exprimental
106+
!!! warning "Exprimental"
107107
`zero_tangent`is an experimental feature, and is part of the mutation support featureset.
108108
While this notice remains it may have changes in behavour, and interface in any _minor_ version of ChainRulesCore.
109109
Exactly how it should be used (e.g. is it forward-mode only?)

src/tangent_types/structural_tangent.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Representing the type of the tangent of a `struct` `P` (or a `Tuple`/`NamedTuple`).
55
as an object with mirroring fields.
66
7-
!!!!!! warning Exprimental
7+
!!! warning "Exprimental"
88
`StructuralTangent` is an experimental feature, and is part of the mutation support featureset.
99
The `StructuralTangent` constructor returns a `MutableTangent` for mutable structs.
1010
`MutableTangent` is an experimental feature.
@@ -60,12 +60,12 @@ end
6060
This type represents the tangent to a mutable struct.
6161
It itself is also mutable.
6262
63-
!!! warning Exprimental
63+
!!! warning "Exprimental"
6464
MutableTangent is an experimental feature, and is part of the mutation support featureset.
6565
While this notice remains it may have changes in behavour, and interface in any _minor_ version of ChainRulesCore.
6666
Exactly how it should be used (e.g. is it forward-mode only?)
6767
68-
!!! warning Do not directly mess with the tangent backing data
68+
!!! warning "Do not directly mess with the tangent backing data"
6969
It is relatively straight forward for a forwards-mode AD to work correctly in the presence of mutation and aliasing of primal values.
7070
However, this requires that the tangent is aliased in turn and conversely that it is copied when the primal is).
7171
If you seperately alias the backing data, etc by using the internal `ChainRulesCore.backing` function you can break this.

0 commit comments

Comments
 (0)