mirror of
https://github.com/supabase/supabase.git
synced 2026-10-19 08:09:11 +03:00
* feat: remove new from basePath and update rewrites/manual imports * add zones setup. add baseurl to docs. remove redirects on /web * oops * wrong format of baseUrl * ignore broken links for now * change baseUrl * change url * remove rewrites in vercel * chore: try and get assets to work in docs * change site * change url * add jsconfig * change config (again) * add /docs/ back in * remove new * move homepage back * chore: move redirects * chore: update readme * move vercel.json settings into nextjs config * try baseUrl * fix config * add permanent attributes to next config * oops. wrong url * fix: regex highlighting * chore: add discord link * tiry up config * remove file no longer needed. leave an explanation in file * fix url * fix: image urls * remove more /new/ urls Co-authored-by: Tom Hanson <tomhanson1985@gmail.com>
950 B
950 B
Supabase Docs
Overview
This is a single repository for two different websites. Our documents were created with docusaurus and are stored in the web folder. Our beta website can be found in the www folder. This is a standard Next.js website.
Install the Vercel CLI.
You will need to run the marketing website and docs website seperately.
# tab 1
make dev
# tab 2
cd www
npm install
npm run dev
# tab 3
cd web/spec
make
npm install
npm run gen:supabase
npm run start
In production, this setup is deployed as two different vercel websites (docs and www)
Known issues
- Referencing resources in nested folders may not work for
web(eg/web/static/folder/nestedfolder/asset) may not work. - Possibly need to prepend all images/assets in docs site with baseUrl.