Skip to content

Fix broken links in documents - #5473

Merged
jgm merged 8 commits into
jgm:masterfrom
Mangsby:epub-doc-broken-link
May 2, 2019
Merged

jgm merged 8 commits into
jgm:masterfrom
Mangsby:epub-doc-broken-link

Conversation

@Mangsby

@Mangsby Mangsby commented Apr 30, 2019

Copy link
Copy Markdown

"User's Guide" links are pointing to MANUAL.html which gives 404 page.
This replaces them with http://pandoc.org/MANUAL.html.

"User's Guide" links are pointing to MANUAL.html which gives 404 page.
This replaces them with http://pandoc.org/MANUAL.html.
@jgm

jgm commented Apr 30, 2019 via email

Copy link
Copy Markdown
Owner

심명섭 added 2 commits May 1, 2019 12:53
"User's Guide" links are pointing to MANUAL.html which gives 404 page.
This replaces them with http://pandoc.org/MANUAL.html.
Some links are pointing to /MANUAL.html which gives 404 page.
This replaces them with http://pandoc.org/MANUAL.html.
@Mangsby

Mangsby commented May 1, 2019

Copy link
Copy Markdown
Author

Thanks for comment!

I replaced them with http://pandoc.org/MANUAL.html#...
because the "User's Guide" links of other documents such as CONTRIBUTE.md, README.md and doc/customizing-pandoc.md have already been doing so.

By the way, I found that there are broken links in other documents as well.
Please take a look at new commits! Thanks.

@Mangsby Mangsby changed the title Fix broken links in doc/epub.md Fix broken links in documents May 1, 2019
@jgm

jgm commented May 1, 2019

Copy link
Copy Markdown
Owner

Thank you. I would still prefer the relative links. That way they will still work even if the whole site is moved or served locally.

@Mangsby

Mangsby commented May 1, 2019 •

Copy link
Copy Markdown
Author

Oh, I apologize for the insufficient information in PR.

I thought those links are broken because I was reading the docs on github directly, but now noticed that it works fine on the pandoc.org website.

Anyway, some links pointing to http URL works fine in both github(+local repo) and pandoc.org while others, relative links, does not.
I think it's a bit confusing. What do you think?

@jgm

jgm commented May 1, 2019

Copy link
Copy Markdown
Owner

I see, I hadn't considered the case of people reading this with GitHub's rendering on the GitHub site.
Well, I guess we could use the absolute URL, but I'd prefer https: for all the links, because we now require https.

@Mangsby

Mangsby commented May 1, 2019

Copy link
Copy Markdown
Author

I checked that all links work fine, except heading anchors in lua-filters.md.
I couldn't fix it because I don't know well about heading anchor of Markdown now. 😢

I'd like to leave it as a new issue so that I (or someone) fix it later.

@jgm
jgm merged commit 73efef5 into jgm:master May 2, 2019
@jgm

jgm commented May 2, 2019

Copy link
Copy Markdown
Owner

Great, thanks!

@Mangsby
Mangsby deleted the epub-doc-broken-link branch May 6, 2019 13:29
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.

2 participants