Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/update-git-version-and-manual-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
id: manual-pages
if: steps.commit.outputs.result != '' || inputs.force-rebuild == true
run: |
git add -A external/docs &&
git add -A external/docs static/js/glossary &&
if test true = '${{ inputs.force-rebuild }}' && git diff-index --cached --quiet HEAD --
then
echo '::notice::A manual pages rebuild was requested but resulted in no changes' >&2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-translated-manual-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
run: |
mkdir -p external/docs/sync &&
git -C '${{ runner.temp }}/git-html-l10n' rev-parse HEAD >external/docs/sync/git-html-l10n.sha &&
git add external/docs/sync/git-html-l10n.sha &&
git add external/docs/sync/git-html-l10n.sha static/js/glossary &&

git add -A external/docs &&
if test true = '${{ inputs.force-rebuild }}' && git diff-index --cached --quiet HEAD --
Expand Down
45 changes: 45 additions & 0 deletions assets/sass/reference.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,51 @@ h3.plumbing {
@include background-image-2x($baseurl + "images/icons/plumbing-sm", 17px, 14px, 2px 50%);
}

.tooltip {
position: absolute;
/* invisible padding to make it easier to enter with the mouse */
padding: 15px;
visibility: hidden;

.tooltip-content {
background: white;
border: 1px solid #ccc;
border-radius: 4px;
padding: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
max-width: 300px;
font-size: 14px;
line-height: 1.4;
}
}

.tooltip.show {
visibility: visible;
}

.expand-icon {
position: absolute;
top: 8px;
right: 8px;
text-decoration: none;

img {
width: 16px;
height: 16px;
opacity: 0.6;
}

&:hover img {
opacity: 1;
}
}

.hover-term {
cursor: help;
text-decoration: underline dotted;
-webkit-text-decoration: underline dotted;
}

// § section sign anchor links
#content {
h1>a.anchor,
Expand Down
14 changes: 7 additions & 7 deletions external/docs/content/docs/CodingGuidelines.html
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@
<pre>Placeholders are spelled in lowercase and enclosed in
angle brackets surrounded by underscores:
_&lt;file&gt;_
_&lt;commit&gt;_</pre>
_<span class="hover-term" data-term="commit">&lt;commit&gt;</span>_</pre>
</div>
</div>
<div class="literalblock">
Expand Down Expand Up @@ -1371,7 +1371,7 @@
the content.
`--jobs &lt;n&gt;`
`--sort=&lt;key&gt;`
`&lt;directory&gt;/.git`
`<span class="hover-term" data-term="directory">&lt;directory&gt;</span>/.git`
`remote.&lt;name&gt;.mirror`
`ssh://[&lt;user&gt;@]&lt;host&gt;[:&lt;port&gt;]/&lt;path-to-git-repo&gt;`</pre>
</div>
Expand Down Expand Up @@ -1428,7 +1428,7 @@
<div class="literalblock">
<div class="content">
<pre>An optional parameter needs to be typeset with unconstrained pairs
[&lt;repository&gt;]</pre>
[<span class="hover-term" data-term="repository">&lt;repository&gt;</span>]</pre>
</div>
</div>
<div class="literalblock">
Expand Down Expand Up @@ -1478,14 +1478,14 @@
</div>
<div class="literalblock">
<div class="content">
<pre>[(-p &lt;parent&gt;)...]
(Any number of option -p, each with one &lt;parent&gt; argument.)</pre>
<pre>[(-p <span class="hover-term" data-term="parent">&lt;parent&gt;</span>)...]
(Any number of option -p, each with one <span class="hover-term" data-term="parent">&lt;parent&gt;</span> argument.)</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>git remote set-head &lt;name&gt; (-a|-d|&lt;branch&gt;)
(One and only one of "-a", "-d" or "&lt;branch&gt;" _must_ (no square
<pre>git remote set-head &lt;name&gt; (-a|-d|<span class="hover-term" data-term="branch">&lt;branch&gt;</span>)
(One and only one of "-a", "-d" or "<span class="hover-term" data-term="branch">&lt;branch&gt;</span>" _must_ (no square
brackets) be provided.)</pre>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions external/docs/content/docs/CodingGuidelines/2.0.5.html
Original file line number Diff line number Diff line change
Expand Up @@ -515,14 +515,14 @@
</div>
<div class="literalblock">
<div class="content">
<pre>[(-p &lt;parent&gt;)...]
(Any number of option -p, each with one &lt;parent&gt; argument.)</pre>
<pre>[(-p <span class="hover-term" data-term="parent">&lt;parent&gt;</span>)...]
(Any number of option -p, each with one <span class="hover-term" data-term="parent">&lt;parent&gt;</span> argument.)</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>git remote set-head &lt;name&gt; (-a | -d | &lt;branch&gt;)
(One and only one of "-a", "-d" or "&lt;branch&gt;" _must_ (no square
<pre>git remote set-head &lt;name&gt; (-a | -d | <span class="hover-term" data-term="branch">&lt;branch&gt;</span>)
(One and only one of "-a", "-d" or "<span class="hover-term" data-term="branch">&lt;branch&gt;</span>" _must_ (no square
brackets) be provided.)</pre>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions external/docs/content/docs/CodingGuidelines/2.1.4.html
Original file line number Diff line number Diff line change
Expand Up @@ -742,14 +742,14 @@
</div>
<div class="literalblock">
<div class="content">
<pre>[(-p &lt;parent&gt;)...]
(Any number of option -p, each with one &lt;parent&gt; argument.)</pre>
<pre>[(-p <span class="hover-term" data-term="parent">&lt;parent&gt;</span>)...]
(Any number of option -p, each with one <span class="hover-term" data-term="parent">&lt;parent&gt;</span> argument.)</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>git remote set-head &lt;name&gt; (-a | -d | &lt;branch&gt;)
(One and only one of "-a", "-d" or "&lt;branch&gt;" _must_ (no square
<pre>git remote set-head &lt;name&gt; (-a | -d | <span class="hover-term" data-term="branch">&lt;branch&gt;</span>)
(One and only one of "-a", "-d" or "<span class="hover-term" data-term="branch">&lt;branch&gt;</span>" _must_ (no square
brackets) be provided.)</pre>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions external/docs/content/docs/CodingGuidelines/2.11.4.html
Original file line number Diff line number Diff line change
Expand Up @@ -840,14 +840,14 @@
</div>
<div class="literalblock">
<div class="content">
<pre>[(-p &lt;parent&gt;)...]
(Any number of option -p, each with one &lt;parent&gt; argument.)</pre>
<pre>[(-p <span class="hover-term" data-term="parent">&lt;parent&gt;</span>)...]
(Any number of option -p, each with one <span class="hover-term" data-term="parent">&lt;parent&gt;</span> argument.)</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>git remote set-head &lt;name&gt; (-a | -d | &lt;branch&gt;)
(One and only one of "-a", "-d" or "&lt;branch&gt;" _must_ (no square
<pre>git remote set-head &lt;name&gt; (-a | -d | <span class="hover-term" data-term="branch">&lt;branch&gt;</span>)
(One and only one of "-a", "-d" or "<span class="hover-term" data-term="branch">&lt;branch&gt;</span>" _must_ (no square
brackets) be provided.)</pre>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions external/docs/content/docs/CodingGuidelines/2.13.7.html
Original file line number Diff line number Diff line change
Expand Up @@ -842,14 +842,14 @@
</div>
<div class="literalblock">
<div class="content">
<pre>[(-p &lt;parent&gt;)...]
(Any number of option -p, each with one &lt;parent&gt; argument.)</pre>
<pre>[(-p <span class="hover-term" data-term="parent">&lt;parent&gt;</span>)...]
(Any number of option -p, each with one <span class="hover-term" data-term="parent">&lt;parent&gt;</span> argument.)</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>git remote set-head &lt;name&gt; (-a | -d | &lt;branch&gt;)
(One and only one of "-a", "-d" or "&lt;branch&gt;" _must_ (no square
<pre>git remote set-head &lt;name&gt; (-a | -d | <span class="hover-term" data-term="branch">&lt;branch&gt;</span>)
(One and only one of "-a", "-d" or "<span class="hover-term" data-term="branch">&lt;branch&gt;</span>" _must_ (no square
brackets) be provided.)</pre>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions external/docs/content/docs/CodingGuidelines/2.17.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -859,14 +859,14 @@
</div>
<div class="literalblock">
<div class="content">
<pre>[(-p &lt;parent&gt;)...]
(Any number of option -p, each with one &lt;parent&gt; argument.)</pre>
<pre>[(-p <span class="hover-term" data-term="parent">&lt;parent&gt;</span>)...]
(Any number of option -p, each with one <span class="hover-term" data-term="parent">&lt;parent&gt;</span> argument.)</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>git remote set-head &lt;name&gt; (-a | -d | &lt;branch&gt;)
(One and only one of "-a", "-d" or "&lt;branch&gt;" _must_ (no square
<pre>git remote set-head &lt;name&gt; (-a | -d | <span class="hover-term" data-term="branch">&lt;branch&gt;</span>)
(One and only one of "-a", "-d" or "<span class="hover-term" data-term="branch">&lt;branch&gt;</span>" _must_ (no square
brackets) be provided.)</pre>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions external/docs/content/docs/CodingGuidelines/2.19.2.html
Original file line number Diff line number Diff line change
Expand Up @@ -852,14 +852,14 @@
</div>
<div class="literalblock">
<div class="content">
<pre>[(-p &lt;parent&gt;)...]
(Any number of option -p, each with one &lt;parent&gt; argument.)</pre>
<pre>[(-p <span class="hover-term" data-term="parent">&lt;parent&gt;</span>)...]
(Any number of option -p, each with one <span class="hover-term" data-term="parent">&lt;parent&gt;</span> argument.)</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>git remote set-head &lt;name&gt; (-a | -d | &lt;branch&gt;)
(One and only one of "-a", "-d" or "&lt;branch&gt;" _must_ (no square
<pre>git remote set-head &lt;name&gt; (-a | -d | <span class="hover-term" data-term="branch">&lt;branch&gt;</span>)
(One and only one of "-a", "-d" or "<span class="hover-term" data-term="branch">&lt;branch&gt;</span>" _must_ (no square
brackets) be provided.)</pre>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions external/docs/content/docs/CodingGuidelines/2.20.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -883,14 +883,14 @@
</div>
<div class="literalblock">
<div class="content">
<pre>[(-p &lt;parent&gt;)...]
(Any number of option -p, each with one &lt;parent&gt; argument.)</pre>
<pre>[(-p <span class="hover-term" data-term="parent">&lt;parent&gt;</span>)...]
(Any number of option -p, each with one <span class="hover-term" data-term="parent">&lt;parent&gt;</span> argument.)</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>git remote set-head &lt;name&gt; (-a | -d | &lt;branch&gt;)
(One and only one of "-a", "-d" or "&lt;branch&gt;" _must_ (no square
<pre>git remote set-head &lt;name&gt; (-a | -d | <span class="hover-term" data-term="branch">&lt;branch&gt;</span>)
(One and only one of "-a", "-d" or "<span class="hover-term" data-term="branch">&lt;branch&gt;</span>" _must_ (no square
brackets) be provided.)</pre>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions external/docs/content/docs/CodingGuidelines/2.22.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -873,14 +873,14 @@
</div>
<div class="literalblock">
<div class="content">
<pre>[(-p &lt;parent&gt;)...]
(Any number of option -p, each with one &lt;parent&gt; argument.)</pre>
<pre>[(-p <span class="hover-term" data-term="parent">&lt;parent&gt;</span>)...]
(Any number of option -p, each with one <span class="hover-term" data-term="parent">&lt;parent&gt;</span> argument.)</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>git remote set-head &lt;name&gt; (-a | -d | &lt;branch&gt;)
(One and only one of "-a", "-d" or "&lt;branch&gt;" _must_ (no square
<pre>git remote set-head &lt;name&gt; (-a | -d | <span class="hover-term" data-term="branch">&lt;branch&gt;</span>)
(One and only one of "-a", "-d" or "<span class="hover-term" data-term="branch">&lt;branch&gt;</span>" _must_ (no square
brackets) be provided.)</pre>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions external/docs/content/docs/CodingGuidelines/2.22.1.html
Original file line number Diff line number Diff line change
Expand Up @@ -929,14 +929,14 @@
</div>
<div class="literalblock">
<div class="content">
<pre>[(-p &lt;parent&gt;)...]
(Any number of option -p, each with one &lt;parent&gt; argument.)</pre>
<pre>[(-p <span class="hover-term" data-term="parent">&lt;parent&gt;</span>)...]
(Any number of option -p, each with one <span class="hover-term" data-term="parent">&lt;parent&gt;</span> argument.)</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>git remote set-head &lt;name&gt; (-a | -d | &lt;branch&gt;)
(One and only one of "-a", "-d" or "&lt;branch&gt;" _must_ (no square
<pre>git remote set-head &lt;name&gt; (-a | -d | <span class="hover-term" data-term="branch">&lt;branch&gt;</span>)
(One and only one of "-a", "-d" or "<span class="hover-term" data-term="branch">&lt;branch&gt;</span>" _must_ (no square
brackets) be provided.)</pre>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions external/docs/content/docs/CodingGuidelines/2.25.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -924,14 +924,14 @@
</div>
<div class="literalblock">
<div class="content">
<pre>[(-p &lt;parent&gt;)...]
(Any number of option -p, each with one &lt;parent&gt; argument.)</pre>
<pre>[(-p <span class="hover-term" data-term="parent">&lt;parent&gt;</span>)...]
(Any number of option -p, each with one <span class="hover-term" data-term="parent">&lt;parent&gt;</span> argument.)</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>git remote set-head &lt;name&gt; (-a | -d | &lt;branch&gt;)
(One and only one of "-a", "-d" or "&lt;branch&gt;" _must_ (no square
<pre>git remote set-head &lt;name&gt; (-a | -d | <span class="hover-term" data-term="branch">&lt;branch&gt;</span>)
(One and only one of "-a", "-d" or "<span class="hover-term" data-term="branch">&lt;branch&gt;</span>" _must_ (no square
brackets) be provided.)</pre>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions external/docs/content/docs/CodingGuidelines/2.27.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -930,14 +930,14 @@
</div>
<div class="literalblock">
<div class="content">
<pre>[(-p &lt;parent&gt;)...]
(Any number of option -p, each with one &lt;parent&gt; argument.)</pre>
<pre>[(-p <span class="hover-term" data-term="parent">&lt;parent&gt;</span>)...]
(Any number of option -p, each with one <span class="hover-term" data-term="parent">&lt;parent&gt;</span> argument.)</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>git remote set-head &lt;name&gt; (-a | -d | &lt;branch&gt;)
(One and only one of "-a", "-d" or "&lt;branch&gt;" _must_ (no square
<pre>git remote set-head &lt;name&gt; (-a | -d | <span class="hover-term" data-term="branch">&lt;branch&gt;</span>)
(One and only one of "-a", "-d" or "<span class="hover-term" data-term="branch">&lt;branch&gt;</span>" _must_ (no square
brackets) be provided.)</pre>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions external/docs/content/docs/CodingGuidelines/2.28.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -947,14 +947,14 @@
</div>
<div class="literalblock">
<div class="content">
<pre>[(-p &lt;parent&gt;)...]
(Any number of option -p, each with one &lt;parent&gt; argument.)</pre>
<pre>[(-p <span class="hover-term" data-term="parent">&lt;parent&gt;</span>)...]
(Any number of option -p, each with one <span class="hover-term" data-term="parent">&lt;parent&gt;</span> argument.)</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>git remote set-head &lt;name&gt; (-a | -d | &lt;branch&gt;)
(One and only one of "-a", "-d" or "&lt;branch&gt;" _must_ (no square
<pre>git remote set-head &lt;name&gt; (-a | -d | <span class="hover-term" data-term="branch">&lt;branch&gt;</span>)
(One and only one of "-a", "-d" or "<span class="hover-term" data-term="branch">&lt;branch&gt;</span>" _must_ (no square
brackets) be provided.)</pre>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions external/docs/content/docs/CodingGuidelines/2.3.10.html
Original file line number Diff line number Diff line change
Expand Up @@ -782,14 +782,14 @@
</div>
<div class="literalblock">
<div class="content">
<pre>[(-p &lt;parent&gt;)...]
(Any number of option -p, each with one &lt;parent&gt; argument.)</pre>
<pre>[(-p <span class="hover-term" data-term="parent">&lt;parent&gt;</span>)...]
(Any number of option -p, each with one <span class="hover-term" data-term="parent">&lt;parent&gt;</span> argument.)</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>git remote set-head &lt;name&gt; (-a | -d | &lt;branch&gt;)
(One and only one of "-a", "-d" or "&lt;branch&gt;" _must_ (no square
<pre>git remote set-head &lt;name&gt; (-a | -d | <span class="hover-term" data-term="branch">&lt;branch&gt;</span>)
(One and only one of "-a", "-d" or "<span class="hover-term" data-term="branch">&lt;branch&gt;</span>" _must_ (no square
brackets) be provided.)</pre>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions external/docs/content/docs/CodingGuidelines/2.32.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -941,14 +941,14 @@
</div>
<div class="literalblock">
<div class="content">
<pre>[(-p &lt;parent&gt;)...]
(Any number of option -p, each with one &lt;parent&gt; argument.)</pre>
<pre>[(-p <span class="hover-term" data-term="parent">&lt;parent&gt;</span>)...]
(Any number of option -p, each with one <span class="hover-term" data-term="parent">&lt;parent&gt;</span> argument.)</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>git remote set-head &lt;name&gt; (-a | -d | &lt;branch&gt;)
(One and only one of "-a", "-d" or "&lt;branch&gt;" _must_ (no square
<pre>git remote set-head &lt;name&gt; (-a | -d | <span class="hover-term" data-term="branch">&lt;branch&gt;</span>)
(One and only one of "-a", "-d" or "<span class="hover-term" data-term="branch">&lt;branch&gt;</span>" _must_ (no square
brackets) be provided.)</pre>
</div>
</div>
Expand Down
Loading
Loading