Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Commit 644086c

Browse files
authored
Merge pull request #132 from larsrh/topic/reconstruct-readme
Reconstruct readme branch
2 parents 009e3bb + 97b2379 commit 644086c

File tree

13 files changed

+648
-5
lines changed

13 files changed

+648
-5
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,6 @@
5959
/project/project/target/
6060
/project/project/project/target/
6161
/build-sbt/
62+
63+
# Microsite auto-sync Readme file
64+
/src/main/tut/index.md

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
---
2-
layout: home
3-
---
1+
[![Build Status](https://travis-ci.org/typelevel/scala.svg?branch=typelevel-readme)](https://travis-ci.org/typelevel/scala) [![Join the chat at https://gitter.im/typelevel/scala](https://badges.gitter.im/typelevel/scala.svg)](https://gitter.im/typelevel/scala?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
42

53
# Typelevel Scala
64

build.sbt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import microsites._
2+
13
name := "Scala"
24
version := "1.0"
35
scalaVersion := "2.11.8"
@@ -9,7 +11,13 @@ micrositeHomepage := "http://typelevel.org/scala"
911
micrositeGithubOwner := "typelevel"
1012
micrositeGithubRepo := "scala"
1113
micrositeBaseUrl := "scala"
12-
micrositeExtraMdFiles := Map(file("README.md") -> "index.md")
14+
micrositeDocumentationUrl := "docs"
15+
micrositeExtraMdFiles := Map(
16+
file("README.md") -> ExtraMdFileConfig(
17+
"index.md",
18+
"home"
19+
)
20+
)
1321
micrositeHighlightTheme := "atom-one-light"
1422
micrositePalette := Map(
1523
"brand-primary" -> "#FC4053",

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
addSbtPlugin("com.fortysevendeg" % "sbt-microsites" % "0.2.4")
1+
addSbtPlugin("com.fortysevendeg" % "sbt-microsites" % "0.4.0")
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
options:
2+
- title: Getting Started
3+
url: docs/index.html
4+
5+
- title: Basic structure
6+
url: docs/basic_structure.html
7+
8+
- title: Project folders
9+
url: docs/project_structure.html
10+
11+
- title: Compiler phases
12+
url: docs/phases.html
13+
14+
- title: Trees
15+
url: docs/trees.html
16+
17+
- title: Symbols
18+
url: docs/symbols.html
19+
20+
- title: Types
21+
url: docs/types.html
22+
23+
- title: References
24+
url: docs/references.html
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: docs
3+
title: Basic structure of the Compiler
4+
---
5+
6+
Understanding the basic structure
7+
8+
WIP
9+
10+
Want to contribute? [Edit this file](https://github.com/typelevel/scala/edit/typelevel-readme/src/main/resources/microsite/docs/basic_structure.md)
11+
12+
13+
14+
15+

src/main/tut/docs/index.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
layout: docs
3+
title: Getting Started
4+
---
5+
6+
The description part is intended as a guide for programmers seeking to understand the structure,
7+
and operation of the compiler, and its implementation. Some of its aspects are the following ones:
8+
9+
Some of these contents provide an overview of the compiler code and operation, and the organisation of
10+
the project.
11+
12+
* [Basic structure of the Scala Compiler](./basic_structure.html)
13+
* [Project folder structure](./project_structure.html)
14+
* [Compiler phases](./phases.html)
15+
16+
Some contents are specifically dedicated to the key data structures in the compiler that
17+
represents elements of the Scala language.
18+
19+
* [Trees](./trees.html)
20+
* [Symbols](./symbols.html)
21+
* [Types](./types.html)
22+
23+
If you want to contribute, you can easily do so via edit links present at the bottom of the pages [like this one](https://github.com/typelevel/scala/edit/typelevel-readme/src/main/resources/microsite/docs/index.md)

0 commit comments

Comments
 (0)