Skip to content

Commit e576f8d

Browse files
committed
Update from staging
1 parent 5d78497 commit e576f8d

File tree

12 files changed

+3640
-580
lines changed

12 files changed

+3640
-580
lines changed

_layouts/default.html

Lines changed: 49 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -2,82 +2,83 @@
22
<html>
33
<head>
44
<title>Eve Docs</title>
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=10.0, user-scalable=1" />
6-
<link rel="stylesheet" type="text/css" href="{{ site.url }}/css/style.css" />
7-
<link rel="stylesheet" type="text/css" href="{{ site.url }}/css/syntax.css" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=10.0, user-scalable=1" />
6+
<link rel="stylesheet" type="text/css" href="/css/style.css" />
7+
<link rel="stylesheet" type="text/css" href="/css/syntax.css" />
8+
<link rel="stylesheet" type="text/css" href="/css/codemirror-default-theme.css">
9+
<link rel="icon" type="image/png" href="https://witheve.github.io/assets/images/favicon.png">
810
<link rel="alternate" type="application/atom+xml" title="Eve Programming Language" href="/atom.xml" />
911
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700' rel='stylesheet' type='text/css'>
10-
<meta name="Description" content="This is the development blog of the Eve programming language">
12+
<meta name="Description" content="This is the documentation of the Eve programming language">
1113
</head>
1214
<body>
1315

1416
<div class="layer-wrapper header-wrapper">
15-
<header class="layer">
16-
<a href="http://witheve.com">
17-
<div class="logo">
18-
<img src="https://witheve.github.io/assets/images/logo_square.png" />
19-
<h1><img alt="EVE" src="https://witheve.github.io/assets/images/wordmark.svg" /></h1>
20-
</div>
21-
</a>
22-
<div class="flex-spacer"></div>
23-
<nav>
24-
<a class="btn rounded cta secondary play-cta" href="http://play.witheve.com">Play</a>
17+
<header class="layer">
18+
<a href="http://witheve.com">
19+
<div class="logo">
20+
<img src="https://witheve.github.io/assets/images/logo_square.png" />
21+
<h1><img alt="EVE" src="https://witheve.github.io/assets/images/wordmark.svg" /></h1>
22+
</div>
23+
</a>
24+
<div class="flex-spacer"></div>
25+
<nav>
26+
<a class="btn rounded cta secondary play-cta" href="http://play.witheve.com">Play</a>
2527

26-
<a href="http://incidentalcomplexity.com">Blog</a>
27-
<a href="{{ site.url }}">Docs</a>
28-
<a href="https://groups.google.com/forum/#!forum/eve-talk">Community</a>
29-
</nav>
30-
</header>
28+
<a href="http://incidentalcomplexity.com">Blog</a>
29+
<a href="/">Docs</a>
30+
<a href="https://groups.google.com/forum/#!forum/eve-talk">Community</a>
31+
</nav>
32+
</header>
3133
</div>
3234

3335

3436
<main class="main layer-wrapper">
3537
<div class="toplayer">
36-
3738
<div class="drawer">
3839
<div class="wrapper">
3940
<ul class="sidebar-menu">
4041
<li class="sub-menu">
41-
<a href="{{ site.url }}/v0.3/" class="">
42+
<a href="/v0.3/" class="">
4243

4344
<span class="colored">Introduction</span>
4445
<span class="menu-arrow arrow_carrot-right"></span>
4546
</a>
4647
<ul class="sub">
4748

48-
<li><a href="{{ site.url }}/v0.3/install/"> Installation </a> </li>
49+
<li><a href="/v0.3/install/"> Installation </a> </li>
4950

5051

51-
<li><a href="{{ site.url }}/v0.3/tutorials/quickstart/"> Quickstart </a> </li>
52+
<li><a href="/v0.3/tutorials/quickstart/"> Quickstart </a> </li>
5253

5354

54-
<li><a href="{{ site.url }}/v0.3/syntaxreference/"> Syntax Ref </a> </li>
55+
<li><a href="/v0.3/syntaxreference/"> Syntax Ref </a> </li>
5556

5657

5758
</ul>
5859
</li>
5960
<li class="sub-menu active">
60-
<a class="" href="{{ site.url }}/v0.3/handbook/libraries/stdlib/">
61+
<a class="" href="/v0.3/handbook/libraries/stdlib/">
6162

6263
<span class="colored">Library</span>
6364
</a>
6465
<ul class="sub">
6566

66-
<li><a href="{{ site.url }}/v0.3/handbook/libraries/stdlib/#aggregates">Aggregates</a></li>
67-
<li><a href="{{ site.url }}/v0.3/handbook/libraries/stdlib/#math">Math</a></li>
68-
<li><a href="{{ site.url }}/v0.3/handbook/libraries/stdlib/#strings">Strings</a></li>
69-
<li><a href="{{ site.url }}/v0.3/handbook/libraries/stdlib/#html">HTML</a></li>
70-
<li><a href="{{ site.url }}/v0.3/handbook/libraries/stdlib/#canvas">Canvas</a></li>
71-
<li><a href="{{ site.url }}/v0.3/handbook/libraries/stdlib/#ui">UI</a></li>
67+
<li><a href="/v0.3/handbook/libraries/stdlib/#aggregates">Aggregates</a></li>
68+
<li><a href="/v0.3/handbook/libraries/stdlib/#math">Math</a></li>
69+
<li><a href="/v0.3/handbook/libraries/stdlib/#strings">Strings</a></li>
70+
<li><a href="/v0.3/handbook/libraries/stdlib/#html">HTML</a></li>
71+
<li><a href="/v0.3/handbook/libraries/stdlib/#canvas">Canvas</a></li>
72+
<li><a href="/v0.3/handbook/libraries/stdlib/#ui">UI</a></li>
73+
<li><a href="/v0.3/handbook/libraries/stdlib/#system">System</a></li>
74+
<li><a href="/v0.3/handbook/libraries/stdlib/#file">File</a></li>
75+
<li><a href="/v0.3/handbook/libraries/stdlib/#console">Console</a></li>
7276

73-
7477
</ul>
7578
</li>
7679
</ul>
7780
</div>
7881
</div>
79-
80-
8182
<article class="article">
8283
<div class="wrapper">
8384
{{ content }}
@@ -86,15 +87,19 @@ <h1><img alt="EVE" src="https://witheve.github.io/assets/images/wordmark.svg" />
8687
</div>
8788
</main>
8889

89-
<script>
90-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
91-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
92-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
93-
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
90+
<script>
91+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
92+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
93+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
94+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
9495

95-
ga('create', 'UA-74222157-2', 'auto');
96-
ga('send', 'pageview');
97-
</script>
98-
</body>
99-
</head>
96+
ga('create', 'UA-74222157-2', 'auto');
97+
ga('send', 'pageview');
98+
</script>
99+
<script src="/js/highlighter-bundle.js"></script>
100+
<script>
101+
window["eve-highlighter"].highlightAll();
102+
</script>
103+
104+
</body>
100105
</html>

_layouts/post.html

Lines changed: 0 additions & 22 deletions
This file was deleted.

_layouts/specpost.html

Lines changed: 0 additions & 18 deletions
This file was deleted.

css/codemirror-default-theme.css

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/* DEFAULT THEME */
2+
3+
.cm-s-default .cm-header {color: blue;}
4+
.cm-s-default .cm-quote {color: #090;}
5+
.cm-negative {color: #d44;}
6+
.cm-positive {color: #292;}
7+
.cm-header, .cm-strong {font-weight: bold;}
8+
.cm-em {font-style: italic;}
9+
.cm-link {text-decoration: underline;}
10+
.cm-strikethrough {text-decoration: line-through;}
11+
12+
.cm-s-default .cm-keyword {color: #708;}
13+
.cm-s-default .cm-atom {color: #219;}
14+
.cm-s-default .cm-number {color: #164;}
15+
.cm-s-default .cm-def {color: #00f;}
16+
.cm-s-default .cm-variable,
17+
.cm-s-default .cm-punctuation,
18+
.cm-s-default .cm-property,
19+
.cm-s-default .cm-operator {}
20+
.cm-s-default .cm-variable-2 {color: #05a;}
21+
.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}
22+
.cm-s-default .cm-comment {color: #a50;}
23+
.cm-s-default .cm-string {color: #a11;}
24+
.cm-s-default .cm-string-2 {color: #f50;}
25+
.cm-s-default .cm-meta {color: #555;}
26+
.cm-s-default .cm-qualifier {color: #555;}
27+
.cm-s-default .cm-builtin {color: #30a;}
28+
.cm-s-default .cm-bracket {color: #997;}
29+
.cm-s-default .cm-tag {color: #170;}
30+
.cm-s-default .cm-attribute {color: #00c;}
31+
.cm-s-default .cm-hr {color: #999;}
32+
.cm-s-default .cm-link {color: #00c;}
33+
34+
.cm-s-default .cm-error {color: #f00;}
35+
.cm-invalidchar {color: #f00;}

css/style.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ nav > .play-cta { margin: 0; padding: 10px 20px; color: white; }
328328

329329
ul { display: block; margin-left: 2em; }
330330

331-
code { white-space: pre-wrap; font-family: "Inconsolata", "Monaco", "Consolas", "Ubuntu Mono", monospace; font-size: 0.9rem; }
331+
code { white-space: pre-wrap; font-family: "Inconsolata", "Monaco", "Consolas", "Ubuntu Mono", monospace; font-size: 0.9rem;}
332332

333333
strong { font-weight: 600; }
334334

@@ -351,6 +351,10 @@ td {
351351
margin-left: 0px;
352352
}
353353

354+
.arglist li {
355+
margin-top: 10px;
356+
}
357+
354358
.libitem {
355359
margin-bottom: 20px;
356360
}

css/syntax.css

Lines changed: 12 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -5,42 +5,15 @@
55
padding-left: 15px;
66
}
77

8-
.k {
9-
color: black;
10-
}
11-
12-
.c1 {
13-
color: #747474;
14-
}
15-
16-
.nt {
17-
color: rgb(0, 118, 206);
18-
}
19-
20-
.s {
21-
color: rgb(1, 165, 136);
22-
}
23-
24-
.m {
25-
color: rgb(1, 165, 136);
26-
}
27-
28-
.l {
29-
color: rgb(1, 165, 136);
30-
}
31-
32-
.p {
33-
color: gray;
34-
}
35-
36-
.nf {
37-
color: rgb(128, 128, 128);
38-
}
39-
40-
.s2 {
41-
color: rgb(1, 165, 136);
42-
}
43-
44-
.x {
45-
color: rgb(0, 0, 0);
46-
}
8+
.CodeMirror.cm-s-default span.cm-syntax { color: #747474; }
9+
.CodeMirror.cm-s-default span.cm-comment { color: #747474; font-style: italic; }
10+
.CodeMirror.cm-s-default span.cm-literal,
11+
.CodeMirror.cm-s-default span.cm-string,
12+
.CodeMirror.cm-s-default span.cm-number,
13+
.CodeMirror.cm-s-default span.cm-atom { color: #00a588; }
14+
.CodeMirror.cm-s-default span.cm-operator { font-weight: bold; }
15+
.CodeMirror.cm-s-default span.cm-keyword { font-weight: bold; color: rgb(74, 64, 136); }
16+
.CodeMirror.cm-s-default span.cm-section { color: black; }
17+
.CodeMirror.cm-s-default span.cm-tag,
18+
.CodeMirror.cm-s-default span.cm-def { color: #0076ce; }
19+
.CodeMirror.cm-s-default span.cm-function { color: #0076ce; }

index.html

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,39 +13,39 @@
1313
<meta name="generator" content="Hugo 0.19" />
1414

1515

16-
<link rel="canonical" href="{{ site-url }}/">
16+
<link rel="canonical" href="/">
1717

1818
<meta name="author" content="Eve">
1919

2020

21-
<meta property="og:url" content="{{ site-url }}/">
21+
<meta property="og:url" content="/">
2222
<meta property="og:title" content="Eve Documentation">
2323

2424
<meta name="apple-mobile-web-app-title" content="Eve Documentation">
2525
<meta name="apple-mobile-web-app-capable" content="yes">
2626
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
2727

28-
<link rel="shortcut icon" type="image/x-icon" href="{{ site-url }}/images/favicon.png">
29-
<link rel="icon" type="image/x-icon" href="{{ site-url }}/images/favicon.png">
28+
<link rel="shortcut icon" type="image/x-icon" href="https://witheve.github.io/assets/images/favicon.png">
29+
<link rel="icon" type="image/x-icon" href="https://witheve.github.io/assets/images/favicon.png">
3030

3131
<style>
3232
@font-face {
3333
font-family: 'Icon';
34-
src: url('{{ site-url }}/fonts/icon.eot?52m981');
35-
src: url('{{ site-url }}/fonts/icon.eot?#iefix52m981')
34+
src: url('/fonts/icon.eot?52m981');
35+
src: url('/fonts/icon.eot?#iefix52m981')
3636
format('embedded-opentype'),
37-
url('{{ site-url }}/fonts/icon.woff?52m981')
37+
url('/fonts/icon.woff?52m981')
3838
format('woff'),
39-
url('{{ site-url }}/fonts/icon.ttf?52m981')
39+
url('/fonts/icon.ttf?52m981')
4040
format('truetype'),
41-
url('{{ site-url }}/fonts/icon.svg?52m981#icon')
41+
url('/fonts/icon.svg?52m981#icon')
4242
format('svg');
4343
font-weight: normal;
4444
font-style: normal;
4545
}
4646
</style>
4747

48-
<link rel="stylesheet" href="{{ site-url }}/css/style.css">
48+
<link rel="stylesheet" href="/css/style.css">
4949

5050
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Ubuntu:400,700|Ubuntu&#43;Mono">
5151
<style>
@@ -57,8 +57,8 @@
5757
}
5858
</style>
5959

60-
<link href="{{ site-url }}/index.xml" rel="alternate" type="application/rss+xml" title="Eve Documentation" />
61-
<link href="{{ site-url }}/index.xml" rel="feed" type="application/rss+xml" title="Eve Documentation" />
60+
<link href="/index.xml" rel="alternate" type="application/rss+xml" title="Eve Documentation" />
61+
<link href="/index.xml" rel="feed" type="application/rss+xml" title="Eve Documentation" />
6262

6363

6464
</head>
@@ -69,15 +69,15 @@
6969
<a href="http://witheve.com">
7070
<div class="logo">
7171
<img src="https://witheve.github.io/assets/images/logo_square.png" />
72-
<h1><img alt="EVE" src="{{ site-url }}/images/eve.svg" /></h1>
72+
<h1><img alt="EVE" src="/images/eve.svg" /></h1>
7373
</div>
7474
</a>
7575
<div class="flex-spacer"></div>
7676
<nav>
7777
<a class="btn rounded cta secondary play-cta" href="http://play.witheve.com">Play</a>
7878

7979
<a href="http://incidentalcomplexity.com">Blog</a>
80-
<a href="{{ site-url }}">Docs</a>
80+
<a href="/">Docs</a>
8181
<a href="https://groups.google.com/forum/#!forum/eve-talk">Community</a>
8282
</nav>
8383
</header>
@@ -88,8 +88,8 @@ <h1><img alt="EVE" src="{{ site-url }}/images/eve.svg" /></h1>
8888
<div class="version-wrapper">
8989
<h2>Which version of Eve are you running?</h2>
9090
<div class="version">
91-
<a class="btn big rounded cta tertiary version-btn" href="{{ site-url }}/v0.2/index.html">v0.2 Documentation</a>
92-
<a class="btn big rounded cta tertiary version-btn" href="{{ site-url }}/v0.3/index.html">v0.3 Documentation</a>
91+
<a class="btn big rounded cta tertiary version-btn" href="/v0.2/index.html">v0.2 Documentation</a>
92+
<a class="btn big rounded cta tertiary version-btn" href="/v0.3/index.html">v0.3 Documentation</a>
9393
</div>
9494
</div>
9595
</div>

0 commit comments

Comments
 (0)