Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
karenzone opened this issue Feb 6, 2025 · 1 comment
Open
2 tasks done

Comments

@karenzone
Copy link

Prerequisites

  • I have searched existing issues to ensure this feature hasn't already been requested
  • 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: elastic/docs-content#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

@karenzone karenzone changed the title [Feature Request]: Enhance mv command to handle (or message) graphics more gracefully [Feature Request]: Enhance mv command to relocate (or message) graphics more gracefully Feb 6, 2025
@karenzone
Copy link
Author

There's a chance that I used the mv command in a way that threw of the results.

I ran this command from my docs-content directory:
../tools/docs-builder mv ./raw-migrated-files/kibana/kibana/introduction.md ./get-started/introduction.md

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

No branches or pull requests

1 participant