Skip to content

fix: recursively clear docs before copy - #183

Open
darad124 wants to merge 1 commit into
porfanid:mainfrom
darad124:fix/copy-to-docs-recursive-clean
Open

fix: recursively clear docs before copy#183
darad124 wants to merge 1 commit into
porfanid:mainfrom
darad124:fix/copy-to-docs-recursive-clean

Conversation

@darad124

@darad124 darad124 commented Jun 1, 2026

Copy link
Copy Markdown

Summary:

  • Recursively clear docs before copying generated files.
  • Copy build output synchronously so the script finishes after files are written.

Closes #11

Validation:

  • Created a temporary nested build directory and ran node copy_to_docs.js.
  • Confirmed it copied nested folders without the previous EISDIR crash.

Note: full Docusaurus build is blocked upstream because Docusaurus 3 expects react-dom/client while this package pins React 17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The copy_to_docs.js script must delete all the contents of the docs folder

1 participant