Skip to content
Snippets Groups Projects

Make image paths absolute

Merged homotechsual requested to merge github/fork/seancolsen/img_path into master

Created by: seancolsen

Close #286

Done with the following script from @aydun

cd docs
find . -name \*.md | xargs perl -pi -e 's/(\!.*)\.\.(\/img\/.*\.(png|jpg|gif))/$1$2/i;'

Merge request reports

Merged by avatar (Jan 29, 2025 6:10pm UTC)

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Created by: seancolsen

    Merging this without review because:

    • It's essentially a way of rebasing #286 (I just re-ran the script instead of resolving conflicts)
    • I want to get this into master soon to avoid more conflicts.
    • I spot-checked the results. Looks good.
    • @aydun has already looked at the results of this scipt

    One thing to note though is that I did change png to (png|jpg|gif) in order to catch all images.

Please register or sign in to reply
Loading