mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-17 21:25:35 +00:00
Skip toc’s explicitly
This commit is contained in:
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…
Reference in New Issue
Block a user