Skip to content

Commit 4babac0

Browse files
committed
Add table of contents to section indexes. Hide version dropdown in reference documentation.
1 parent ba57cdd commit 4babac0

File tree

23 files changed

+58
-31
lines changed

23 files changed

+58
-31
lines changed

docs/_docs/contributing/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
layout: index
3+
title: Contributing
4+
---

docs/_docs/index.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
layout: doc-page
3-
redirectFrom: docs/index.html
2+
layout: index
3+
redirectFrom: /docs/index.html
44
---
55

66
Dotty is the project name for technologies that are considered for inclusion in Scala 3. Scala has
@@ -16,7 +16,3 @@ be a big step towards realizing the full potential of these ideas. Its main obje
1616
In this documentation you will find information on how to use the Dotty compiler on your machine,
1717
navigate through the code, setup Dotty with your favorite IDE and more!
1818

19-
Table of Contents
20-
=================
21-
{% assign titles = sidebar.titles %}
22-
{% include "table-of-contents" %}

docs/_docs/internals/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout: index
3+
title: Internals
4+
---
5+

docs/_docs/reference/changed-features/changed-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: doc-page
2+
layout: index
33
title: "Other Changed Features"
44
movedTo: https://docs.scala-lang.org/scala3/reference/changed-features.html
55
---

docs/_docs/reference/contextual/contextual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: doc-page
2+
layout: index
33
title: "Contextual Abstractions"
44
movedTo: https://docs.scala-lang.org/scala3/reference/contextual.html
55
---

docs/_docs/reference/dropped-features/dropped-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: doc-page
2+
layout: index
33
title: "Dropped Features"
44
movedTo: https://docs.scala-lang.org/scala3/reference/dropped-features.html
55
---

docs/_docs/reference/enums/enums-index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: doc-page
2+
layout: index
33
title: "Enums"
44
movedTo: https://docs.scala-lang.org/scala3/reference/enums.html
55
---

docs/_docs/reference/experimental/named-typeargs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: doc-page
33
title: "Named Type Arguments"
4-
redirectFrom: reference/other-new-features/named-typeargs.html
4+
redirectFrom: /docs/reference/other-new-features/named-typeargs.html
55
movedTo: https://docs.scala-lang.org/scala3/reference/experimental/named-typeargs.html
66
---
77

docs/_docs/reference/experimental/overview.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
layout: doc-page
3-
title: "Overview"
3+
title: "Experimental"
44
movedTo: https://docs.scala-lang.org/scala3/reference/experimental/overview.html
5+
redirectFrom: overview.html
56
---
67

78
### Experimental language features

docs/_docs/reference/language-versions/language-versions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: doc-page
2+
layout: index
33
title: "Language Versions"
44
---
55

0 commit comments

Comments
 (0)