diff options
author | 2023-02-25 14:51:21 -0300 | |
---|---|---|
committer | 2023-02-25 15:16:01 -0300 | |
commit | be5e5f5cdd4f424a3086e81e4c3b00f4c39f821e (patch) | |
tree | 12bcaa4346470698ed69d3fa7d4804f4c1689133 | |
parent | test2.profile: restore leading spaces (diff) | |
download | firejail-be5e5f5cd.tar.gz firejail-be5e5f5cd.tar.zst firejail-be5e5f5cd.zip |
pull_request_template.md: restore indentation
This partially reverts commit 375468008 ("docs: remove indents on
top-level lists and tables", 2023-02-01) from PR #5674.
Commands used to undo the changes:
$ f=.github/pull_request_template.md; \
git show 3754680087~1:"$f" >"$f"
I had assumed that a blank line after a list item would end the list
(and so I was confused by the amount of indentation used), but that is
apparently not the case. See the file rendered before/after the
commit[1] [2].
Relates to #2784.
Reported by @rusty-snake[3].
[1] https://github.com/netblue30/firejail/blob/f5d8d8cc7af8f8816c47623515babcefceb7e22f/.github/pull_request_template.md
[2] https://github.com/netblue30/firejail/blob/37546800876d977d77cc86d9b307f8cfa714c1dd/.github/pull_request_template.md
[3] https://github.com/netblue30/firejail/pull/5674#discussion_r1117892922
-rw-r--r-- | .github/pull_request_template.md | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 80945c8ba..3c256dd87 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md | |||
@@ -1,17 +1,17 @@ | |||
1 | If your PR isn't about profiles or you have no idea how to do one of these, skip the following and go ahead with this PR. | 1 | If your PR isn't about profiles or you have no idea how to do one of these, skip the following and go ahead with this PR. |
2 | 2 | ||
3 | If you submit a PR for new profiles or changing profiles, please do the following: | 3 | If you submit a PR for new profiles or changing profiles, please do the following: |
4 | - The ordering of options follow the rules described in [/usr/share/doc/firejail/profile.template](https://github.com/netblue30/firejail/blob/master/etc/templates/profile.template). | 4 | - The ordering of options follow the rules described in [/usr/share/doc/firejail/profile.template](https://github.com/netblue30/firejail/blob/master/etc/templates/profile.template). |
5 | > Hint: The profile-template is very new. If you install firejail with your package manager, it may be missing. In order to follow the latest rules, it is recommended to use the template from the repository. | 5 | > Hint: The profile-template is very new. If you install firejail with your package manager, it may be missing. In order to follow the latest rules, it is recommended to use the template from the repository. |
6 | - Order the arguments of options alphabetically. You can easily do this with [sort.py](https://github.com/netblue30/firejail/tree/master/contrib/sort.py). | 6 | - Order the arguments of options alphabetically. You can easily do this with [sort.py](https://github.com/netblue30/firejail/tree/master/contrib/sort.py). |
7 | The path to it depends on your distro: | 7 | The path to it depends on your distro: |
8 | 8 | ||
9 | | Distro | Path | | 9 | | Distro | Path | |
10 | | ------ | ---- | | 10 | | ------ | ---- | |
11 | | Arch/Fedora | `/usr/lib64/firejail/sort.py` | | 11 | | Arch/Fedora | `/usr/lib64/firejail/sort.py` | |
12 | | Debian/Ubuntu/Mint | `/usr/lib/x86_64-linux-gnu/firejail/sort.py` | | 12 | | Debian/Ubuntu/Mint | `/usr/lib/x86_64-linux-gnu/firejail/sort.py` | |
13 | | local git clone | `contrib/sort.py` | | 13 | | local git clone | `contrib/sort.py` | |
14 | 14 | ||
15 | Note also that the sort.py script exists only since firejail `0.9.61`. | 15 | Note also that the sort.py script exists only since firejail `0.9.61`. |
16 | 16 | ||
17 | See also [CONTRIBUTING.md](/CONTRIBUTING.md). | 17 | See also [CONTRIBUTING.md](/CONTRIBUTING.md). |