Skip to content

Conversation

@guejan
Copy link
Contributor

@guejan guejan commented Nov 10, 2025

Remove prefixes for mega-build (DR-004-Infra) and
align with docs-as-code 2.0.0 to enable single documentation mega-build where all repositories can be built together without prefix conflicts.

Changes:

  • Remove project_prefix "S-CORE_" from docs/conf.py
  • Remove PROCESS_ prefix from all external need references
  • Fix incorrect need ID: wp__platform_sw_aou ->
    wp__requirements_sw_platform_aou

Rationale:
docs-as-code 2.0.0 removed module prefixes to support the mega-build approach where documentation from all repositories is built in a single Sphinx instance. Requirement IDs remain globally unique through built-in namespacing,
eliminating the need for repository-specific prefixes.

The mega-build also improves validation: the incorrect reference to wp__platform_sw_aou was only detected after removing prefixes, demonstrating better error detection in the unified build.

Related:

Remove prefixes for mega-build (DR-004-Infra) and
align with docs-as-code 2.0.0 to enable single documentation
mega-build where all repositories can be built together without
prefix conflicts.

Changes:
- Remove project_prefix "S-CORE_" from docs/conf.py
- Remove PROCESS_ prefix from all external need references
- Fix incorrect need ID: wp__platform_sw_aou ->
  wp__requirements_sw_platform_aou

Rationale:
docs-as-code 2.0.0 removed module prefixes to support the
mega-build approach where documentation from all repositories
is built in a single Sphinx instance. Requirement IDs remain
globally unique through built-in namespacing,
eliminating the need for repository-specific prefixes.

The mega-build also improves validation: the incorrect reference
to wp__platform_sw_aou was only detected after removing
prefixes, demonstrating better error detection in the unified
build.

Related:
- eclipse-score/docs-as-code#293
- https://eclipse-score.github.io/score/main/design_decisions/DR-004-infra.html
@github-actions
Copy link

⚠️ Docs-as-Code version mismatch detected
Please check the CI build logs for details and align the documentation version with the Bazel dependency.

:security: YES
:safety: ASIL_B
:realizes: PROCESS_wp__platform_sw_aou
:realizes: wp__requirements_sw_platform_aou
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to mark the change, this was the id change. 👍

MODULE.bazel Outdated

module(
name = "score_platform",
version = "0.4.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
version = "0.4.1",

We need to bump the version, so other modules can start using this "updated to docs_as_code 2.0.0" version.

@FScholPer
Copy link
Contributor

Is this something we need tomorrow for the BIG release of v0.5 alpha?

@AlexanderLanin
Copy link
Member

Is this something we need tomorrow for the BIG release of v0.5 alpha?

yes, we want to integrate a cross repo docs build into release 0.5

@github-actions
Copy link

The created documentation from the pull request is available at: docu-html

@FScholPer FScholPer merged commit 2f3c7eb into eclipse-score:main Nov 11, 2025
6 checks passed
@AlexanderLanin
Copy link
Member

Thanks @masc2023 @FScholPer @thilo-schmitt! And thank you for merging quickly @FScholPer!

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.

6 participants