Skip to content

Commit 788e297

Browse files
committed
Add pointer templates to specification pages
1 parent 29df1e1 commit 788e297

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
sidebar_position: 7
3+
---
4+
5+
import SchemaViewer from "@site/src/components/SchemaViewer";
6+
7+
# Pointer templates
8+
9+
This format provides the concept of a **pointer template** to allow
10+
deduplicating representations. Pointer templates are defined to specify the
11+
variables they expect in scope and the pointer definition that uses those
12+
variables.
13+
14+
<SchemaViewer
15+
schema={{
16+
id: "schema:ethdebug/format/pointer/template"
17+
}}
18+
/>

packages/web/src/schemas.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ export const schemaIndex: SchemaIndex = {
116116
href: "/spec/pointer/expression"
117117
},
118118

119+
"schema:ethdebug/format/pointer/template": {
120+
href: "/spec/pointer/template"
121+
},
122+
119123
...Object.entries({
120124
Literal: {
121125
title: "Literal values schema",

0 commit comments

Comments
 (0)