feat: Add tables search box (#8672)
<!-- 🎉 Thank you for making CloudQuery awesome by submitting a PR 🎉 --> #### Summary Fixes https://github.com/cloudquery/cloudquery/issues/8154. The PR uses `getStaticProps` and `getStaticPaths` (the latter with an empty paths result) to load all tables on demand. Once the table link is accessed it is generated and cached forever. Based on https://github.com/shuding/nextra/blob/2f7f5516a66782ac3d6a02d427a34075504f4151/examples/swr-site/pages/remote/%5Bslug%5D.mdx?plain=1#L2. Interesting bits are: - `tables.ts` to create the search data - `Search.tsx` search component - `Makefile` changes to put the files in the right place and normalize the links to match the Website sturcture - `[table].mdx` files to generate the content on demand
E
Erez Rokah committed
342b0c569fd28ee26ea3e09ec6d787f85c49f16c
Parent: 9a680c6
Committed by GitHub <noreply@github.com>
on 3/5/2023, 11:28:20 AM