diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-02-11 16:00:39 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-02-11 16:12:33 -0800 |
commit | ff2d9e99ba2c4de3a93230c3ffcf4c30c4a148ff (patch) | |
tree | eb87ff44fb27ddd505a321b3ca960a8317f43e97 /tensorflow/tools/common | |
parent | b40775aa7a87b51d97994edb27fe3ac5d7a5449a (diff) |
Add linking to methods, and warnings for links to things that are not
in the index.
This CL creates an overabundance of tags on class pages, but that
doesn't hurt as long as we know ours. Demo reference to class field
(tf.GraphKeys.REGULARIZATION_LOSSES) is in get_variable.md.
Change: 147257988
Diffstat (limited to 'tensorflow/tools/common')
-rw-r--r-- | tensorflow/tools/common/public_api.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tensorflow/tools/common/public_api.py b/tensorflow/tools/common/public_api.py index 5c32bd12c3..9fa2babd60 100644 --- a/tensorflow/tools/common/public_api.py +++ b/tensorflow/tools/common/public_api.py @@ -40,6 +40,8 @@ class PublicAPIVisitor(object): # Each entry maps a module path to a name to ignore in traversal. _do_not_descend_map = { '': [ + 'core', + 'examples', 'flags', # Don't add flags 'platform', # TODO(drpng): This can be removed once sealed off. 'pywrap_tensorflow', # TODO(drpng): This can be removed once sealed. @@ -48,9 +50,6 @@ class PublicAPIVisitor(object): 'tools' ], - # Exclude protos, they leak a lot. - 'core': ['protobuf'], - # Some implementations have this internal module that we shouldn't expose. 'flags': ['cpp_flags'], |