Skip to content

Commit 7afb391

Browse files
authored
add 'trust scripts' doc (#552)
* add 'trust scripts' doc * use autocoloring * try for more clarity
1 parent 4e08bc3 commit 7afb391

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

docs/scripting/trust_scripts.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Trust scripts are scripts provided by trust herself. So you can trust them. Probably. ((%D:)%))
2+
3+
In the Hackmud shell, trust scripts are rendered with a "((%FSafety Orange%))" username, like "[((trust.me))](/scripting/trust_scripts/trust.me)." If you are trying to run a trust script at the shell, make sure you see the ((%FSafety Orange%)) before you press enter!
4+
5+
You can list the trust scripts using [((scripts.trust))](/scripting/trust_scripts/scripts.trust).
6+
7+
Trust scripts will also show "TRUST" for [((scripts.get_access_level))](/scripting/trust_scripts/scripts.get_access_level) (or ((trust: true)) for scripts.)
8+
9+
{/* auto-generated list of category doc links: */}
10+
import DocCardList from "@theme/DocCardList";
11+
12+
<DocCardList />;

sidebar.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,8 @@ const sidebars = {
141141
label: "Trust Scripts",
142142
collapsible: false,
143143
link: {
144-
type: "generated-index",
145-
title: "Trust Scripts",
146-
description: "This is an auto-generated list of all trust scripts.",
147-
slug: "scripting/trust_scripts",
144+
type: "doc",
145+
id: "scripting/trust_scripts",
148146
},
149147
items: [{ type: "autogenerated", dirName: "scripting/trust_scripts" }],
150148
},

0 commit comments

Comments
 (0)