0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-12-23 22:20:43 -05:00

README: hint about how the URL of the preview is constructed

This commit is contained in:
Earl Warren 2023-10-23 16:21:47 +02:00
parent 88269f91ca
commit 07da61adff
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -63,6 +63,10 @@ pnpm run preview
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.
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.
#### Linting and formatting