Skip to content

Commit 9eec438

Browse files
committed
Add Jekyll
1 parent 45757f1 commit 9eec438

12 files changed

+109
-1
lines changed

docs/Gemfile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
source "https://rubygems.org"
2+
ruby RUBY_VERSION
3+
4+
# Hello! This is where you manage which Jekyll version is used to run.
5+
# When you want to use a different version, change it below, save the
6+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
7+
#
8+
# bundle exec jekyll serve
9+
#
10+
# This will help ensure the proper Jekyll version is running.
11+
# Happy Jekylling!
12+
gem "jekyll", "3.2.1"
13+
14+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
15+
gem "minima"
16+
17+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
18+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
19+
# gem "github-pages", group: :jekyll_plugins
20+
21+
# If you have any plugins, put them here!
22+
# group :jekyll_plugins do
23+
# gem "jekyll-github-metadata", "~> 1.0"
24+
# end

docs/_config.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely edit after that. If you find
5+
# yourself editing these this file very often, consider using Jekyll's data files
6+
# feature for the data you need to update frequently.
7+
#
8+
# For technical reasons, this file is *NOT* reloaded automatically when you use
9+
# 'jekyll serve'. If you change this file, please restart the server process.
10+
11+
# Site settings
12+
# These are used to personalize your new site. If you look in the HTML files,
13+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
14+
# You can create any custom variable you would like, and they will be accessible
15+
# in the templates via {{ site.myvariable }}.
16+
title: Your awesome title
17+
email: your-email@domain.com
18+
description: > # this means to ignore newlines until "baseurl:"
19+
Write an awesome description for your new site here. You can edit this
20+
line in _config.yml. It will appear in your document head meta (for
21+
Google search results) and in your feed.xml site description.
22+
baseurl: "" # the subpath of your site, e.g. /blog
23+
url: "http://example.com" # the base hostname & protocol for your site
24+
twitter_username: jekyllrb
25+
github_username: jekyll
26+
27+
# Build settings
28+
markdown: kramdown
29+
theme: minima

docs/css/main.scss

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
# Only the main Sass file needs front matter (the dashes are enough)
3+
---
4+
@charset "utf-8";
5+
6+
// Our variables
7+
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
8+
$base-font-size: 16px;
9+
$base-font-weight: 400;
10+
$small-font-size: $base-font-size * 0.875;
11+
$base-line-height: 1.5;
12+
13+
$spacing-unit: 30px;
14+
15+
$text-color: #111;
16+
$background-color: #fdfdfd;
17+
$brand-color: #2a7ae2;
18+
19+
$grey-color: #828282;
20+
$grey-color-light: lighten($grey-color, 40%);
21+
$grey-color-dark: darken($grey-color, 25%);
22+
23+
// Width of the content area
24+
$content-width: 800px;
25+
26+
$on-palm: 600px;
27+
$on-laptop: 800px;
28+
29+
// Minima also includes a mixin for defining media queries.
30+
// Use media queries like this:
31+
// @include media-query($on-palm) {
32+
// .wrapper {
33+
// padding-right: $spacing-unit / 2;
34+
// padding-left: $spacing-unit / 2;
35+
// }
36+
// }
37+
38+
// Import partials from the `minima` theme.
39+
@import "minima";

docs/dotc-scalac.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
layout: default
3+
---
4+
15
Differences between Scalac and Dotty
26
====================================
37
Overview explanation how symbols, named types and denotations hang together:

docs/index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
layout: default
3+
---
4+
15
Dotty Documentation
26
===================
37
The Dotty compiler is currently somewhat lacking in documentation - PRs
@@ -6,7 +10,7 @@ pages.
610

711
Index
812
-----
9-
* [Blog](blog/) posts written for scala-lang.org or dotty.epfl.ch
13+
* Blog posts written for scala-lang.org or dotty.epfl.ch
1014
* [Contributing](contributing/)
1115
- [Eclipse](contributing/eclipse.md) setting up dev environment
1216
- [Intellij-IDEA](contributing/intellij-idea.md) setting up dev environment

docs/type-system.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
layout: default
3+
---
4+
15
Type System
26
===========
37
The types are defined in [dotty/tools/dotc/core/Types.scala][1]

docs/usage/migrating.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
layout: default
3+
--
4+
15
Migrating to Dotty
26
==================
37

0 commit comments

Comments
 (0)