Skip to content

No documentation for -scastie-configuration #16220

Closed
scala/docs.scala-lang
#2810
@ckipp01

Description

@ckipp01

Compiler version

All of them

Example

As outlined in here most users of Scaladoc are going to want to use examples of their code. However, by default the integration with scastie won't work for this since it won't recognize any of the needed dependencies, including your own code. From the response there and in the pr that added this here you see the following:

You can there specify libraryDependencies setting. It will probably be done better in future (automatically get this configuration from sbt) but for now it works like that.

However there is no further explanation on how to actually use -scastie-configuration and even looking in the code you just see it's a String setting with a description and no examples of how to actually use it.

Expectation

I'd expect for a core feature like this to be documented so that library authors can use Scaladoc with the scastie integration for their projects. Right now it's pretty unusable for snippets.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions