bookshop icon indicating copy to clipboard operation
bookshop copied to clipboard

Allow components outside 'components' directory in astro

Open silveltman opened this issue 1 year ago • 2 comments

I would like to be able to have bookshop search in other folder too, not online the components directory.

The reason for this is that I define some components .bookshop.yml files in my astro content collection, so I can easily import them using astro's builtin functions and then render a page for each component displaying the component.

silveltman avatar Dec 07 '23 15:12 silveltman

Apparently this is already possible. I guess bookshop searched the entire src folder?

Anyway, this part of the docs caused me to think bookshop only searches the components dir: https://cloudcannon.com/documentation/guides/bookshop-astro-guide/getting-set-up/#creating-your-bookshop-directory

silveltman avatar Dec 07 '23 16:12 silveltman