docs(v2): fix incorrect anchor links in website (#5021)

* docs: fix anchor links for docusaurus write-translations

* docs: fix anchor links for docusaurus serve
This commit is contained in:
Teik Jun 2021-06-21 03:16:17 +08:00 committed by GitHub
parent 9fdbd48279
commit c96c3b5c39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 27 additions and 27 deletions

View file

@ -27,7 +27,7 @@ A Docusaurus site is statically rendered, and it can generally work without Java
It is important to test your build locally before deploying to production.
Docusaurus includes a [`docusaurus serve`](cli.md#docusaurus-serve) command for that:
Docusaurus includes a [`docusaurus serve`](cli.md#docusaurus-serve-sitedir) command for that:
```bash npm2yarn
npm run serve
@ -51,7 +51,7 @@ Use [slorber/trailing-slash-guide](https://github.com/slorber/trailing-slash-gui
## Self-Hosting {#self-hosting}
Docusaurus can be self-hosted using [`docusaurus serve`](cli.md#docusaurus-serve). Change port using `--port` and `--host` to change host.
Docusaurus can be self-hosted using [`docusaurus serve`](cli.md#docusaurus-serve-sitedir). Change port using `--port` and `--host` to change host.
```bash npm2yarn
npm run serve -- --build --port 80 --host 0.0.0.0