Skip to content

Configure requirement ID module via docs() - #720

Draft
AlexanderLanin wants to merge 1 commit into
eclipse-score:mainfrom
etas-contrib:feature/docs-module-parameter
Draft

Configure requirement ID module via docs()#720
AlexanderLanin wants to merge 1 commit into
eclipse-score:mainfrom
etas-contrib:feature/docs-module-parameter

Conversation

@AlexanderLanin

Copy link
Copy Markdown
Member

Summary

  • add a single module parameter to the public docs() macro
  • pass the module consistently to sandboxed and interactive Sphinx builds
  • migrate fixtures and documentation away from conf.py lists

Testing

  • bazel test //src/extensions/score_metamodel:file_based_tests_id_contains_feature //src:incremental_dirty_build_test //src/extensions/score_metamodel:unit_tests --test_output=errors
  • bazel build //src/tests/docs_bzl/scenarios/external_needs/producer:needs_json
  • bazel run //src/tests/docs_bzl/scenarios/local_version_mismatch:docs (expected version-mismatch failure)

Move the requirement ID module exception from conf.py to the public docs() macro and accept a single module name.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run --lockfile_mode=error //src:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.6.0) and connecting to it...
INFO: Invocation ID: d401af90-0d81-4214-9eac-5b6a02453f2d
Computing main repo mapping: 
Loading: 
Loading: 0 packages loaded
Loading: 0 packages loaded
    currently loading: src
WARNING: Target pattern parsing failed.
ERROR: Skipping '//src:license-check': no such target '//src:license-check': target 'license-check' not declared in package 'src' defined by /home/runner/work/docs-as-code/docs-as-code/src/BUILD
ERROR: no such target '//src:license-check': target 'license-check' not declared in package 'src' defined by /home/runner/work/docs-as-code/docs-as-code/src/BUILD
INFO: Elapsed time: 7.489s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

@github-actions

Copy link
Copy Markdown
Contributor

Documentation preview for this pull request is available at:
pr-720: https://eclipse-score.github.io/docs-as-code/pr-720/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant