Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asciidoc.conf: 'docinfo' attrib. warning for purehtml target #17

Open
miwie opened this issue Sep 1, 2015 · 3 comments
Open

asciidoc.conf: 'docinfo' attrib. warning for purehtml target #17

miwie opened this issue Sep 1, 2015 · 3 comments

Comments

@miwie
Copy link
Contributor

miwie commented Sep 1, 2015

The inclusion of the docinfo attribute in asciidoc.conf leads to the following warning for make purehtml:

mw@nuc:~/work/dpmb$ make purehtml
asciidoc  debian-paketmanagement.txt
asciidoc: WARNING: version.txt: line 2: {include:/opt/mw/work/dpmb/debian-paketmanagement-docinfo.html}: file does not exist
@xtaran
Copy link
Member

xtaran commented Sep 1, 2015

Does it really fail (subject of the bug report) or is it just a warning (body of the bug report)? So far I only get that warning (which I don't yet really understand, but it seems to be related to the include::version.txt[] inside the document header), but the generated HTML document looks fine to me, i.e. I noticed, but ignored that warning for now.

@miwie
Copy link
Contributor Author

miwie commented Sep 1, 2015

Sorry for the confusion:
The build does not really fail, but only a WARNING is shown.
A possible workaround could be an empty debian-paketmanagement-docinfo.html file.
This file could be used (later) to include some information for the HEAD section of the resulting HTML file. See http://www.methods.co.nz/asciidoc/userguide.html#X87

@xtaran
Copy link
Member

xtaran commented Sep 1, 2015

Ah, ok. Thanks for that hint. So it's completely unrelated to the include::version.txt[] statement. I'll have a look. Thanks!

@xtaran xtaran changed the title asciidoc.conf: 'docinfo' attrib. fails for purehtml target asciidoc.conf: 'docinfo' attrib. warning for purehtml target Sep 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants