2014-06-18 50 views
0

可以將唯一資源添加到目錄中嗎?

FORMAT: 1A 
HOST: something.com 

# Something API  

# Group Something 
    Foobar description 
## Some Route [/routeroute] 
    Foobar description 
### Some HTML Action [GET] 
+ Response 200 (text/plain) 

# Group Something 2 
    Foobar description 2 
## Some Route [/routeroute2] 
    Foobar description 2 
### Some HTML Action 2 [GET] 
+ Response 200 (text/plain) 

產生      this table of contents

現在這個:

FORMAT: 1A 
HOST: something.com 

# Something API  

# Some Route [/routeroute] 
     Foobar description 
## Some HTML Action [GET] 
+ Response 200 (text/plain) 

# Some Route 2 [/routeroute2] 
     Foobar description 2 
## Some HTML Action 2 [GET] 
+ Response 200 (text/plain) 

產生      enter image description here

爲什麼蜂房內的目錄中沒有單獨的資源?

回答

0

這在目前的Apiary交互式文檔中是不可能的。然而,我們正在研究next-gen documentation,其中資源確實是TOC的一部分。

E.g:

TOC


要選擇使用的下一代文檔測試版的外觀爲您的API設置「新文檔」開關。

相關問題