Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Hi,
I'm new to this list, I've been playing with Asciidoctor for a few days and loving it so far. I'm trying to use Asciidoc to generate pages in a Maven Site to no avail. I've tried to configure my plugin exactly as hinted in the doc at [1], but I get this error: ---- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.2:site (default-site) on project my-maven-plugin: Error during page generation: Error parsing '/Users/Romain/Work/my-maven-plugin/src/site/asciidoc/usage.ad': line [9] Error parsing the model: end tag name </head> must be the same as start tag <link> from line 8 (position: TEXT seen ...<link rel="stylesheet" href="./asciidoctor.css">\n</head>... @9:8) -> [Help 1] ---- It seems to me that the Maven site plugin is not happy with the HTML5 backend and would prefer an XHTML syntax. Is there any way to configure the backend used by the site plugin ? Has anyone been successful in using Asciidoctor for Maven site generation ? Thanks! Romain. [1] http://asciidoctor.org/docs/install-and-use-asciidoctor-maven-plugin/#maven-site-integration |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Shooting in the dark, but is the link
tag closed/ended? <link rel... />
On 07/10/2013 03:50 PM, Romain Deltour [via Asciidoctor :: Discussion] wrote: Hi, ... [show rest of quote]
-- Jason Lee http://cubtracker.com http://blogs.steeplesoft.com http://twitter.com/jasondlee http://blogs.steeplesoft.com/+ http://blogs.steeplesoft.com/in |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Well, that's my guess too, precisely, but this link tag is generates by Asciidoctor and it seems I have no control on the backend (xhtml11 vs html) used by the Maven site plugin…
Romain. On 10 juil. 2013, at 22:59, "jason [via Asciidoctor :: Discussion]" <[hidden email]> wrote:
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Sounds to me like parser being used by the maven-site-plugin is in strict mode (or xml), and it doesn't look like you can change that :( At least there's nothing in the documentation. A source dive may find something though.
On Wed, Jul 10, 2013 at 3:03 PM, Romain Deltour [via Asciidoctor :: Discussion] <[hidden email]> wrote: Well, that's my guess too, precisely, but this link tag is generates by Asciidoctor and it seems I have no control on the backend (xhtml11 vs html) used by the Maven site plugin… ... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
OK, I tried to set the backend to 'xhtml11' in org.asciidoctor.maven.site.AsciidoctorParser, but then the rendering fails with "Couldn't find a view in @views for document".
I'll stop here and fall back to APT or Markdown :( Unfortunately I really need to stop shaving the yack. Thanks anyway! |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
There is no xhtml backend in asciidoctor. Sorry about that, but would you mind creating a ticket so we can track this down? On Wed, Jul 10, 2013 at 3:52 PM, Romain Deltour [via Asciidoctor :: Discussion] <[hidden email]> wrote: OK, I tried to set the backend to 'xhtml11' in org.asciidoctor.maven.site.AsciidoctorParser, but then the rendering fails with "Couldn't find a view in @views for document". |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Ah OK, I didn't know. New issue created:
On 11 juil. 2013, at 00:14, LightGuardjp [via Asciidoctor :: Discussion] <[hidden email]> wrote:
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
|
I'll comment in the issue. Let's follow the discussion there. -Dan On Wed, Jul 10, 2013 at 4:22 PM, Romain Deltour [via Asciidoctor :: Discussion] <[hidden email]> wrote: Ah OK, I didn't know. New issue created: ... [show rest of quote] Dan Allen | http://google.com/profiles/dan.j.allen
|
Free forum by Nabble | Edit this page |