RAML 中的子章节?

Subchapters in RAML?

在 Github 风格的 RAML 中,有没有办法在文档标签中创建子章节?

例如,鉴于此:

documentation:
  - title: "Overview"
    content: !include documentation/overview.md

  - title: "Getting Started"
    content: !include documentation/getting-started.md

你能不能在入门下添加两章,比如:

documentation:
  - title: "Overview"
    content: !include documentation/overview.md

  - title: "Getting Started"
    content: !include documentation/getting-started.md
       - title: "Intro 1"
         content: !include documentation/Intro_1.md
       - title: "Intro 2"
         content: !include documentation/Intro_2.md

没有内容必须是字符串。所以不允许有子章节。你能得到的最好的是多个顶级章节,然后是你的降价内容中的标题。