mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Link to contributing docs and fix some image markdown examples (#39726)
This commit is contained in:
parent
2b4e51f478
commit
14d90b0cf8
@ -121,15 +121,15 @@ _Do not_ use image shortcodes at this time.
|
||||
Include images in a document using the following syntax:
|
||||
|
||||
```
|
||||

|
||||

|
||||
```
|
||||
|
||||
> **Note:** Alt text does not appear when the user hovers the mouse over the image, but title text does.
|
||||
|
||||
**Examples:**
|
||||
|
||||
- \!\[Grafana logo](/link/to/grafanalogo/logo.png)
|
||||
- \!\[Example](/img/docs/folder_name/alert_test_rule.png)
|
||||
- \!\[Grafana logo](/link/to/grafanalogo/logo.png "Grafana logo")
|
||||
- \!\[Example](/static/img/docs/folder_name/alert_test_rule.png "Example title")
|
||||
|
||||
This follows the format of "!", alt text wrapped in "[]" and the link URL wrapped in "()".
|
||||
|
||||
|
@ -20,6 +20,8 @@ If you have the grafana/website repo checked out in the same directory as the gr
|
||||
|
||||
Edit content in the `sources` directory.
|
||||
|
||||
### [Contributing](https://github.com/grafana/grafana/blob/main/contribute/documentation.md)
|
||||
|
||||
### Using `relref` for internal links
|
||||
|
||||
Use the Hugo shortcode [relref](https://gohugo.io/content-management/cross-references/#use-ref-and-relref) any time you are linking to other internal docs pages.
|
||||
|
Loading…
Reference in New Issue
Block a user