mirror of
https://github.com/datahub-project/datahub.git
synced 2025-06-27 05:03:31 +00:00
fix(docs): make docs inclusion opt-in (#13680)
This commit is contained in:
parent
454f76f2b5
commit
4114392647
@ -673,8 +673,8 @@ function write_markdown_file(
|
||||
continue;
|
||||
}
|
||||
if (!accounted_for_in_sidebar(filepath)) {
|
||||
throw new Error(
|
||||
`File not accounted for in sidebar: ${filepath} - try adding it to docs-website/sidebars.js`
|
||||
console.warn(
|
||||
`File not accounted for in sidebar: ${filepath} - consider adding it to docs-website/sidebars.js or explicitly ignoring it`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user