Login  Register

Using the Asciidoctor CLI generate HTML file error:invalid part, must have at least one section (e.g., chapter, appendix, etc.)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Using the Asciidoctor CLI generate HTML file error:invalid part, must have at least one section (e.g., chapter, appendix, etc.)

hbwhypw
1 post
I am a new.
Generate  for  Spring security doc ,
site: https://github.com/spring-projects/spring-security/tree/rb3.2.9.RELEASE/docs/manual/src/asciidoc







Thanks
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Using the Asciidoctor CLI generate HTML file error:invalid part, must have at least one section (e.g., chapter, appendix, etc.)

mojavelinux
Administrator
2681 posts
This requirement is explained in the following section of the user manual.


If it needs to be explained better, let's improve that section.

The bottom line is that a part (level-0 section) can only contain the following two elements:

* part introduction
* level-1 sections (which themselves can have nested sections)

A part must have at least one level-1 section. If it doesn't, it's considered invalid (because it's considered invalid in DocBook).

-Dan

On Thu, Apr 21, 2016 at 1:17 AM, hbwhypw [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I am a new.
Generate  for  Spring security doc ,
site: https://github.com/spring-projects/spring-security/tree/rb3.2.9.RELEASE/docs/manual/src/asciidoc







Thanks


To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen