-
Notifications
You must be signed in to change notification settings - Fork 68
/
README.html
65 lines (61 loc) · 2.58 KB
/
README.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
<!DOCTYPE html>
<head>
<meta charset=utf8>
<title>About es5-spec</title>
<style>
li span.note { display: block; }
</style>
</head>
<h1>Annotated ECMAScript 5</h1>
<p>This repo holds a document that provides an annotated HTML view
of ECMA 262, the
<cite>ECMAScript Language Specification</cite> (5th edition).
The annotations are intended to be collaboratively maintained.</p>
<h2 id="contributing">How to contribute annotations</h2>
<p>If you would like to contribute annotations, here are the
preferred steps:</p>
<ol start="0">
<li>If you don’t have one already, create a
<a href="https://github.com/signup/free">GitHub user account</a>.</li>
<li>Use the GitHub Web UI to
<a href="https://github.com/es5/es5.github.io#fork_box"
>create your own fork of the es5-spec git repository</a>
and check it out to make a local es5-spec workspace.</li>
<li>Create the annotation in your workspace, using the next two
steps.</li>
<li>To make an annotation for, for example, section 10.2.1.2 of
the ES5 specification, create a file in the <code>anno</code>
subdirectory of your local es5-spec workspace named
<code>x10.2.1.2.html</code> (note the literal <code>x</code> at
the beginning of the filename.</li>
<li>Add your content to that file. The contents of the file should
be an HTML document fragment (not a complete document—you should
omit the <code>html</code>, <code>head</code>, and
<code>body</code> elements).
</li>
<li>Add a copyright statement with your name and e-mail address to the
<code>anno/LICENSE.txt</code>
file.<span class="note">
Note that by adding a copyright statement with your name and e-mail
address to that file, you are agreeing to contribute your annotations
under the terms of the license described in that file.</span></li>
<li>Commit the new annotation and updated
<code>anno/LICENSE.txt</code>
to your local git repository, then push it to your GitHub
es5-spec fork.</li>
<li>Send a
<a href="https://github.com/es5/es5.github.io/pulls">GitHub es5-spec pull request</a>
so that your change can be committed into the upstream source.</li>
</ol>
<h2>Important</h2>
It is important to note that <cite>Annotated ECMAScript 5</cite>
is <b>not</b> a normative version of the ECMAScript spec. Though
it does include the <b>full text</b> of the spec, it is in fact a
completely <b>non-normative</b> derivative work <i>based on</i>
the spec—strictly for the purpose of explaining the spec and
assisting in its implementation.</p>
<div id="stamp">
<p><img id="mascot" src="https://es5.github.io/js-mascot.svg"
alt=""></p>
<p id="slogan">Ex igne vita.</p>
</div>