You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: how-to/create.html
+51-21
Original file line number
Diff line number
Diff line change
@@ -76,27 +76,43 @@ <h2 id="forking">Forking</h2>
76
76
categories, just pick a self-descriptive name that you like.
77
77
</p>
78
78
<p>
79
-
You will then need to edit your specification. The file you will want to change will typically
80
-
be called <code>index.bs</code> (but other <code>*.bs</code> variants are possible). The
81
-
format is "Bikeshed", a Markdown flavour that is popular for specification writing and for
82
-
which you can <ahref="https://github.com/tabatkins/bikeshed/tree/master/docs">read
83
-
documentation online</a>. If you are familiar with Markdown you ought to find Bikeshed easy.
84
-
If you are of those who hate Markdown, do not despair: an alternative HTML-based format will
85
-
soon be made available as well.
79
+
You will then need to edit your specification. WebSpecs can come in two formats. If you see a
80
+
file called <code>index.bs</code> (or other <code>*.bs</code> file name variant, though those
81
+
are discouraged) then the syntax is “Bikeshed”. If there’s an <code>index.src.html</code> file
82
+
(or, again, <code>*.src.html</code> variants are technically possible but as of this writing
83
+
there actually aren’t any) then the format is “ReSpec”.
86
84
</p>
87
85
<p>
88
-
It is recommended to have a copy of Bikeshed installed (preferably in a directory parallel to
89
-
the specifications you are working on) but it is not required.
86
+
Bikeshed is a Markdown flavour popular for specification writing and for which you can <ahref="https://github.com/tabatkins/bikeshed/tree/master/docs">read documentation online</a>.
87
+
If you are familiar with Markdown you ought to find Bikeshed easy. If you are of those who
88
+
hate Markdown, do not despair: the alternative is an HTML-based format.
89
+
</p>
90
+
<p>
91
+
If you use Bikeshed, it is recommended to have a copy of Bikeshed installed (preferably in a
92
+
directory parallel to the specifications you are working on) but it is not required.
93
+
</p>
94
+
<p>
95
+
If you prefer HTML and JS to Markdown, WebSpecs can also be written using ReSpec. Like
96
+
Bikeshed it takes care of a lot of the things you don’t want to have to think about. You can
97
+
start from <ahref="http://www.w3.org/respec/examples/minimal-w3c.html">a very basic
98
+
example</a> and only tweak the configuration (near the top of the source) to set
99
+
<code>specStatus</code> to <code>"webspec"</code> and <code>repository</code> to the
100
+
<code>user/repo-name</code> string that fits your specification. Call the file
101
+
<code>index.src.html</code> and you’re good to go! It should look like
0 commit comments