Skip toc’s explicitly

go-templates
Eric Holscher 10 years ago
parent 09097cf364
commit adf2f0c38c

@ -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):

@ -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)

Loading…
Cancel
Save