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:
Kyle Brandt
2021-01-21 07:27:54 -05:00
committed by GitHub
parent 5c8d662bfc
commit 1588d7235c
2 changed files with 16 additions and 4 deletions
+2
View File
@@ -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