Skip to content

Commit 54a287f

Browse files
committed
Fix dead links for docs and add simple test for sourcelinks
1 parent 617f127 commit 54a287f

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

docs/docs/contributing/getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,6 @@ Before contributing to Dotty, we invite you to consult the
9595
Community
9696
-------------
9797
The main development discussion channels are:
98-
- [github.com/lampepfl/dotty/discussions](github.com/lampepfl/dotty/discussions)
99-
- [contributors.scala-lang.org](contributors.scala-lang.org)
100-
- [gitter.im/scala/contributors](gitter.im/scala/contributors)
98+
- [github.com/lampepfl/dotty/discussions](https://github.com/lampepfl/dotty/discussions)
99+
- [contributors.scala-lang.org](https://contributors.scala-lang.org)
100+
- [gitter.im/scala/contributors](https://gitter.im/scala/contributors)

docs/docs/internals/syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ type val var while with yield
126126
as derives end extension infix inline opaque open transparent using | * + -
127127
```
128128

129-
See the [separate section on soft keywords](./soft-modifier.md) for additional
129+
See the [separate section on soft keywords](../reference/soft-modifier.md) for additional
130130
details on where a soft keyword is recognized.
131131

132132
## Context-free Syntax

scaladoc/test-source-links/dotty/tools/scaladoc/source-links/RemoteLinksTest.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ class RemoteLinksTest:
2929
def scala3SourceLink =
3030
assertTrue(mtslAll.find((k, _) => k == "PolyFunction").isDefined) // source link to Scala3 stdlib class
3131

32+
@Test
33+
def tastySourceLink =
34+
assertTrue(mtslAll.find((k, _) => k == "TastyBuffer").isDefined) // source link to Scala3 tasty class
35+
3236
@Test
3337
def runTest =
3438
assertTrue(mtslAll.nonEmpty)

0 commit comments

Comments
 (0)