]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/CodingGuidelines
Merge branch 'jc/doc-compat-util'
[thirdparty/git.git] / Documentation / CodingGuidelines
index 806979f75b7a48b407bf175ec1571064ff503534..32e69f798ee7da4174c1f73910c899adf14ca63c 100644 (file)
@@ -695,6 +695,11 @@ Writing Documentation:
    <new-branch-name>
    --template=<template-directory>
 
+ When a placeholder is cited in text paragraph, it is enclosed in angle
+ brackets to remind the reader the reference in the synopsis section.
+ For better visibility, the placeholder is typeset in italics:
+   The _<file>_ to be added.
+
  Possibility of multiple occurrences is indicated by three dots:
    <file>...
    (One or more of <file>.)
@@ -780,6 +785,8 @@ Writing Documentation:
    Incorrect:
       `\--pretty=oneline`
 
+A placeholder is not enclosed in backticks, as it is not a literal.
+
  If some place in the documentation needs to typeset a command usage
  example with inline substitutions, it is fine to use +monospaced and
  inline substituted text+ instead of `monospaced literal text`, and with