Open didier opened 2 years ago
Strange I can't repro. In 0.9.2
I added a debug
option to request handlers which may help us uncover what's wrong. Could you please upgrade and try the following in [dir].sidebar.json.js
:
import { createSidebarRequestHandler } from '@svelteness/kit-docs/node';
export const get = createSidebarRequestHandler({
debug: true,
});
Let me know if any error logs in your console after doing so.
If this fails, a repro of your exact setup would be help me fix it.
Same here. I just launched kit-docs demo with updated packages and there is no sidebar. debug: true
does not show anything.
This is really weird, I can't repro...?
This might be a Windows specific bug again?
If anyone can give me a repro of their exact setup I'll happily try to debug. Let me know what version of Node, if you're using NPM/PNPM (+ version) and anything else that might matter.
@mihar-22 I'll try to make a repro later this week!
Kudos on the quick fixes of all the issues coming in!
Just noticed however, that when updating to
0.9.0
, the sidebar no longer shows. There's no error, just nothing. I noticed that changing the formatting function to just return the regular string fixes it. Might be something wrong with the capitalize script.