What this is is the table of content mapper on the API documentation
page you see in the cloudstack docs. Based on the API prefixes we put
it in the right category. eg: deleteCacheStore, createCacheStore etc
go under the heading "Image Store"

The file to change when you introduce a new API is
'tools/apidoc/gen_toc.py'. Go to the dictionary and add your mapping
for API -> category.

If you don't the 'mvn -Pdeveloper -pl :cloud-apidoc clean install'
will fail.

On Fri, Jul 26, 2013 at 02:54:57AM +0000, Alex Huang wrote:
> [INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-apidoc ---
> Check, is this api part of another build profile? Null value for key: 
> configureSimulator preProcessedCommand=1
> Traceback (most recent call last):
>   File "/cyg/d/src/acs/master/tools/apidoc/gen_toc.py", line 189, in <module>
>     category = choose_category(fn)
>   File "/cyg/d/src/acs/master/tools/apidoc/gen_toc.py", line 169, in 
> choose_category
>     (fn, __file__))
> Exception: Need to add a category for deleteCacheStore.xml to 
> /cyg/d/src/acs/master/tools/apidoc/gen_toc.py:known_categories
> 
> 
> Thanks.
> --Alex

-- 
Prasanna.,

------------------------
Powered by BigRock.com

Reply via email to