Skip to content

Commit

Permalink
Archive for previous versions of the spec (#155)
Browse files Browse the repository at this point in the history
Sets up a folder to retain older versions of the spec in for reference.
  • Loading branch information
toji authored Nov 30, 2016
1 parent 201b845 commit bb55cc1
Show file tree
Hide file tree
Showing 7 changed files with 5,287 additions and 6 deletions.
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
.PHONY: all index.html
.PHONY: all index.html archive/prerelease/1.1/index.html

all: index.html
all: index.html archive/prerelease/1.1/index.html

latest: index.html

index.html: index.bs
curl https://api.csswg.org/bikeshed/ -F [email protected] -F output=err
curl https://api.csswg.org/bikeshed/ -F [email protected] -F force=1 > index.html | tee

archive/prerelease/1.1/index.html: archive/prerelease/1.1/index.bs
curl https://api.csswg.org/bikeshed/ -F file=@archive/prerelease/1.1/index.bs -F output=err
curl https://api.csswg.org/bikeshed/ -F file=@archive/prerelease/1.1/index.bs -F force=1 > archive/prerelease/1.1/index.html | tee
29 changes: 29 additions & 0 deletions archive/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!doctype html><html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>WebVR Archives</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<body class="h-entry">
<div class="head">
<h1 class="p-name no-ref" id="title">WebVR Spec Archives</h1>
</div>
<main>
<p>
These are deprecated versions of the WebVR spec, preserved here for
reference purposes.
</p>
<h2 class="heading settled" id="prerelease"><span class="content">
Pre-release versions
</h2>
<p>
These variants of the spec do not represent the final shape of the API but
may still be available in some browsers. Version numbers are to aid in
communication about the specs only and are not indicitive of support status.
</p>
<ul>
<li><a href="prerelease/1.1/">Pre-release v1.1</a></li>
</ul>
</main>
</body>
</html>
746 changes: 746 additions & 0 deletions archive/prerelease/1.1/index.bs

Large diffs are not rendered by default.

Loading

0 comments on commit bb55cc1

Please sign in to comment.