[PATCH 2 of 6] lfs: dedent documentation section about .hglfs file

Matt Harbison mharbison72 at gmail.com
Mon Oct 21 22:37:49 EDT 2019


On Mon, 21 Oct 2019 06:00:54 -0400, Denis Laxalde <denis at laxalde.org>  
wrote:

> # HG changeset patch
> # User Denis Laxalde <denis at laxalde.org>
> # Date 1571648903 -7200
> #      Mon Oct 21 11:08:23 2019 +0200
> # Node ID 70764c9ddba397fa6cc2c92a28a1a65c5bdddaea
> # Parent  f6d36e1d008ac5eaaccfaeb2a598cdbdf1d36391
> lfs: dedent documentation section about .hglfs file
>
> The leading ".hglfs::" is interpreted as a macro in generated man page
> and, as it is unknown, the whole section does not render. Also, having
> the section marked as preformatted (::) makes it render verbatim in
> HTML, which is not desired as the text contains formatting markers. So
> we just dedent the section and remove the ".hglfs::" line. The example
> file is still indented and rendered preformatted.

Is there a way to keep ".hglfs" (or similar) as a section header of sorts,  
like `Configs` below it?  There's a lot of text here, and the visual break  
makes it easier to read.


More information about the Mercurial-devel mailing list