OSDN Git Service

docs: add note about using backticks for rbs in gitlab
authorDylan Baker <dylan@pnwbakers.com>
Thu, 20 Dec 2018 17:28:56 +0000 (09:28 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 21 Dec 2018 17:43:56 +0000 (17:43 +0000)
So that gitlab will render the < and > correctly allowing the tag to be
copy-n-pasted without additional formatting.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
docs/submittingpatches.html

index 61c6d1f..736cbd6 100644 (file)
@@ -303,6 +303,17 @@ into commits in a MR before it is merged.
 </p>
 
 <p>
+When providing a Reviewed-by, Acked-by, or Tested-by tag in a gitlab MR,
+enclose the tag in backticks:
+</p>
+<pre>
+  `Reviewed-by: Joe Hacker &lt;jhacker@example.com&gt;`</pre>
+<p>
+This is the markdown format for literal, and will prevent gitlab from hiding
+the &lt; and &gt; symbols.
+</p>
+
+<p>
 Review by non-experts is encouraged.  Understanding how someone else
 goes about solving a problem is a great way to learn your way around
 the project.  The submitter is expected to evaluate whether they have