withastro / docs

Astro documentation
https://docs.astro.build/
MIT License
1.34k stars 1.5k forks source link

⚠️ Issue with Docs: .env file vs env.d.ts file. #9930

Open mpstaton opened 2 hours ago

mpstaton commented 2 hours ago

Hi, I'm trying to use a BaaS platform (appwrite) and it assumes I have a .env file.

I installed Astro@Beta from npm and it has a env.d.ts file.

I am on your documentation about .env files, and it does not in any way explain the difference between the autogenerated file and me creating a new .env file. It explains a lot about adding suffixes to .env such as .env.production....

But honestly the article doesn't have context that someone newish can follow. Please add more context.

mpstaton commented 2 hours ago

And please don't just answer the question here. Please add context to the docs.