mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-19 15:25:31 +00:00
Use proper passed in patterns
This commit is contained in:
parent
c20783558e
commit
2abc73ce30
@ -25,7 +25,7 @@ class DotNetSphinxMapper(SphinxMapperBase):
|
||||
Load objects from the filesystem into the ``paths`` dictionary.
|
||||
|
||||
'''
|
||||
for path in self.find_files(patterns=['project.json'], dir=dir, ignore=ignore):
|
||||
for path in self.find_files(patterns=patterns, dir=dir, ignore=ignore):
|
||||
subprocess.check_output(['BuildMeta', '/target:Build', path])
|
||||
# We now have yaml files
|
||||
for xdoc_path in self.find_files(patterns=['*.yml'], dir='xdoc', ignore=ignore):
|
||||
|
Loading…
Reference in New Issue
Block a user