mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 23:57:22 +02:00
feat: make docusaurus serve automatically open in browser (#7500)
* feat: add automatic url open to npm run serve * fix * adding ci check * add docs Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
parent
dbd161d67c
commit
35e63515e6
3 changed files with 13 additions and 3 deletions
|
@ -150,6 +150,7 @@ Serve your built website locally.
|
|||
| `--build` | `false` | Build website before serving |
|
||||
| `--config` | `undefined` | Path to docusaurus config file, default to `[siteDir]/docusaurus.config.js` |
|
||||
| `--host` | `localhost` | Specify a host to use. For example, if you want your server to be accessible externally, you can use `--host 0.0.0.0`. |
|
||||
| `--no-open` | `false` locally, `true` in CI | Do not open a browser window to the server location. |
|
||||
|
||||
### `docusaurus clear [siteDir]` {#docusaurus-clear-sitedir}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue