elastic / elastic/docs-builder

[Feature Request]: Enhance `mv` command to relocate (or message) graphics more gracefully

Open
#444 3 comments 0 reactions 0 assignees View on GitHub
ai-triaged ai:writer-question enhancement
Dominant language
C#
Stars
24
Forks
44
Avg merge
1d 7h
Merged PRs (30d)
146

Description

### Prerequisites

- [x] I have searched existing issues to ensure this feature hasn't already been requested
- [x] I have tested using the latest version of docs-builder

### What problem are you trying to solve?

I used the amazing new `mv` command to move some files around.
After moving files, I removed them from the origin toc.yml, and added them to the destination toc.yml.
The PR is still failing docs CI. PR is here: https://github.com/elastic/docs-content/pull/361

From @colleenmcginnis: "It looks like maybe `mv` doesn't update image paths, which are relative".
That assessment seems very much inline with the console errors I'm seeing.

### Proposed Solution

Enhance the `mv` command to handle images in relative paths, or at a minimum, enhance messaging to point to problems and provide tips for resolving manually.

### Examples and Research

_No response_

### Alternative Solutions

_No response_

### Additional Context

_No response_

### How important is this feature to you?

Important

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.