mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-21 17:36:59 -05:00
README: hint about how the URL of the preview is constructed
This commit is contained in:
parent
88269f91ca
commit
07da61adff
1 changed files with 4 additions and 0 deletions
|
@ -63,6 +63,10 @@ pnpm run preview
|
||||||
This command will clone the [website repo](https://codeberg.org/forgejo/forgejo)
|
This command will clone the [website repo](https://codeberg.org/forgejo/forgejo)
|
||||||
and launch a local development server. The current docs branch will be opened in the browser.
|
and launch a local development server. The current docs branch will be opened in the browser.
|
||||||
|
|
||||||
|
The URL to the documentation preview looks like
|
||||||
|
`http://localhost:4321/docs/{branch}/` where `{branch}` is the
|
||||||
|
name of the current branch from which the preview is run.
|
||||||
|
|
||||||
Modifications can be made to the docs while the dev server is running, and the preview will live-reload.
|
Modifications can be made to the docs while the dev server is running, and the preview will live-reload.
|
||||||
|
|
||||||
#### Linting and formatting
|
#### Linting and formatting
|
||||||
|
|
Loading…
Reference in a new issue