Skip to content

Top Navigation Logo - Url Issue - 404 page #9161

Answered by yufeih
VaclavElias asked this question in Q&A
Discussion options

You must be logged in to vote

What behavior would you recommend for handling 404 errors?

One approach is for docfx to expose a metadata that controls whether output URL is relative or absolute. This could be applied individually to a page such as 404 or the whole docset.

Note that other links (Manual, Tutorials, Release Notes, API) are working correctly.

The logo is rendered at build time, while other links are rendered in browser relative to docfx:navrel. It seems the 404 post process turns docfx:navrel into an absolute URL, as a workaround, is it possible to adjust the post process to replace the logo URL with an absolute URL?

related #2865

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by VaclavElias
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants