docs: Update Netlify deployment (#1781)

This commit is contained in:
Eze Amaka 2024-12-16 07:06:11 +01:00 committed by GitHub
parent 97a0d2a127
commit 32fff4a99a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,8 +77,12 @@ server {
## Netlify
1. Login to your [Netlify](https://www.netlify.com/) account.
2. In the [dashboard](https://app.netlify.com/) page, click **New site from Git**.
3. Choose a repository where you store your docs, leave the **Build Command** area blank, and fill in the Publish directory area with the directory of your `index.html`. For example, it should be docs if you populated it at `docs/index.html`.
2. In the [dashboard](https://app.netlify.com/) page, click **Add New Site**.
3. Select Github.
4. Choose the repository where you store your docs, in the **Base Directory** add the subfolder where the files are stored. For example, it should be `docs`.
5. In the **Build Command** area leave it blank.
6. In the **Publish directory** area, if you have added the `docs` in the **Base Directory** you will see the publish directory populated with `docs/`
7. Netlify is smart enough to look for the the `index.html` file inside the `docs/` folder.
### HTML5 router