Skip to content

update some needextend directives to affect only the current file - #3158

Merged
AlexanderLanin merged 1 commit into
eclipse-score:mainfrom
etas-contrib:needextend
Aug 5, 2026
Merged

update some needextend directives to affect only the current file#3158
AlexanderLanin merged 1 commit into
eclipse-score:mainfrom
etas-contrib:needextend

Conversation

@AlexanderLanin

Copy link
Copy Markdown
Member

Since docs-as-code is moving towards supporting more fine grained docs-targets and embedding documentations into documentations, we cannot reliably predict cross document behavior of needextend. Sometimes it may affect a different set of needs than other times.

For example when needextend is applied to "x in docname", and someone else embedds the documentation into their module, and for whatever reason they also have "x", then suddenly the needextend will affect more files/needs.

This was already problematic in reference_integration in the past, we just got lucky due to "unique enough" names. But that will not suffice for a broader rollout.


This PR changes about 10% of needextend directives in score. Those where the change is a single one-liner.

Verification performed: needs_json generated before the change, change applied, needs_json generated again, no diff.

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

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

@AlexanderLanin
AlexanderLanin merged commit 14fb03c into eclipse-score:main Aug 5, 2026
5 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in S-CORE Roadmap Aug 5, 2026
@AlexanderLanin
AlexanderLanin deleted the needextend branch August 5, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done
Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants