We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b524e34 commit ed4a551Copy full SHA for ed4a551
tools/templates/build_docs.py
@@ -55,8 +55,15 @@ def gen_api_docs():
55
# The below `del`'s are to avoid the api_gen_test to not document these.
56
# Please remove these lines from your build_docs.py files when you create
57
# them.
58
- del tensorflow_docs.google
59
- del tensorflow_docs.api_generator.report.schema
+ try:
+ del tensorflow_docs.google
60
+ except AttributeError:
61
+ pass
62
+
63
64
+ del tensorflow_docs.api_generator.report.schema
65
66
67
68
doc_generator = generate_lib.DocGenerator(
69
root_title=PROJECT_FULL_NAME,
0 commit comments