arcjet / arcjet-docs

Arcjet's documentation.
https://docs.arcjet.com
Creative Commons Attribution 4.0 International
9 stars 3 forks source link

fix: Convert all snippet imports to relative paths & resolve incorrect imports #228

Closed blaine-arcjet closed 1 week ago

blaine-arcjet commented 1 week ago

As @danni-popova pointed out in #222, using absolute paths for snippets can cause problems that we can't easily catch. We should be using relative paths so everything is contained in the snippets directory, which I've changed in this PR.

It also helped me catch some more of these mistakes.

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
arcjet-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 7, 2024 8:49pm