You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+2-9
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ If you believe you've found a security vulnerability, please read our [security
31
31
32
32
If you have an idea of how to improve Grafana, submit an [enhancement request](https://github.com/grafana/grafana/issues/new?labels=type%3A+feature+request&template=2-feature_request.md).
33
33
34
-
We want to make Grafana accessible to even more people. [Submit an accessibility issue](https://github.com/grafana/grafana/issues/new?labels=type%3A+accessibility&template=3-accessibility.md) to help us understand what we can improve.
34
+
We want to make Grafana accessible to even more people. Submit an [accessibility issue](https://github.com/grafana/grafana/issues/new?labels=type%3A+accessibility&template=3-accessibility.md) to help us understand what we can improve.
35
35
36
36
### Triage issues
37
37
@@ -54,19 +54,12 @@ Unsure where to begin contributing to Grafana? Start by browsing issues labeled
54
54
55
55
If you're looking to make a code change, see how to set up your environment for [local development](contribute/developer-guide.md).
56
56
57
-
When you're ready to contribute, it's time to [Create a pull request](/contribute/pull-request.md).
57
+
When you're ready to contribute, it's time to [Create a pull request](/contribute/create-pull-request.md).
58
58
59
59
#### Contributor License Agreement (CLA)
60
60
61
61
Before we can accept your pull request, you need to [sign our CLA](https://grafana.com/docs/contribute/cla/). If you haven't, our CLA assistant prompts you to when you create your pull request.
62
62
63
-
## Community
64
-
65
-
- Follow [@grafana on Twitter](https://twitter.com/grafana/)
66
-
- Read and subscribe to the [Grafana blog](https://grafana.com/blog/)
67
-
- If you have a specific question, check out our [discussion forums](https://community.grafana.com).
68
-
- For general discussions, join us on the [official Slack](http://slack.raintank.io/).
69
-
70
63
## Where do I go from here?
71
64
72
65
- Set up your [development environment](contribute/developer-guide.md).
Copy file name to clipboardexpand all lines: ISSUE_TRIAGE.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Triaging issues
1
+
# Triage issues
2
2
3
3
The main goal of issue triage is to categorize all incoming Grafana issues and make sure each issue has all basic information needed for anyone else to understand and be able to start working on it.
* Giving a contributor the information they need before they commit to resolving an issue.
13
13
* Lowering the issue count by preventing duplicate issues.
14
14
* Streamlining the development process by preventing duplicate discussions.
15
-
* If you don't have the knowledge or time to code, consider helping with triage. The community will thank you for saving them time by spending some of yours.
15
+
16
+
If you don't have the knowledge or time to code, consider helping with triage. The community will thank you for saving them time by spending some of yours.
16
17
17
18
## Simplified flowchart diagram of the issue triage process
Copy file name to clipboardexpand all lines: contribute/create-pull-request.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ We're excited that you're considering making a contribution to the Grafana proje
6
6
7
7
We know you're excited to create your first pull request. Before we get started, read these resources first:
8
8
9
-
- Learn how to start [Contributing to Grafana](https://grafana.com/docs/contribute/overview/).
9
+
- Learn how to start [Contributing to Grafana](/CONTRIBUTING.md).
10
10
- Make sure your code follows the relevant [style guides](/contribute/style-guides).
11
11
12
12
## Your first pull request
@@ -30,16 +30,16 @@ If the pull request fixes a bug:
30
30
31
31
Pull requests for frontend contributions must:
32
32
33
-
- Use [Emotion](https://github.com/grafana/grafana/blob/master/style_guides/styling.md) for styling.
33
+
- Use [Emotion](/contribute/style-guides/styling.md) for styling.
34
34
- Not increase the Angular code base.
35
35
- Not use `any` or `{}` without reason.
36
36
- Not contain large React components that could easily be split into several smaller components.
37
37
- Not contain backend calls directly from components—use actions and Redux instead.
38
38
39
39
Pull requests for Redux contributions must:
40
40
41
-
- Use the `actionCreatorFactory` and `reducerFactory` helpers instead of traditional switch statement reducers in Redux. Refer to [Redux framework](https://github.com/grafana/grafana/tree/master/style_guides/redux.md) for more details.
42
-
- Use `reducerTester` to test reducers. Refer to [Redux framework](https://github.com/grafana/grafana/tree/master/style_guides/redux.md) for more details.
41
+
- Use the `actionCreatorFactory` and `reducerFactory` helpers instead of traditional switch statement reducers in Redux. Refer to [Redux framework](/contribute/style-guides/redux.md) for more details.
42
+
- Use `reducerTester` to test reducers. Refer to [Redux framework](/contribute/style-guides/redux.md) for more details.
43
43
- Not contain code that mutates state in reducers or thunks.
44
44
- Not contain code that accesses the reducers state slice directly. Instead, the code should use state selectors to access state.
Copy file name to clipboardexpand all lines: contribute/developer-guide.md
+5-4
Original file line number
Diff line number
Diff line change
@@ -129,7 +129,7 @@ app_mode = development
129
129
130
130
By now, you should be able to build and test a change you've made to the Grafana source code. In most cases, you need to add at least one data source to verify the change.
131
131
132
-
To set up data sources for your development environment, go to the [devenv](devenv) directory in the Grafana repository:
132
+
To set up data sources for your development environment, go to the [devenv](/devenv) directory in the Grafana repository:
133
133
134
134
```
135
135
cd devenv
@@ -149,7 +149,7 @@ make devenv sources=influxdb,loki
149
149
150
150
The script generates a Docker Compose file with the databases you specify as `sources`, and runs them in the background.
151
151
152
-
See the repository for all the [available data sources](https://github.com/grafana/grafana/tree/master/devenv/docker/blocks). Note that some data sources have specific Docker images for macOS, e.g. `prometheus_mac`.
152
+
See the repository for all the [available data sources](/devenv/docker/blocks). Note that some data sources have specific Docker images for macOS, e.g. `prometheus_mac`.
153
153
154
154
## Build a Docker image
155
155
@@ -199,5 +199,6 @@ Another alternative is to limit the files being watched. The directories that ar
- Learn how to [Create a pull request](/contribute/pull-request.md).
203
-
-[Architecture](architecture).
202
+
- Learn how to [Create a pull request](/contribute/create-pull-request.md).
203
+
- Read [How to contribute to Grafana as a junior dev](https://medium.com/@ivanahuckova/how-to-contribute-to-grafana-as-junior-dev-c01fe3064502) by [Ivana Huckova](https://medium.com/@ivanahuckova).
Copy file name to clipboardexpand all lines: contribute/documentation.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -23,13 +23,13 @@ For general discussions on documentation, you’re welcome to join the `#docs` c
23
23
24
24
## Style and formatting
25
25
26
-
All Grafana documentation is written using [Markdown](https://en.wikipedia.org/wiki/Markdown), and can be found in the [docs](https://github.com/grafana/grafana/tree/master/docs) directory in the [Grafana GitHub repository](https://github.com/grafana/grafana). The [documentation website](https://grafana.com/docs) is generated with [Hugo](https://gohugo.io) which uses [Blackfriday](https://github.com/russross/blackfriday) as its Markdown rendering engine.
26
+
All Grafana documentation is written using [Markdown](https://en.wikipedia.org/wiki/Markdown), and can be found in the [docs](/docs) directory in the [Grafana GitHub repository](https://github.com/grafana/grafana). The [documentation website](https://grafana.com/docs) is generated with [Hugo](https://gohugo.io) which uses [Blackfriday](https://github.com/russross/blackfriday) as its Markdown rendering engine.
27
27
28
28
### Documentation structure
29
29
30
30
The Grafana documentation is organized into topics, called _sections_. You can take a look at the current build at [grafana.com/docs/](https://grafana.com/docs/).
31
31
32
-
Each top-level section is located under the [docs/sources](https://github.com/grafana/grafana/tree/master/docs/sources) directory. Subsections are added by creating a subdirectory in the directory of the parent section.
32
+
Each top-level section is located under the [docs/sources](/docs/sources) directory. Subsections are added by creating a subdirectory in the directory of the parent section.
33
33
34
34
For each section, an `_index.md` file provides an overview of the topic.
Copy file name to clipboardexpand all lines: contribute/style-guides/backend.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ We enforce strict `gofmt` formatting and use some linters on our codebase. You c
10
10
$ make lint-go
11
11
```
12
12
13
-
We use [revive](https://github.com/mgechev/revive) as a go linter, and do enforce our [custom config](https://github.com/grafana/grafana/blob/master/conf/revive.toml) for it.
13
+
We use [revive](https://github.com/mgechev/revive) as a go linter, and do enforce our [custom config](/conf/revive.toml) for it.
14
14
15
15
The end goal is to follow the golint. And the approuch for reachin that goal is to lint all parts of the codebase that we are currently working on and enable stricter linting for more areas as we go.
Copy file name to clipboardexpand all lines: contribute/triage-issues.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Investigate issues that we haven't been able to reproduce yet. In some cases, th
25
25
26
26
Use [GitHub reactions](https://help.github.com/en/articles/about-conversations-on-github#reacting-to-ideas-in-comments) to let us know what's important to you. Vote on bugs if you've experienced the same problem. **Don't vote, or react, by commenting on the issue.**
27
27
28
-
Read more about [how we prioritize issues](https://github.com/grafana/grafana/blob/master/ISSUE_TRIAGE.md#4-prioritization-of-issues).
28
+
Read more about [how we prioritize issues](/ISSUE_TRIAGE.md#4-prioritization-of-issues).
0 commit comments