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
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,30 +3,32 @@
3
3
4
4
# Contributing to Fluent Bit docs
5
5
6
-
First of all, thanks for taking the time to read this guide. The fact that you're here means you're interested in contributing to Fluent Bit, and we highly appreciate your time.
6
+
First of all, thanks for taking the time to read this guide. The fact that you're here means you're interested in contributing to Fluent Bit, and we greatly appreciate your time.
7
7
8
8
This repository contains the files for the [Fluent Bit documentation library](https://docs.fluentbit.io/). Keeping these docs separate from the [main Fluent Bit repository](https://github.com/fluent/fluent-bit) helps reduce the number of commits to the Fluent Bit source code and makes it easier to maintain both projects.
9
9
10
-
Fluent Bit has a group of dedicated maintainers who oversee this repository, including several technical writers. These writers will review any pull requests you open, so don't be afraid to contribute—even if you're not a writer by trade. Your suggestions are valuable, and we'll help you wrangle any stray commas.
10
+
Fluent Bit has a group of dedicated maintainers who oversee this repository, including several technical writers. These writers will review any pull requests you open, so don't be afraid to contribute, even if you're not a writer by trade. Your suggestions are valuable, and we'll help you wrangle any stray commas.
11
11
12
12
## :star: Quick tips
13
13
14
+
Before you contribute to the Fluent Bit docs, review these critical tips:
15
+
14
16
-[Sign off](#sign-off-your-git-commits) your Git commits.
15
17
- Use [soft line wraps](#line-wraps) in Markdown files.
16
18
- To link between pages, use [absolute file paths](#links).
17
19
- Review the results of [linters](#linters) for style and formatting guidance.
18
20
19
21
## Review process
20
22
21
-
After you open a pull request in this repository, a Fluent Bit maintainer will review it, add comments or suggestions as needed, and then merge it. After your changes are successfully merges into `master`, the docs site will update within a few minutes.
23
+
After you open a pull request in this repository, a Fluent Bit maintainer will review it, add comments or suggestions as needed, and then merge it. After your changes are successfully merged into `master`, the docs site will update within a few minutes.
22
24
23
25
### Request review without merging
24
26
25
27
If you're contributing documentation for a Fluent Bit feature that's still in development, ask a maintainer to add the `waiting-on-code-merge` label to your pull request. This lets other maintainers know that your changes aren't ready to merge yet, even if they were approved.
26
28
27
29
### Stale pull requests
28
30
29
-
If you open a pull request that requires extended discussion or review, the Fluent Bit maintainers will add a `waiting-for-user` label to your pull request. This label means that we're blocked from moving forward until you reply. To keep contributions from going stale, we'll wait 45 days for your response, but we might close the pull request if we don't hear back from you by then.
31
+
If you open a pull request that requires extended discussion or review, the Fluent Bit maintainers will add a `waiting-for-user` label to your pull request. This label means that we're blocked from moving forward until you reply. To keep contributions from going stale, we'll wait 45 days for your response, after which we might close the pull request if we don't hear back from you.
30
32
31
33
## Pass DCO checks
32
34
@@ -40,7 +42,7 @@ For more information, refer to GitHub's guide to [setting your commit email addr
40
42
41
43
### Sign off your Git commits
42
44
43
-
You must sign off your commits to certify your identity as the commit author. A commit is "signed off" when its commit message looks like this:
45
+
You must sign off your commits to certify your identity as the commit author. A commit is signed off when its commit message looks like this:
44
46
45
47
```text
46
48
pipeline: outputs: syslog: fix grammar in examples
@@ -51,16 +53,15 @@ For faster signing, you can use the `-s` flag:
51
53
52
54
`git commit -a -s -m "pipeline: outputs: syslog: fix grammar in examples"`
53
55
54
-
> :bulb: If you're using VSCode, the [**Git: Always Sign Off**](https://github.com/microsoft/vscode/issues/83096#issuecomment-545350047) option automatically appends a `Signed-off-by:` message to all of your commits.
56
+
> :bulb: If you're using VSCode, the [**Git: Always Sign Off**](https://github.com/microsoft/vscode/issues/83096#issuecomment-545350047) option appends a `Signed-off-by:` message to all of your commits.
55
57
56
58
### Fix "DCO is missing" errors
57
59
58
60
If a DCO error blocks your pull request from merging, refer to this guide about [how to add sign-offs retroactively](https://github.com/src-d/guide/blob/master/developer-community/fix-DCO.md#how-to-add-sign-offs-retroactively).
59
61
60
62
## Style guidelines
61
63
62
-
The Fluent Bit documentation follows the [Google developer documentation style guide](https://developers.google.com/style) for most topics related to grammar and style. We don't expect you
63
-
to memorize these style rules, but the maintainers who review your pull request might suggest changes accordingly.
64
+
The Fluent Bit documentation follows the [Google developer documentation style guide](https://developers.google.com/style) for most topics related to grammar and style. We don't expect you to memorize these style rules, but the maintainers who review your pull request might suggest changes accordingly.
64
65
65
66
The active [linters](#linters) in this repository flag certain style errors and, in some cases, explain how to fix them.
66
67
@@ -70,8 +71,7 @@ The Fluent Bit docs library is built and hosted through [GitBook](https://docs.g
70
71
71
72
### Links
72
73
73
-
When cross-linking between in this repository, use a full absolute path whenever
74
-
possible. For example:
74
+
When cross-linking between in this repository, use a full absolute path whenever possible. For example:
75
75
76
76
```text
77
77
[LTSV](../pipeline/parsers/ltsv.md) and [Logfmt](../pipeline/parsers/logfmt.md)
@@ -117,7 +117,7 @@ curly quotes. If you copy-paste from one of these tools, you must correct the qu
117
117
118
118
When you create a new `.md` file for a new page, you must add an entry to this repository's [`SUMMARY.md` file](https://github.com/fluent/fluent-bit-docs/blob/master/SUMMARY.md) (or ask a maintainer to add it on your behalf). If you don't update `SUMMARY.md`, the new page won't appear in the table of contents on the Fluent Bit docs site.
119
119
120
-
Similarly, if you update the `# h1` title header of an existing page, make sure to update that page's `SUMMARY.md` entry to match. `SUMMARY.md` entries takes precedence over in-page headers, which means that if you update a page's `# h1` title without updating `SUMMARY.md`, the unchanged `SUMMARY.md` title will persist in both the rendered page and the table of contents.
120
+
Similarly, if you update the `# h1` title header of an existing page, be sure to update that page's `SUMMARY.md` entry to match. `SUMMARY.md` entries takes precedence over in-page headers, which means that if you update a page's `# h1` title without updating `SUMMARY.md`, the unchanged `SUMMARY.md` title will persist in both the rendered page and the table of contents.
0 commit comments