mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00:00
docs: Update Netlify deployment (#1781)
This commit is contained in:
parent
97a0d2a127
commit
32fff4a99a
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user