Skip to content

Images from reference repos are not loading #2190

@theletterf

Description

@theletterf

Describe the bug

Images in reference repos are not loading, despite being uploaded correctly. The img href is missing a relevant path segment.

For example:

The image renders well in preview, though:

The path should be https://www.elastic.co/docs/reference/opentelemetry/images/motlp-reference-architecture.png but is https://www.elastic.co/docs/reference/images/motlp-reference-architecture.png in the production HTML.

It seems that the images are indeed uploaded, but the images path resolution fails to add the required folder / repo-name.

Expected behavior

Images should load.

Steps to reproduce

No response

Tooling

  • docs-builder
  • migration tooling
  • I'm not sure

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions