Skip to content

Commit d0232dd

Browse files
committed
Initial commit
0 parents  commit d0232dd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+2095
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_site
2+
.sass-cache
3+
.jekyll-metadata

LICENSE.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# MIT License
2+
3+
Copyright (c) 2016 Hugo Locurcio and contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Nim website development
2+
3+
## `jekyll_prototype`
4+
5+
A [Jekyll](http://jekyllrb.com/) prototype (news entries are copy-pasted from
6+
the current site). Install Jekyll, then use `jekyll serve` to serve to a local
7+
Web server with automatic refresh on changes.
8+
9+
## License
10+
11+
MIT, see [LICENSE.md](/LICENSE.md) for details.

jekyll_prototype/_config.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Site settings
2+
title: Nim
3+
description: >
4+
The Nim programming language is a concise, fast programming language that
5+
compiles to C, C++ and JavaScript.
6+
baseurl: ""
7+
8+
# Build settings
9+
markdown: kramdown
10+
permalink: pretty
11+
sass:
12+
style: compressed
13+
exclude:
14+
- CNAME
15+
- README.md
16+
- LICENSE.md
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<footer>
2+
<section class="content">
3+
<div class="pure-g">
4+
<div class="pure-u-1 pure-u-sm-1-2 pure-u-md-1-4">
5+
<h3>Documentation</h3>
6+
<ul>
7+
<li><a href="http://nim-lang.org/news/documentation.html">Stable Documentation</a></li>
8+
<li><a href="http://nim-lang.org/news/learn.html">Learning Resources</a></li>
9+
<li><a href="https://github.com/nim-lang/nim">Issues &amp; Requests</a></li>
10+
<br>
11+
<li><a href="{{ site.baseurl }}/documentation/">More…</a></li>
12+
</ul>
13+
</div>
14+
<div class="pure-u-1 pure-u-sm-1-2 pure-u-md-1-4">
15+
<h3>Community</h3>
16+
<ul>
17+
<li><a href="http://forum.nim-lang.org/">User Forum</a></li>
18+
<li><a href="http://webchat.freenode.net/?channels=nim">Online IRC</a></li>
19+
<li><a href="http://irclogs.nim-lang.org/">IRC Logs</a></li>
20+
<br>
21+
<li><a href="{{ site.baseurl }}/community/">More…</a></li>
22+
</ul>
23+
</div>
24+
</div>
25+
<div class="text-centered copyright">
26+
<p>© 2016 Nim developers</p>
27+
</div>
28+
</section>
29+
</footer>
30+
<script src="{{ site.baseurl }}/assets/js/highlight.pack.js"></script>
31+
<script>hljs.initHighlightingOnLoad();</script>

jekyll_prototype/_includes/head.html

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<head>
2+
<meta name="charset" content="utf-8">
3+
<meta name="viewport" content="width=device-width, initial-scale=1">
4+
<meta name="description" content="{{ site.description | normalize_whitespace }}">
5+
<title>{{ page.title }} | {{ site.title }}</title>
6+
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/pure.min.css">
7+
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/pure-grids-responsive.min.css">
8+
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/highlight/atom-one-dark.css">
9+
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/main.css">
10+
</head>
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<header>
2+
<nav class="pure-menu pure-menu-horizontal pure-menu-scrollable">
3+
<div class="nav-content">
4+
<a href="{{ site.baseurl }}/" class="pure-menu-heading pure-menu-link">
5+
<img src="{{ site.baseurl }}/assets/img/logo.svg" height="30" alt="Nim">
6+
</a>
7+
<div class="menu-separator"></div>
8+
<ul class="pure-menu-list">
9+
<li class="pure-menu-item"><a href="{{ site.baseurl }}/news/" class="pure-menu-link">News</a></li>
10+
<li class="pure-menu-item"><a href="{{ site.baseurl }}/download/" class="pure-menu-link">Download</a></li>
11+
<li class="pure-menu-item"><a href="{{ site.baseurl }}/contribute/" class="pure-menu-link">Contribute</a></li>
12+
</ul>
13+
</div>
14+
</nav>
15+
</header>
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!doctype html>
2+
<html lang="en">
3+
{% include head.html %}
4+
<body class="site">
5+
{% include header.html %}
6+
<div class="site-content">
7+
{{ content }}
8+
</div>
9+
{% include footer.html %}
10+
</body>
11+
</html>

jekyll_prototype/_layouts/page.html

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!doctype html>
2+
<html lang="en">
3+
{% include head.html %}
4+
<body class="site">
5+
{% include header.html %}
6+
<div class="site-content">
7+
{{ content }}
8+
</div>
9+
{% include footer.html %}
10+
</body>
11+
</html>

jekyll_prototype/_layouts/post.html

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!doctype html>
2+
<html lang="en">
3+
{% include head.html %}
4+
<body class="site">
5+
{% include header.html %}
6+
<div class="site-content">
7+
<div class="content post-info">
8+
<h1 class="main-heading page-title post-title text-centered">{{ page.title }}</h1>
9+
<h3 class="post-date text-centered">{{ page.date | date_to_long_string }}</h3>
10+
</div>
11+
<div class="content">
12+
<div class="width-reduced">
13+
{{ content }}
14+
</div>
15+
</div>
16+
</div>
17+
{% include footer.html %}
18+
</div>
19+
</body>
20+
</html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
layout: post
3+
title: "Version 0.14.2 released"
4+
excerpt: "Version 0.14.2 is just a bugfix release that fixes the most pressing regressions. In particular, the tar.xz now supports documentation generation, and the Windows installers bundle the latest stable nimble release."
5+
---
6+
7+
<p>Version 0.14.2 is just a bugfix release that fixes the most pressing regressions. In particular, the <tt class="docutils literal"><span class="pre">tar.xz</span></tt> now supports documentation generation, and the Windows installers bundle the latest stable nimble release.</p>
8+
<p>The news about the 0.14.0 release are still relevant, so check them out <a class="reference external" href="http://nim-lang.org/news/2016_06_07_version_0_14_0_released.html">here</a>. </p>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
layout: post
3+
title: "Launching the 2016 Nim Community Survey"
4+
excerpt: "We are proud to announce the official 2016 Nim Community Survey! No matter whether you use Nim today, have used Nim previously, or never used Nim before; we want to know your opinions. Your feedback will help the Nim project understand its strengths and weaknesses, and to determine development priorities for the future."
5+
---
6+
7+
<p>We are proud to announce the official <a class="reference external" href="http://goo.gl/forms/XJ3TPsaiIQe5HlTB2">2016 Nim Community Survey</a>! No matter whether you use Nim today, have used Nim previously, or never used Nim before; we want to know your opinions. Your feedback will help the Nim project understand its strengths and weaknesses, and to determine development priorities for the future.</p>
8+
<p>It shouldn't take you much longer than 5 to 10 minutes to complete this survey. Submissions will be accepted until around the 23rd of July, depending on the response rates. If you have any questions or feedback, please don't hesitate to get in touch with us via email at [email protected] or on the <a class="reference external" href="http://forum.nim-lang.org">Nim Forum</a>.</p>
9+
<p>We would appreciate your help in spreading the word about this survey. Share the above link on your social network feeds, with your colleagues and in other communities.</p>
10+
<p>Thank you to everyone that helped develop and test the survey! Once the submission period ends, the results will be shown here and publicised via Twitter, the Nim Forum and IRC.</p>
11+
<p>Thanks for your time! </p>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
layout: post
3+
title: "BountySource Update: The Road to v1.0"
4+
excerpt: "We are now in the fourth month of the Nim BountySource fundraiser and here is this month's update. Once again this month, we have beat our previous donation record of $1280 having raised over $1600 over the course of July! That's now 4 months in a row that your monthly donations have been increasing."
5+
---
6+
7+
<p>We are now in the fourth month of the <a class="reference external" href="https://salt.bountysource.com/teams/nim">Nim BountySource fundraiser</a> and here is this month's update[1]. Once again this month, we have beat our previous donation record of $1280 having raised over $1600 over the course of July! That's now 4 months in a row that your monthly donations have been increasing. As always we are absolutely blown away by your contributions, <a class="reference external" href="https://github.com/dom96">myself</a> and the rest of the Nim team are extremely thankful for them. It's not only helping us pay for the necessary expenses (like for example the server that <a class="reference external" href="http://nim-lang.org">http://nim-lang.org</a> runs on) but it also inspires us to keep going and to make Nim the best programming language that it can be.</p>
8+
<p>As mentioned in <a class="reference external" href="https://salt.bountysource.com/teams/nim/updates/3-engaging-with-our-community">last month's update</a>, we have begun the process of engaging with the Nim community through a survey. This survey has now been open for more than a month and will be closing very soon (in about 2 days), so if you haven't answered it yet, now would be a perfect time to do so. You can find the survey here: <a class="reference external" href="http://nim-lang.org/survey">http://nim-lang.org/survey</a>.</p>
9+
<p>The survey itself has been designed for three types of people: Nim users, ex-Nim users and people who have never used Nim before. This means that you have no excuse not to answer it[2]. There are almost 700 submissions and after the survey is finalised, a blog post will be written with a thorough analysis.</p>
10+
<p>It is my hope that the survey analysis will give the Nim team a good idea of what needs to be implemented before version 1.0 can be released. Personally, I hope to make a thorough review of the standard library to ensure that it is ready for the &quot;1.0 backwards compatibility lock&quot;[3]. Although I myself have been very busy lately[4], <a class="reference external" href="http://github.com/Araq">Araq</a> has been working very hard to fix <a class="reference external" href="https://github.com/nim-lang/Nim/issues?q=is%3Aissue+is%3Aopen+label%3A%22High+Priority%22">High Priority</a> issues, ahead of the 1.0 release. And as always, there has also been a <a class="reference external" href="https://github.com/nim-lang/Nim/pulse">lot of pull requests</a> from a wide range of Nim users.</p>
11+
<p>Lastly, I would like to mention <a class="reference external" href="https://manning.com/books/nim-in-action?a_aid=niminaction&amp;a_bid=78a27e81">Nim in Action</a> once again. I have recently finished the final chapter. All that remains now are corrections (based mainly on your feedback, huge thanks to everyone for reading!) and a final review. The book will then be put into production[5] with an estimated print date of around the 20th of January (as usual delays are very much possible). If you have not yet picked up the book, now would be a perfect time to do so. There is still time for you to give feedback about the book, and for me to improve it based on your remarks. It is not often that you can influence a book in this way, and it is my hope that you will help me make this book one of the best resources for learning Nim!</p>
12+
<p>As always, many thanks for reading and if you have any questions or feedback feel free to get in touch via email at [email protected] or via <a class="reference external" href="https://twitter.com/nim_lang">Twitter</a>.</p>
13+
<p>1 - These updates have so far been fairly regular and it is my hope to write at least one a month. Yep, I am patting myself on the back :)</p>
14+
<p>2 - I joke of course, don't worry about if you don't have the time :)</p>
15+
<p>3 - After version 1.0, it is typical for a piece of software (especially a programming language) to ensure that backwards compatibility is not broken between further minor versions until a new major version such as 2.0 is released.</p>
16+
<p>4 - Writing a book, moving to Switzerland to start a new job, and playing <a class="reference external" href="https://pokemongostatus.org/">Pokemon Go</a> has certainly kept me busy.</p>
17+
<p>5 - Basically the brilliant guys at <a class="reference external" href="https://manning.com">Manning</a> will process the book so that it looks good in a printed format. </p>

jekyll_prototype/_sass/_fonts.scss

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
/* titillium-web-regular - latin */
2+
@font-face {
3+
font-family: "Titillium Web";
4+
font-style: normal;
5+
font-weight: 400;
6+
src: url("../fonts/titillium-web-v4-latin-regular.eot"); /* IE9 Compat Modes */
7+
src: local("Titillium Web"), local("TitilliumWeb-Regular"),
8+
url("../fonts/titillium-web-v4-latin-regular.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
9+
url("../fonts/titillium-web-v4-latin-regular.woff2") format("woff2"), /* Super Modern Browsers */
10+
url("../fonts/titillium-web-v4-latin-regular.woff") format("woff"), /* Modern Browsers */
11+
url("../fonts/titillium-web-v4-latin-regular.ttf") format("truetype"), /* Safari, Android, iOS */
12+
url("../fonts/titillium-web-v4-latin-regular.svg#TitilliumWeb") format("svg"); /* Legacy iOS */
13+
}
14+
15+
/* titillium-web-italic - latin */
16+
@font-face {
17+
font-family: "Titillium Web";
18+
font-style: italic;
19+
font-weight: 400;
20+
src: url("../fonts/titillium-web-v4-latin-italic.eot"); /* IE9 Compat Modes */
21+
src: local("Titillium WebItalic"), local("TitilliumWeb-Italic"),
22+
url("../fonts/titillium-web-v4-latin-italic.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
23+
url("../fonts/titillium-web-v4-latin-italic.woff2") format("woff2"), /* Super Modern Browsers */
24+
url("../fonts/titillium-web-v4-latin-italic.woff") format("woff"), /* Modern Browsers */
25+
url("../fonts/titillium-web-v4-latin-italic.ttf") format("truetype"), /* Safari, Android, iOS */
26+
url("../fonts/titillium-web-v4-latin-italic.svg#TitilliumWeb") format("svg"); /* Legacy iOS */
27+
}
28+
29+
/* titillium-web-700 - latin */
30+
@font-face {
31+
font-family: "Titillium Web";
32+
font-style: normal;
33+
font-weight: 700;
34+
src: url("../fonts/titillium-web-v4-latin-700.eot"); /* IE9 Compat Modes */
35+
src: local("Titillium WebBold"), local("TitilliumWeb-Bold"),
36+
url("../fonts/titillium-web-v4-latin-700.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
37+
url("../fonts/titillium-web-v4-latin-700.woff2") format("woff2"), /* Super Modern Browsers */
38+
url("../fonts/titillium-web-v4-latin-700.woff") format("woff"), /* Modern Browsers */
39+
url("../fonts/titillium-web-v4-latin-700.ttf") format("truetype"), /* Safari, Android, iOS */
40+
url("../fonts/titillium-web-v4-latin-700.svg#TitilliumWeb") format("svg"); /* Legacy iOS */
41+
}
42+
43+
/* titillium-web-700italic - latin */
44+
@font-face {
45+
font-family: "Titillium Web";
46+
font-style: italic;
47+
font-weight: 700;
48+
src: url("../fonts/titillium-web-v4-latin-700italic.eot"); /* IE9 Compat Modes */
49+
src: local("Titillium WebBold Italic"), local("TitilliumWeb-BoldItalic"),
50+
url("../fonts/titillium-web-v4-latin-700italic.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
51+
url("../fonts/titillium-web-v4-latin-700italic.woff2") format("woff2"), /* Super Modern Browsers */
52+
url("../fonts/titillium-web-v4-latin-700italic.woff") format("woff"), /* Modern Browsers */
53+
url("../fonts/titillium-web-v4-latin-700italic.ttf") format("truetype"), /* Safari, Android, iOS */
54+
url("../fonts/titillium-web-v4-latin-700italic.svg#TitilliumWeb") format("svg"); /* Legacy iOS */
55+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
/*
2+
3+
Atom One Dark by Daniel Gamage
4+
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
5+
6+
base: #282c34
7+
mono-1: #abb2bf
8+
mono-2: #818896
9+
mono-3: #5c6370
10+
hue-1: #56b6c2
11+
hue-2: #61aeee
12+
hue-3: #c678dd
13+
hue-4: #98c379
14+
hue-5: #e06c75
15+
hue-5-2: #be5046
16+
hue-6: #d19a66
17+
hue-6-2: #e6c07b
18+
19+
*/
20+
21+
.hljs {
22+
display: block;
23+
overflow-x: auto;
24+
padding: 0.5em;
25+
color: #abb2bf;
26+
background: #282c34;
27+
}
28+
29+
.hljs-comment,
30+
.hljs-quote {
31+
color: #5c6370;
32+
font-style: italic;
33+
}
34+
35+
.hljs-doctag,
36+
.hljs-keyword,
37+
.hljs-formula {
38+
color: #c678dd;
39+
}
40+
41+
.hljs-section,
42+
.hljs-name,
43+
.hljs-selector-tag,
44+
.hljs-deletion,
45+
.hljs-subst {
46+
color: #e06c75;
47+
}
48+
49+
.hljs-literal {
50+
color: #56b6c2;
51+
}
52+
53+
.hljs-string,
54+
.hljs-regexp,
55+
.hljs-addition,
56+
.hljs-attribute,
57+
.hljs-meta-string {
58+
color: #98c379;
59+
}
60+
61+
.hljs-built_in,
62+
.hljs-class .hljs-title {
63+
color: #e6c07b;
64+
}
65+
66+
.hljs-variable,
67+
.hljs-template-variable,
68+
.hljs-type,
69+
.hljs-selector-class,
70+
.hljs-selector-attr,
71+
.hljs-selector-pseudo,
72+
.hljs-number {
73+
color: #d19a66;
74+
}
75+
76+
.hljs-symbol,
77+
.hljs-bullet,
78+
.hljs-link,
79+
.hljs-meta,
80+
.hljs-selector-id,
81+
.hljs-title {
82+
color: #61aeee;
83+
}
84+
85+
.hljs-emphasis {
86+
font-style: italic;
87+
}
88+
89+
.hljs-strong {
90+
font-weight: bold;
91+
}
92+
93+
.hljs-link {
94+
text-decoration: underline;
95+
}

0 commit comments

Comments
 (0)