diff options
author | Jean-Noël Avila <jn.avila@free.fr> | 2024-11-18 22:05:49 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-11-19 12:31:04 +0900 |
commit | e72c2d2e913049e144e7fd4459238d237ba0baf8 (patch) | |
tree | bdda29d829750f94f9c064296497a5a90d990121 /compat/regex/regex.c | |
parent | b31fb630c0fc6869a33ed717163e8a1210460d94 (diff) |
doc: git-diff: apply new documentation guidelines
The documentation for git-diff has been updated to follow the new
documentation guidelines. The following changes have been applied to
the series of patches:
- switching the synopsis to a synopsis block which will automatically
format placeholders in italics and keywords in monospace
- use _<placeholder>_ instead of <placeholder> in the description
- use `backticks for keywords and more complex option
descriptions`. The new rendering engine will apply synopsis rules to
these spans.
- prevent git-diff from self-referencing itself via gitlink macro when
the generated link would point to the same page.
Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/regex/regex.c')
0 files changed, 0 insertions, 0 deletions