Skip to content

Fix duplicate Sphinx label baselibs_architecture #545

Closed

Description

@AlexanderLanin

A documentation build reports this warning:

docs/features/architecture/index.rst:14: WARNING: duplicate label baselibs_architecture, other instance in score_platform/docs/features/baselibs/architecture/index.rst

Both documents define the same plain Sphinx label:

.. _baselibs_architecture:

The two documents appear to describe different architecture levels:

  • Baselibs documents its module-level architecture in docs/features/architecture/index.rst.
  • SCORE Platform documents the Baselibs feature architecture in score_platform/docs/features/baselibs/architecture/index.rst.

The Sphinx-Needs document IDs are already distinct (doc__baselibs_module_architecture and doc__baselibs_architecture); the conflict is between the ordinary Sphinx labels, which must be unique across the documentation set.

The likely fix is to give the Baselibs module architecture page a more specific label, such as baselibs_module_architecture, while keeping its existing Sphinx-Needs ID. Please confirm the preferred naming.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions