add child content to docs build
@@ -160,6 +160,10 @@ class DynamicGen(SphinxDirective):
s += self.display_config(chip, modname)
+ child_content = self.child_content(path, module, modname)
+ if child_content is not None:
+ s += child_content
+
return s
def run(self):
@@ -243,6 +247,9 @@ class DynamicGen(SphinxDirective):
'''
return None
+ def child_content(self, path, module, modname):
+ return None
+
#########################
# Specialized extensions
#########################
