Docs: include Makefile option for local assets (#30455)
for use when also having the website repo checked out, and you want local images. Also make vars for some of the repeated items.
This commit is contained in:
@@ -12,6 +12,8 @@ Yarn >= 1.22.4
|
||||
1. On the command line, first change to the docs folder: `cd docs`.
|
||||
1. Run `make docs`. This launches a preview of the docs website at `http://localhost:3002/docs/grafana/latest/` which will refresh automatically when changes are made to content in the `sources` directory.
|
||||
|
||||
If you have the grafana/website repo checked out in the same directory as the grafana repo, then you can run `make docs-local-static` to use local assets (such as images).
|
||||
|
||||
---
|
||||
|
||||
## Content guidelines
|
||||
|
||||
Reference in New Issue
Block a user