docs: use code-tags instead of pre-tags

Similar to the previous two commits, it seems more appropriate to use
code-tags here than pre-tag.

Fixes: 9af6c38def "docs: Add use of Closes: tag for closing gitlab issues"
Acked-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3431>
(cherry picked from commit a370cfd96e)
This commit is contained in:
Erik Faye-Lund 2020-01-16 18:01:41 +01:00 committed by Dylan Baker
parent 6b0e1e6265
commit ca9997f94e
2 changed files with 3 additions and 3 deletions

View file

@ -2965,7 +2965,7 @@
"description": "docs: use code-tags instead of pre-tags",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"master_sha": null,
"because_sha": "9af6c38deff0f91c6c2a20d61a07a388594a39ac"
},

View file

@ -80,8 +80,8 @@ For example:
<pre>
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1
</pre>
<p>Prefer the full url to just <pre>Closes: #1</pre>, since the url makes it
easier to get to the bug page from <pre>git log</pre></p>
<p>Prefer the full url to just <code>Closes: #1</code>, since the url makes it
easier to get to the bug page from <code>git log</code></p>
<b>Do not use the Fixes: tag for this!</b> Mesa already uses Fixes for something else.
<li>If a patch addresses a issue introduced with earlier commit, that should be