Skip to content

Commit 21a5401

Browse files
authored
Merge pull request #14669 from dotty-staging/scaladoc/tweak-reference-documentation
Tweak Language Reference documentation
2 parents 3d06d94 + 4fc4951 commit 21a5401

File tree

27 files changed

+76
-39
lines changed

27 files changed

+76
-39
lines changed

docs/_blog/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<h1>{{ page.title }}</h1>
77

88
<ul class="post-list">
9-
{% for post in site.posts %}
9+
{% for post in site.subpages %}
1010
<li>
1111
<h2>
1212
<a href="{{ post.url }}">{{ post.title }}</a>

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

0 commit comments

Comments
 (0)