Skip to content

Conversation

@WojciechMazur
Copy link
Contributor

Backports #23606 to the 3.8.0-RC1.

PR submitted by the release tooling.
[skip ci]

This PR does unify how snapshot and stable scaladoc artifacts are
published:

- `docs/sidebar.yml` now contains only entries visible for stable
releases
- `docs/sidebar.nightly.template.yml` contains entries specific for
Snapshot builds (contributing guide, blog posted at
https://dotty.epfl.ch/) - it does not contain `reference` subsection
entries - this part is now generated when executing
`generateScalaDocumentation` task. It emits a patch to
`docs/sidebar.yml` containg combined inputs from both files
-
`project/resources/referenceReplacements/_layouts/static-site-main.html`
was removed, instead we now inject the warning only when building
snapshot docs using `generateScalaDocumentation`
- `project/resources/referenceReplacements/sidebar.yml` is removed, we
would no longer need to keep 2 files in sync
- `generateStableScala3Documentation` no longer uses calculated paths to
obtain compilation outputs - it was only needed in the past to allow for
generation of new scaladoc for older compiler/library

[Cherry-picked 9ba8854]
Base automatically changed from release-3.8.0_backport-24307 to release-3.8.0 November 12, 2025 20:03
@WojciechMazur WojciechMazur merged commit 13eb2bb into release-3.8.0 Nov 12, 2025
40 of 56 checks passed
@WojciechMazur WojciechMazur deleted the release-3.8.0_backport-23606 branch November 12, 2025 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants