diff --git a/_config.yml b/_config.yml index 6ab7b65d5c..58942c8e8e 100644 --- a/_config.yml +++ b/_config.yml @@ -17,6 +17,8 @@ keywords: scala-version: 2.13.3 scala-212-version: 2.12.12 +scala-3-version: 3.0.0-M3 +scala-3-plugin-version: 0.5.1 collections: style: @@ -90,10 +92,37 @@ defaults: type: "tour" values: overview-name: "Tour of Scala" + - + scope: + path: "_overviews/scala3-book" + values: + scala3: true + # num: 99 # to list them in the TOC, should be overwritten individually + partof: scala3-book + type: section + overview-name: "Scala 3 — Book" + layout: multipage-overview + permalink: "/scala3/book/:title.html" + - + scope: + path: "_overviews/scala3-macros" + values: + scala3: true + partof: scala3-macros + overview-name: "Macros in Scala 3" + layout: multipage-overview + permalink: "/scala3/guides/macros/:title.html" + - + scope: + path: "scala3" + values: + scala3: true + highlighter: rouge permalink: /:categories/:title.html:output_ext baseurl: +scala3ref: "https://dotty.epfl.ch/docs/reference" exclude: ["vendor"] plugins: - jekyll-redirect-from diff --git a/_data/scala3-doc-nav-header.yml b/_data/scala3-doc-nav-header.yml new file mode 100644 index 0000000000..823c440e3a --- /dev/null +++ b/_data/scala3-doc-nav-header.yml @@ -0,0 +1,17 @@ +- title: Learn + url: "#" + submenu: + - title: New in Scala 3 + url: "/scala3/new-in-scala3.html" + - title: Getting Started + url: "/scala3/getting-started.html" + - title: Scala 3 Book + url: "/scala3/book/introduction.html" + - title: Macro Tutorial + url: "/scala3/guides/macros/index.html" +- title: Migrate + url: "https://scalacenter.github.io/scala-3-migration-guide" +- title: Reference + url: "https://dotty.epfl.ch/docs/reference/overview.html" +- title: API + url: "https://dotty.epfl.ch/api/index.html" diff --git a/_includes/documentation-sections.html b/_includes/documentation-sections.html new file mode 100644 index 0000000000..4ca75f459d --- /dev/null +++ b/_includes/documentation-sections.html @@ -0,0 +1,28 @@ +
{{link.description}}
+{{link.description}}
-