From 623b63fcfd5a8e58811491d237f44dfc042e3863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Brachth=C3=A4user?= Date: Mon, 21 Dec 2020 14:01:13 +0100 Subject: [PATCH] Fix missing language selection on landing page --- _layouts/documentation.html | 33 ++++++++++++++++++++++++++++++--- index.md | 2 ++ 2 files changed, 32 insertions(+), 3 deletions(-) diff --git a/_layouts/documentation.html b/_layouts/documentation.html index 8c3f178796..08aecc4a0d 100644 --- a/_layouts/documentation.html +++ b/_layouts/documentation.html @@ -25,12 +25,39 @@

{{page.title}}

-
+

Scala 2

-
+
+
+
+ Language + +
+
+ + + {% include documentation-sections.html sections=page.scala2-sections %}
@@ -39,7 +66,7 @@

Scala 2

Scala 3 (Preview)

-
+
Scala 3 has not been released, yet. We are still in the process of writing the documentation for Scala 3.
You can help us to improve the documentation. diff --git a/index.md b/index.md index cf0e45757c..d244e435e7 100644 --- a/index.md +++ b/index.md @@ -1,7 +1,9 @@ --- layout: documentation +languages: [ja, zh-cn, ru] title: Documentation namespace: root +discourse: true partof: documentation more-resources-label: More Resources