Skip to content

Commit efb035d

Browse files
committed
give Anarki its own copy of the tutorial
Triggered by jsgrahamus's comment: http://arclanguage.org/item?id=20234
1 parent a0dad31 commit efb035d

File tree

5 files changed

+2662
-4
lines changed

5 files changed

+2662
-4
lines changed

_config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
navbar:
2-
- url: http://ycombinator.com/arc/tut.txt
3-
label: Tutorial
2+
- url: http://arclanguage.org
3+
label: Arc
44
- url: http://arclanguage.org/forum
55
label: Forum
66
- url: http://paulgraham.com/arc.html

_layouts/tut.html

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Arc Programming Language</title>
6+
<link rel="shortcut icon" href="/assets/favicon.png">
7+
<link href="/assets/bootstrap.css" rel="stylesheet">
8+
</head>
9+
10+
<body style='width:40em'>
11+
<header>
12+
<div class="navbar navbar-inverse">
13+
<div class="navbar-inner">
14+
<ul class="nav navbar-nav">
15+
{% for item in site.navbar %}
16+
<li {% if page.url contains item.url %}class="active"{% endif %}>
17+
<a href="{{ item.url }}">{{ item.label }}</a>
18+
</li>
19+
{% endfor %}
20+
</ul>
21+
</div>
22+
</div>
23+
</header>
24+
25+
<div class="container-fluid">
26+
{{ content }}
27+
</div>
28+
</body>
29+
</html>

index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title: Arc Programming Language
1111
</div>
1212
<ul>
1313
<li>Try it in your browser at <a href='http://tryarc.org'>tryarc.org</a>.</li>
14-
<li>Work through the official <a href='http://ycombinator.com/arc/tut.txt'>tutorial</a>.</li>
14+
<li>Work through the <a href='tut-stable.html'>tutorial</a>.</li>
1515
<li>Read the <a href='/ref/'>detailed documentation</a>.</li>
1616
<li>Future official versions may make incompatible changes.</li>
1717
</ul>
@@ -37,7 +37,7 @@ title: Arc Programming Language
3737
href='https://sites.google.com/site/arclanguagewiki/arc-3_1/known-bugs-and-gotchas'>bugfixes</a>
3838
from the folks at <a href='http://arclanguage.org/forum'>the forum</a>.
3939
(Arc 3.1 was last updated in 2009.)</li>
40-
<li>Tries to keep with the spirit and philosophy of Arc. The <a href='http://ycombinator.com/arc/tut.txt'>tutorial</a> still applies to it.</li>
40+
<li>Tries to keep with the spirit and philosophy of Arc. <a href='tut-anarki.html'>Its version of the tutorial</a> mostly follows Arc 3.1.</li>
4141
<li>Like Arc, makes no guarantees of compatibility. Anyone can make changes to it.</li>
4242
<li>Commit privileges freely given to anyone who asks.</li>
4343
<li>A gateway to <a href='https://sites.google.com/site/arclanguagewiki'>more arcane forks</a>.</li>

0 commit comments

Comments
 (0)