SolutionsCloud / apidoc

Api Documentation Generator
http://solutionscloud.github.io/apidoc/demo/
GNU General Public License v3.0
42 stars 10 forks source link

Additional properties no longer allowed in config file input section #43

Closed jbruneau closed 10 years ago

jbruneau commented 10 years ago

When I try to render the documentation I have a warning and an error :

WARNING - input: Additional properties are not allowed ('directories' was unexpected) ERROR - Failed to parse sources

As it is the directories property that was in charge to define the sources, I understand the error message. But I don't understand why the directories property is no longer allowed.

jderusse commented 10 years ago

Are you sur, that your "directory" is inside the attribute "properties".

Can you send me the yml file ?

jbruneau commented 10 years ago

input: directories:

The file was working fine before and is still working on my coworkers computers. And of course it wasn't modified.

jderusse commented 10 years ago

Since version 1.2 the directories and files properties are replaced by locations. See http://apidoc.readthedocs.org/en/latest/config.html#sample

jbruneau commented 10 years ago

thank you ! It's working fine now :)