提交 40d8721d 编写于 作者: A A. Unique TensorFlower 提交者: TensorFlower Gardener

Made public_api not call its wrapped visitor on API children in the "do not descend" map.

Change: 150073043
上级 9679a213
......@@ -476,10 +476,13 @@ class DocGenerator(object):
guide_index=guide_index,
base_dir=base_dir)
def run_extraction(self):
return extract(self._py_modules, self._do_not_descend_map)
def build(self, flags):
"""Actually build the docs."""
doc_index = build_doc_index(flags.src_dir)
visitor = extract(self._py_modules, self._do_not_descend_map)
visitor = self.run_extraction()
reference_resolver = self.make_reference_resolver(visitor, doc_index)
guide_index = _build_guide_index(
os.path.join(flags.src_dir, 'api_guides/python'))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册