Open tqwewe opened 2 weeks ago
Oops, I've realised this is due to me specifying "logo": "url-here"
, instead of "logo": { "light: "url-here", "dark": "url-here" }
. However there's no errors in the console or diagnostic issues shown, so this is pretty confusing, especially since the logo does in fact show correctly.
Oh this is weird! I'll check it out why that happens.
As for invalid config, I'm not sure on the best place to surface issues to the user(?)
Personally I would expect it to come up as one of the diagnostic errors when doing a live preview. The same kind of errors for when you have a link to a page that doesn't exist. But not sure how trivial this is.
I've just added a logo to my docs page, however both in local preview and live preview, this causes the side menu to disappear completely, as well as the page title and page image.
A url where this is broken can be seen here: https://docs.page/tqwewe/kameo~docs-faq Simply removing the
"logo": "..."
line from thedocs.json
file brings back the side menu. (The fact the logo link is broken in the example url is unrelated to this issue).