Regen all docs. (#700)
* Stop recursing if discovery == {}
* Generate docs with 'make docs'.
diff --git a/describe.py b/describe.py
index 3aaaa50..e5203d8 100755
--- a/describe.py
+++ b/describe.py
@@ -335,7 +335,8 @@
for name in dir(resource):
if (not name.startswith('_')
and callable(getattr(resource, name))
- and hasattr(getattr(resource, name), '__is_resource__')):
+ and hasattr(getattr(resource, name), '__is_resource__')
+ and discovery != {}):
dname = name.rsplit('_')[0]
collection = getattr(resource, name)()
document_collection_recursive(collection, path + name + '.', root_discovery,