Remove Markdown links in content when a page is deleted using command yarn content delete
#8372
Labels
enhancement
Improves an existing feature.
needs discussion
p3
We don't have visibility when this will be addressed.
wx
writer experience
Related to:
yarn content move
#8292Problem
After using the deletion script links pointing the deleted document remain in content. And info around the links become invalid and go unaddressed. Over time content accumulates a lot of broken links and each link requires manual edit. It would be great if the deletion script automatically deletes the links or at least report them so that contributor will clean them.
Solution
a. Automatically delete all
en-US/docs/${deletedDocPath}
from content. And log10 documents were referring to the deleted doc. Check and update info around it before commit.
b. Simply log doc paths and location referring the deleted doc.
With approach b. the contributor will have to manually search the documents and location to update which could be lengthy. With approach a. they simply will have to look at the diff and do additional edits around the deleted link which is more time saving.
The text was updated successfully, but these errors were encountered: