Documentation/Notes: Remove 'footnote:' warning
PATCH 1/1 Documentation/Notes: Remove 'footnote:' warning
Remove 'footnote:' from git-notes.txt which is responsible for the warnings surfacing during the generation of git documentation.
--- Documentation/git-notes.txt | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-)
Documentation/git-notes.txt +5 -4
@@ -210,10 +210,11 @@ Commit notes are blobs containing extra information about an object are taken from notes refs. A notes ref is usually a branch which contains "files" whose paths are the object names for the objects they describe, with some directory separators included for performance -reasons footnote:[Permitted pathnames have the form -'ab'`/`'cd'`/`'ef'`/`'...'`/`'abcdef...': a sequence of directory -names of two hexadecimal digits each followed by a filename with the -rest of the object ID.]. +reasons. + +Permitted pathnames have the form 'ab'`/`'cd'`/`'ef'`/`'...'`/`'abcdef...': +a sequence of directory names of two hexadecimal digits each +followed by a filename with the rest of the object ID. Every notes change creates a new commit at the specified notes ref. You can therefore inspect the history of the notes by invoking, e.g.,
Signature · 1 line
1.7.6.485.gad3dc
Quoted 4 lines · Pavan Kumar Sunkara
Remove 'footnote:' from git-notes.txt which is responsible for the warnings surfacing during the generation of git documentation.
---
What version of asciidoc are you using? Perhaps that works just fine with newer versions?
Signature · 4 lines
-Drew Northup ________________________________________________ "As opposed to vegetable or mineral error?" -John Pescatore, SANS NewsBites Vol. 12 Num. 59
Hi,
Quoted 8 lines · Drew Northup
Quoted 3 lines · Pavan Kumar Sunkara
Remove 'footnote:' from git-notes.txt which is responsible for the warnings surfacing during the generation of git documentation.
What version of asciidoc are you using? Perhaps that works just fine with newer versions?
Good call. This was fixed by Docbook XSL 1.76.0:
Norman Walsh: block.xsl; endnotes.xsl
Fix bug where simpara in footnote didn't work.
The symptoms are a warning and a little extra vertical space after the numberal "1." in the output. I don't know if it is worth working around or not.
Quoted 14 lines · Jonathan Nieder
Hi,
Quoted 8 lines · Drew Northup
Quoted 3 lines · Pavan Kumar Sunkara
Remove 'footnote:' from git-notes.txt which is responsible for the warnings surfacing during the generation of git documentation.
What version of asciidoc are you using? Perhaps that works just fine with newer versions?
Good call. This was fixed by Docbook XSL 1.76.0:
Quoted 8 lines
Norman Walsh: block.xsl; endnotes.xsl
Fix bug where simpara in footnote didn't work.
The symptoms are a warning and a little extra vertical space after the numberal "1." in the output. I don't know if it is worth working around or not.
So, using newest version will not give us a warning?
Signature · 1 line
- Pavan Kumar Sunkara
Quoted 6 lines · Pavan Kumar Sunkara
Quoted 4 lines · Jonathan Nieder
Good call. This was fixed by Docbook XSL 1.76.0:
Norman Walsh: block.xsl; endnotes.xsl
Quoted 7 lines
Quoted 5 lines
Fix bug where simpara in footnote didn't work.
The symptoms are a warning and a little extra vertical space after the numberal "1." in the output. I don't know if it is worth working around or not.
So, using newest version will not give us a warning?
Yes, when I run "make -C Documentation git-notes.1" I don't get the warning or spurious blank line. Sorry for the lack of clarity. (That's no reason to not to adopt a workaround if it is pleasant, of course.)
Quoted 7 lines
Quoted 1 line
So, using newest version will not give us a warning?
Yes, when I run "make -C Documentation git-notes.1" I don't get the warning or spurious blank line. Sorry for the lack of clarity. (That's no reason to not to adopt a workaround if it is pleasant, of course.)
Currently the documentation at
http://www.kernel.org/pub/software/scm/git/docs/git-notes.html is showing the footnote wrongly. This workaround will solve that. Jonathan, ack the patch if you want to have a workaround.
Thanks
Signature · 1 line
- Pavan Kumar Sunkara
Quoted 3 lines · Pavan Kumar Sunkara
Currently the documentation at
http://www.kernel.org/pub/software/scm/git/docs/git-notes.html is showing the footnote wrongly. This workaround will solve that.
(For reference, the linked-to page was generated with asciidoc 8.4.5 and renders the footnote as
<br />[Permitted pathnames have the
[...]
rest of the object ID.]<br />.
inline instead of a nicely labelled link like "[1]" that one might expect.)
Weird. That's not the Docbook XSL bug I pointed to --- the HTML documentation is generated by asciidoc directly, without any help from Docbook XSL. And I can't reproduce it locally, either. *digs around in asciidoc changelog* Ah, Asciidoc 8.5.1 introduced styling of footnotes:
* Styled HTML footnotes.
* Added links to HTML footnote refs.
Until the kernel.org toolchain gains that feature, wouldn't a simpler workaround be to put the footnote after the period, so it renders there as a simple line in brackets?
Barring that, it should be possible to put this information in the discussion section without disrupting the flow of the text so much, for example by putting it in parentheses or making it the last paragraph of the discussion section. A patch with such a change and mentioning in the commit message the two bugs you're working around would seem sane to me.
Thanks,
Jonathan
Quoted 5 lines
Barring that, it should be possible to put this information in the discussion section without disrupting the flow of the text so much, for example by putting it in parentheses or making it the last paragraph of the discussion section.
That is what I did.
Quoted 7 lines
A patch with such a change and
mentioning in the commit message the two bugs you're working around would seem sane to me.Thanks,
Jonathan
I agree. So, if the patch is ok, I will rewrite the commit msg and send it again.
Thanks,
Pavan Kumar Sunkara
Signature · 1 line
- Pavan Kumar Sunkara
Quoted 8 lines · Pavan Kumar Sunkara
Quoted 7 lines
A patch with such a change and
mentioning in the commit message the two bugs you're working around would seem sane to me.Thanks,
Jonathan
Quoted 5 lines
I agree. So, if the patch is ok, I will rewrite the commit msg and send it again.
Thanks,
Pavan Kumar Sunkara
Thanks.
A message that is not in the archive (sent off-list or not yet received): CAK9CXBUAX42gCuRLWUpuvK6SSZXv1Cn4YNoFAfjRhouzd+thcw@mail.gmail.com
I am using asciidoc 8.6.3. It is the newest available in ubuntu repository.
Quoted 15 lines · Drew Northup
Quoted 4 lines · Pavan Kumar Sunkara
Remove 'footnote:' from git-notes.txt which is responsible for the warnings surfacing during the generation of git documentation.
---What version of asciidoc are you using? Perhaps that works just fine with newer versions?
--
-Drew Northup
________________________________________________
"As opposed to vegetable or mineral error?"
-John Pescatore, SANS NewsBites Vol. 12 Num. 59