Git development
 help / color / mirror / Atom feed
* Formatting error in page http://git-scm.com/docs/user-manual
@ 2015-09-25 12:38 Valentin VALCIU
  2015-09-25 12:59 ` John Keeping
  0 siblings, 1 reply; 3+ messages in thread
From: Valentin VALCIU @ 2015-09-25 12:38 UTC (permalink / raw)
  To: git

Hello!

There is a formatting error in the source code of page
http://git-scm.com/docs/user-manual that makes almost half of it be
rendered in a <pre> element displaying the page source in the original
markup language instead of being converted to HTML.

The issue is in the paragraph that stars with "The index is a binary
file (generally kept in `.git/index`)..."


Regards,
--
Valentin VĂLCIU,
Bucharest, Romania

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Formatting error in page http://git-scm.com/docs/user-manual
  2015-09-25 12:38 Formatting error in page http://git-scm.com/docs/user-manual Valentin VALCIU
@ 2015-09-25 12:59 ` John Keeping
  2015-09-25 14:29   ` Michael J Gruber
  0 siblings, 1 reply; 3+ messages in thread
From: John Keeping @ 2015-09-25 12:59 UTC (permalink / raw)
  To: Valentin VALCIU; +Cc: git, Junio C Hamano

On Fri, Sep 25, 2015 at 03:38:02PM +0300, Valentin VALCIU wrote:
> There is a formatting error in the source code of page
> http://git-scm.com/docs/user-manual that makes almost half of it be
> rendered in a <pre> element displaying the page source in the original
> markup language instead of being converted to HTML.
> 
> The issue is in the paragraph that stars with "The index is a binary
> file (generally kept in `.git/index`)..."

It looks like the header underline isn't quite accurate enough to keep
Asciidoctor happy.  The patch below should fix it.

-- >8 --
Subject: [PATCH] Documentation/user-manual: fix header underline

Asciidoctor is stricter than AsciiDoc when deciding if underlining is a
section title or the start of preformatted text.  Make the length of the
underlining match the text to ensure that it renders correctly in all
implementations.

Signed-off-by: John Keeping <john@keeping.me.uk>
---
 Documentation/user-manual.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
index 68978f5..1b7987e 100644
--- a/Documentation/user-manual.txt
+++ b/Documentation/user-manual.txt
@@ -3424,7 +3424,7 @@ just missing one particular blob version.
 
 [[the-index]]
 The index
------------
+---------
 
 The index is a binary file (generally kept in `.git/index`) containing a
 sorted list of path names, each with permissions and the SHA-1 of a blob
-- 
2.6.0.rc2.198.g81437b7

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: Formatting error in page http://git-scm.com/docs/user-manual
  2015-09-25 12:59 ` John Keeping
@ 2015-09-25 14:29   ` Michael J Gruber
  0 siblings, 0 replies; 3+ messages in thread
From: Michael J Gruber @ 2015-09-25 14:29 UTC (permalink / raw)
  To: John Keeping, Valentin VALCIU; +Cc: git, Junio C Hamano

John Keeping venit, vidit, dixit 25.09.2015 14:59:
> On Fri, Sep 25, 2015 at 03:38:02PM +0300, Valentin VALCIU wrote:
>> There is a formatting error in the source code of page
>> http://git-scm.com/docs/user-manual that makes almost half of it be
>> rendered in a <pre> element displaying the page source in the original
>> markup language instead of being converted to HTML.
>>
>> The issue is in the paragraph that stars with "The index is a binary
>> file (generally kept in `.git/index`)..."
> 
> It looks like the header underline isn't quite accurate enough to keep
> Asciidoctor happy.  The patch below should fix it.
> 
> -- >8 --
> Subject: [PATCH] Documentation/user-manual: fix header underline
> 
> Asciidoctor is stricter than AsciiDoc when deciding if underlining is a
> section title or the start of preformatted text.  Make the length of the
> underlining match the text to ensure that it renders correctly in all
> implementations.
> 
> Signed-off-by: John Keeping <john@keeping.me.uk>
> ---
>  Documentation/user-manual.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
> index 68978f5..1b7987e 100644
> --- a/Documentation/user-manual.txt
> +++ b/Documentation/user-manual.txt
> @@ -3424,7 +3424,7 @@ just missing one particular blob version.
>  
>  [[the-index]]
>  The index
> ------------
> +---------
>  
>  The index is a binary file (generally kept in `.git/index`) containing a
>  sorted list of path names, each with permissions and the SHA-1 of a blob
> 

The only other instance seems to be:

Documentation/git-bisect-lk2009.txt-Acknowledgments
Documentation/git-bisect-lk2009.txt:----------------

Dunno if we want to fix that, too.

Michael

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-25 14:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-25 12:38 Formatting error in page http://git-scm.com/docs/user-manual Valentin VALCIU
2015-09-25 12:59 ` John Keeping
2015-09-25 14:29   ` Michael J Gruber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox