Skip to content

Commit bda624c

Browse files
don't validate docs
1 parent dd2de4a commit bda624c

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/CallerAttributes.mo

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
/// Allows accessing the Internet Computer's caller attributes.
22
/// TODO: link to official documentation, once it's available.
3+
///
4+
/// ```motoko name=import
5+
/// import CallerAttributes "mo:core/CallerAttributes";
6+
/// ```
37

48
import Prim "mo:⛔";
59
import Text "Text";
@@ -19,9 +23,8 @@ module {
1923
/// of principal texts, for example:
2024
/// `"aaaaa-aa,un4fu-tqaaa-aaaab-qadjq-cai"`.
2125
///
22-
/// ```motoko no-repl
23-
/// import CallerAttributes "mo:core/CallerAttributes";
24-
///
26+
/// Example:
27+
/// ```motoko include=import no-validate
2528
/// persistent actor {
2629
/// public shared func handle() : async () {
2730
/// switch (CallerAttributes.getAttributes()) {

0 commit comments

Comments
 (0)