Skip toc’s explicitly

This commit is contained in:
Eric Holscher 2015-04-22 10:11:56 -07:00
parent 09097cf364
commit adf2f0c38c
2 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,6 @@ class AutoAPIBase(object):
'{language}/{type}.rst'.format(language=self.language, type=self.type)
)
ctx.update(**self.get_context_data())
print ctx['item_map'].keys()
return template.render(**ctx)
def get_absolute_path(self):

View File

@ -52,7 +52,9 @@ class DotNetDomain(AutoAPIDomain):
def get_objects(self):
'''Trigger find of serialized sources and build objects'''
for path in self.find_files():
for path in self.find_files('*.yaml'):
if path.endswith('toc.yml'):
continue
data = self.read_file(path)
try:
obj = self.create_class(data)