forked from DAOhaus/CAIPs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcaip.html
113 lines (109 loc) · 4.46 KB
/
caip.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
---
layout: default
---
<div class="home">
<h1 class="page-heading">
CAIP-{{ page.caip | xml_escape }}: {{ page.title | xml_escape }}
<a href="https://github.com/{{site.repository}}/blob/main/{{page.path}}"><svg aria-hidden="true" height="24" viewBox="0 0 16 16" version="1.1" width="24" data-view-component="true" class="octicon octicon-mark-github">
<path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"></path>
</svg></a>
</h1>
<h3>{{ page.description | xml_escape }}</h3>
<table>
<tr>
<th>Author</th>
<td>{% include authorlist.html authors=page.author %}</td>
</tr>
{% if page["discussions-to"] != undefined %}
<tr>
<th>Discussions-To</th>
<td>{% include discussion_links.html links=page.discussions-to %}</td>
</tr>
{% endif %}
<tr>
<th>Status</th>
<td>{{ page.status | xml_escape }}
{% if page.last-call-deadline != undefined %}
<tr>
<th>Last Call Deadline</th>
<td>{{ page.last-call-deadline | xml_escape }}</td>
</tr>
{% endif %}
</td>
</tr>
<tr>
<th>Type</th>
<td>{{ page.type | xml_escape }}</td>
</tr>
{% if page.category != undefined %}
<tr>
<th>Category</th>
<td>{{ page.category | xml_escape }}</td>
</tr>
{% endif %}
<tr>
<th>Created</th>
<td>{{ page.created | xml_escape }}</td>
</tr>
{% if page.updated != undefined %}
<tr>
<th>Updated</th>
<td>{{ page.updated | xml_escape }}</td>
</tr>
{% endif %}
{% if page.requires != undefined %}
<tr>
<th>Requires</th>
<td>{% include caipnums.html caips=page.requires %}</td>
</tr>
{% endif %}
{% if page.superseded-by != undefined %}
<tr>
<th>Superseded By</th>
<td>{% include superseded_by.html caips=page.superseded-by %}</td>
</tr>
{% endif %}
{% if page["withdrawal-reason"] != undefined %}
<tr>
<th>Withdrawal reason</th>
<td>{{ page["withdrawal-reason"] | xml_escape }}</td>
</tr>
{% endif %}
</table>
<div class="toc">
<h2>Table of Contents</h2>
{% include toc.html html=content sanitize=true h_max=3 %}
</div>
{% include anchor_headings.html html=content anchorClass="anchor-link" beforeHeading=true %}
<h2>Citation</h2>
<p>Please cite this document as:</p>
{% comment %}
IEEE specification for reference formatting:
https://ieee-dataport.org/sites/default/files/analysis/27/IEEE%20Citation%20Guidelines.pdf
{% endcomment %}
<p>{% include authorlist.html authors=page.author %}, "CAIP-{{ page.caip | xml_escape }}: {{ page.title | xml_escape
}}{% if page.status == "Draft" or page.status == "Last Call" or page.status == "Abandoned" %} [DRAFT]{% endif %}," <em>Chain Agnostic Improvement Proposals</em>, no. {{
page.caip | xml_escape }}, {{ page.created | date: "%B %Y" }}. [Online serial]. Available:
https://github.com/ChainAgnostic/CAIPs/blob/master/CAIPs/caip-{{ page.caip | xml_escape }}.md</p>
</div>
{% comment %}
Article schema specification:
https://schema.org/TechArticle
{% endcomment %}
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "TechArticle",
"headline": "CAIP-{{ page.caip | xml_escape }}: {{ page.title | xml_escape }}{% if page.status == "Draft" or page.status == "Last Call" or page.status == "Abandoned" %} [DRAFT]{% endif %}",
"author": "{{ page.author }}",
"name": "CAIP-{{ page.caip | xml_escape }}: {{ page.title | xml_escape }}{% if page.status == "Draft" or page.status == "Last Call" or page.status == "Abandoned" %} [DRAFT]{% endif %}",
"dateCreated": "{{ page.created | date: "%Y-%m-%d" }}",
"datePublished": "{{ page.created | date: "%Y-%m-%d" }}",
{% if page["discussions-to"] != undefined %}
"discussionUrl": "{{ page["discussions-to"] | uri_escape }}",
{% endif %}
"inLanguage": "en-US",
"license": "#copyright",
"copyrightYear": "{{ page.created | date: "%Y" }}"
}
</script>