зеркало из https://github.com/microsoft/git.git
Merge branch 'jk/docs-docbook-monospace-display'
The documentation in the TeXinfo format was using indented output for materials meant to be examples that are better typeset in monospace. * jk/docs-docbook-monospace-display: docs: monospace listings in docbook output
This commit is contained in:
Коммит
8ebae4a552
|
@ -36,7 +36,7 @@ ifndef::git-asciidoc-no-roff[]
|
||||||
# v1.72 breaks with this because it replaces dots not in roff requests.
|
# v1.72 breaks with this because it replaces dots not in roff requests.
|
||||||
[listingblock]
|
[listingblock]
|
||||||
<example><title>{title}</title>
|
<example><title>{title}</title>
|
||||||
<literallayout>
|
<literallayout class="monospaced">
|
||||||
ifdef::doctype-manpage[]
|
ifdef::doctype-manpage[]
|
||||||
.ft C
|
.ft C
|
||||||
endif::doctype-manpage[]
|
endif::doctype-manpage[]
|
||||||
|
@ -53,7 +53,7 @@ ifdef::doctype-manpage[]
|
||||||
# The following two small workarounds insert a simple paragraph after screen
|
# The following two small workarounds insert a simple paragraph after screen
|
||||||
[listingblock]
|
[listingblock]
|
||||||
<example><title>{title}</title>
|
<example><title>{title}</title>
|
||||||
<literallayout>
|
<literallayout class="monospaced">
|
||||||
|
|
|
|
||||||
</literallayout><simpara></simpara>
|
</literallayout><simpara></simpara>
|
||||||
{title#}</example>
|
{title#}</example>
|
||||||
|
|
|
@ -14,7 +14,7 @@ ifdef::backend-docbook[]
|
||||||
# "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this.
|
# "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this.
|
||||||
[listingblock]
|
[listingblock]
|
||||||
<example><title>{title}</title>
|
<example><title>{title}</title>
|
||||||
<literallayout>
|
<literallayout class="monospaced">
|
||||||
|
|
|
|
||||||
</literallayout>
|
</literallayout>
|
||||||
{title#}</example>
|
{title#}</example>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче