diff --git a/autoapi/base.py b/autoapi/base.py index 5d59220..6e9efdf 100644 --- a/autoapi/base.py +++ b/autoapi/base.py @@ -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): diff --git a/autoapi/domains/dotnet.py b/autoapi/domains/dotnet.py index 67e2ff0..a8ffc01 100644 --- a/autoapi/domains/dotnet.py +++ b/autoapi/domains/dotnet.py @@ -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)