Our site has some top-level files (e.g., authors.md and index.html) and some documentation in docs/*.html that is generated using JSDoc.
We want files like index.html processed as templates, but want everything in docs/ copied without modification.
We're unable to get Eleventy to do this: the closest we can get gives us _site/docs/ABC.html (a perfect copy of docs/ABC.html, as desired) and also_site/docs/ABC/index.html (also a perfect copy of docs/ABC.html, which we don't want).
Describe the bug
authors.md
andindex.html
) and some documentation indocs/*.html
that is generated using JSDoc.index.html
processed as templates, but want everything indocs/
copied without modification._site/docs/ABC.html
(a perfect copy ofdocs/ABC.html
, as desired) and also_site/docs/ABC/index.html
(also a perfect copy ofdocs/ABC.html
, which we don't want).To Reproduce
./.eleventy.js
configuration file./.eleventyignore
file (probably not relevant, but hey...)Excerpt from
./package.json
:npm run docs
to trigger JSDoc.npm run site
ornpm run serve
respectively (same behavior).Expected behavior
_site/docs/ABC.html
(perfect copy ofdocs/ABC.html
)._site/docs/ABC/index.html
.Environment: