summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Expósito <jose.exposito89@gmail.com>2021-09-06 08:42:28 +0200
committerJosé Expósito <jose.exposito89@gmail.com>2021-09-06 08:42:28 +0200
commit1d6c38782f8c2cdd070cf8eaeaa806f2a14a6816 (patch)
tree12bf36205a7c40eb1ca5f5a29cda5fa8d41ea0a1
parentc053d7b078b7ebc067c24fd43c728ec0dcd69bfd (diff)
downloadlibinput-1d6c38782f8c2cdd070cf8eaeaa806f2a14a6816.tar.gz
doc: add missing literal blocks in contributing
Add missing literal blocks in the section "Failed pipeline errors" introduced in 140b4b78530b62f8dc70645153b75b4adae23ed9. Signed-off-by: José Expósito <jose.exposito89@gmail.com>
-rw-r--r--doc/user/contributing.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/user/contributing.rst b/doc/user/contributing.rst
index 0fe1a8fc..9d1b719d 100644
--- a/doc/user/contributing.rst
+++ b/doc/user/contributing.rst
@@ -360,12 +360,12 @@ Missing "Signed-off-by: author information"
As explained in :ref:`contributing_commit_messages`, every commit must contain a
Signed-off-by line with your name and email address.
-When this line is not present, it can be added to your commit afterwards:
+When this line is not present, it can be added to your commit afterwards: ::
git commit --amend -s
If the merge request contains more than one commit, it must be added to all of
-them:
+them: ::
git rebase --interactive --exec 'git commit --amend -s' main
@@ -389,7 +389,7 @@ mainly due two reasons: the wrong file was modified and/or
Once the changes are ready, run
`ci-fairy <https://freedesktop.pages.freedesktop.org/ci-templates/ci-fairy.html#templating-gitlab-ci-yml>`_
-to update ``.gitlab-ci.yaml``:
+to update ``.gitlab-ci.yaml``: ::
ci-fairy generate-template
@@ -407,7 +407,7 @@ In order to fix this kind of problems, you can compile libinput using the same
flags used by the CI.
For example, if an error is found in the ``build-no-libwacom`` step, open the
-log and search the build options:
+log and search the build options: ::
[...]
+ rm -rf 'build dir'
@@ -425,7 +425,7 @@ Test errors
The test suite is run for your merge request to check for bugs, regressions and
memory leaks among other issues.
-Open the CI error log and search for a message similar to:
+Open the CI error log and search for a message similar to: ::
:: Failure: ../test/test-touchpad.c:465: touchpad_2fg_scroll_slow_distance(synaptics-t440)