From 500865f469ca8738e3fc1730fd770278bfb0c8c9 Mon Sep 17 00:00:00 2001 From: katrinafyi <39479354+katrinafyi@users.noreply.github.com> Date: Wed, 27 Aug 2025 21:22:31 +1000 Subject: [PATCH] docs: fix task name for scaladoc/testOnly (#23678) [Cherry-picked f973b44e9c52c15d833252224e5870d4832e4a1e] --- docs/_docs/contributing/scaladoc.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_docs/contributing/scaladoc.md b/docs/_docs/contributing/scaladoc.md index 05bcc0166fb6..24161b63b4d2 100644 --- a/docs/_docs/contributing/scaladoc.md +++ b/docs/_docs/contributing/scaladoc.md @@ -71,7 +71,7 @@ input on the command line. From the sbt prompt, `scaladoc/test` runs the tests. You can also run specific signature tests with `testOnly`, -for example `scaladoc/test *scaladoc.signatures.MarkdownCode`. +for example `scaladoc/testOnly *scaladoc.signatures.MarkdownCode`. Most tests rely on comparing signatures (of classes, methods, objects etc.) extracted from the generated documentation to signatures found in source files (extracted using Scalameta). Such tests are defined using [SignatureTest](test/dotty/tools/scaladoc/signatures/SignatureTest.scala) class