Skip to content

Commit

Permalink
testing some stuff out
Browse files Browse the repository at this point in the history
  • Loading branch information
filmaj committed Oct 4, 2024
1 parent 43a0f26 commit 807a87b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ async function sleep(timeout) {
}
async function waitAndImportFile(file) {
while (!fs.existsSync(file)) {
console.log(file, 'does not exist, waiting for 50 ms');
await sleep(50);
}
return require(file);
Expand Down Expand Up @@ -36,6 +37,7 @@ export default async function sidebarGenerator(packages) {
for (const pkg of packages) {
apiReferenceItems.push(await packageSidebarEntry(pkg));
}
console.log('loaded typedoc sidebar items');
return [
{
type: 'doc',
Expand Down

0 comments on commit 807a87b

Please sign in to comment.