Skip to content

Commit

Permalink
Additional help for preamble-eip
Browse files Browse the repository at this point in the history
  • Loading branch information
SamWilsn committed Feb 14, 2023
1 parent 6d4b2e5 commit f14f325
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions docs/preamble-eip/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>preamble-eip</title>
<link rel="stylesheet" href="../main.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<article>
<h1><code>preamble-eip</code></h1>
<p>
The <code>eip</code> header is a non-negative integer.
</p>

<section>
<h2>Examples</h2>

<pre>error[preamble-eip]: preamble header `eip` must be an unsigned integer
--> input.md:2:5
|
2 | eip: 1abc
| ^^^^^ not a non-negative integer
|</pre>
</section>
<section>
<h2>Explanation</h2>

<p>
<code>preamble-eip</code> makes sure the <code>eip</code>
front matter (or preamble) field is a non-negative integer.
</p>

<p>
Each proposal is identified with a number. The
<code>eip</code> field holds that number.
</p>

<p>
Before an EIP Editor assigns a number, it is acceptable to
leave this field as <code>eip: &lt;to be assigned&gt;</code>
or omit it entirely.
</p>
</section>
</article>
</body>
</html>

0 comments on commit f14f325

Please sign in to comment.