-
Notifications
You must be signed in to change notification settings - Fork 68
Refactor: Align with docs-as-code 2.0.0 #1981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor: Align with docs-as-code 2.0.0 #1981
Conversation
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
|
|
| :security: YES | ||
| :safety: ASIL_B | ||
| :realizes: PROCESS_wp__platform_sw_aou | ||
| :realizes: wp__requirements_sw_platform_aou |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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.
|
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 |
|
The created documentation from the pull request is available at: docu-html |
|
Thanks @masc2023 @FScholPer @thilo-schmitt! And thank you for merging quickly @FScholPer! |
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:
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: