Skip to content

docs: fix image links in the 2015 pretty-print post - #1752

Open
1816586742-stack wants to merge 1 commit into
tstack:masterfrom
1816586742-stack:docs/fix-broken-image-links
Open

1816586742-stack wants to merge 1 commit into
tstack:masterfrom
1816586742-stack:docs/fix-broken-image-links

Conversation

@1816586742-stack

Copy link
Copy Markdown

What

Fix two broken image links in docs/_posts/2015-04-11-pretty-print-view.md.

Why

The post references:

  • /assets/images/lnav-before-pretty.png
  • /assets/images/lnav-after-pretty.png

but the repository only contains the .svg versions of those files:

$ git ls-files | grep -E 'lnav-(before|after)-pretty'
docs/assets/images/lnav-after-pretty.svg
docs/assets/images/lnav-before-pretty.svg

No .png with those names exists anywhere in the tree, so both images are broken on the published site.

docs/03_features.md already references the same two images as .svg:

docs/03_features.md:82:![A flat blob of XML](/assets/images/lnav-before-pretty.svg)
docs/03_features.md:86:![A pretty-printed blob of XML](/assets/images/lnav-after-pretty.svg)

So this aligns the older post with the current file names.

Verification

  • searched every tracked path for lnav-before-pretty.* and lnav-after-pretty.*: only the .svg files exist
  • the same two images are already linked as .svg from docs/03_features.md
  • checked every other relative and root-relative link in docs/**/*.md: no other broken targets

Diff is 2 lines in 1 file; alt text and surrounding prose are unchanged.

The post points at lnav-before-pretty.png and lnav-after-pretty.png under
/assets/images/, but only the .svg versions of those two files exist in
the repository, so both images are broken on the published site.

docs/03_features.md already references the same two images as .svg.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant