Skip to content

Commit f110666

Browse files
authored
Merge pull request #15046 from dotty-staging/scaladoc/tasty-core-docs
Use markdown syntax in tasty-core documentation
2 parents 5e7ac1d + 0d135bd commit f110666

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

project/Build.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,6 +1846,8 @@ object ScaladocConfigs {
18461846
val dottyManagesSources =
18471847
(`stdlib-bootstrapped`/Compile/sourceManaged).value / "dotty-library-src"
18481848

1849+
val tastyCoreSources = projectRoot.relativize((`tasty-core-bootstrapped`/Compile/scalaSource).value.toPath().normalize())
1850+
18491851
val dottyLibRoot = projectRoot.relativize(dottyManagesSources.toPath.normalize())
18501852
DefaultGenerationConfig.value
18511853
.add(ProjectName("Scala 3"))
@@ -1856,6 +1858,7 @@ object ScaladocConfigs {
18561858
.add(CommentSyntax(List(
18571859
s"${dottyLibRoot}=markdown",
18581860
s"${stdLibRoot}=wiki",
1861+
s"${tastyCoreSources}=markdown",
18591862
"wiki"
18601863
)))
18611864
.add(VersionsDictionaryUrl("https://scala-lang.org/api/versions.json"))

tasty/src/dotty/tools/tasty/TastyFormat.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,6 @@ Standard Section: "Comments" Comment*
263263
```none
264264
Comment = Length Bytes LongInt // Raw comment's bytes encoded as UTF-8, followed by the comment's coordinates.
265265
```
266-
267-
* @syntax markdown
268266
**************************************************************************************/
269267

270268
object TastyFormat {

0 commit comments

Comments
 (0)