Skip to content

Skip doc generation for nonbootstrapped library projects #25704

@tanishiking

Description

@tanishiking

Running sbt publishLocal on the root project (scala3-nonbootstrapped) is slower than necessary because it generates scaladoc for scala3-library-nonbootstrapped while other nonbootstrapped projects like scala3-compiler and tasty-core disables doc generation.

IIUC, doc jars for nonbootstrapped projects are not used, these artifacts are only published locally for bootstrapping (and local development), and the bootstrapped projects reference packageBin outputs and don't care about packageDoc.

Compiler version

HEAD

Minimized example

$ sbt publishLocal

Output

It processes docs/_docs/reference/ md files.

Expectation

publishLocal on nonbootstrapped projects shouldn't trigger doc generation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:dxIssues tied to the developer experience when working on the compiler.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions