Skip to content

"bazel build //:needs_json" does not work with index.rst in main folder #509

@RolandJentschETAS

Description

@RolandJentschETAS

Description

According to the Process description (https://eclipse-score.github.io/process_description/main/_images/score_building_blocks_meta_model_deployment_example.drawio.svg) and the design decisions DR001 (https://eclipse-score.github.io/score/main/design_decisions/DR-001-proc.html) the module documentation and the component documentation is in different root folders.

/docs/...
/score/<component_name>/docs

See also the directory structure at https://eclipse-score.github.io/module_template/pr-58/

This is implemented as example in logging: See https://github.com/eclipse-score/logging/pull/82/changes.

But in the logging module the command "bazel build //:needs_json" does not work, because docs_as_code have trouble to collect the sphinx needs objects from the different paths. But for "bazel build //:docs" it works fine. So it is not a generic issue.

Analysis results

It seems it stops collecting the sphinx needs objects paths with BUILD parts inside.

Solution

No response

Error Occurrence Rate

Reproducible

How to reproduce

Execute in https://github.com/eclipse-score/logging/pull/82/changes the above command.

Supporting Information

No response

Classification

Minor

First Affected Release

not released (main)

Last Affected Release

not released (main)

Expected Fixed Release

before release (main)

Category

  • Safety Relevant
  • Security Relevant

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions