diff options
author | 2018-08-07 14:28:32 -0700 | |
---|---|---|
committer | 2018-08-07 14:32:57 -0700 | |
commit | 02df0f46d562a0c48b6f24803eba6330d13d7213 (patch) | |
tree | 3a39933e12b7300ddcefb5afb90db053f295d824 /tensorflow/docs_src/guide/graph_viz.md | |
parent | 452f995e2c23cbd67c14b15b678bb3a352212633 (diff) |
Remove usage of magic-api-link syntax from docs.
Back-ticks are now converted to links in the api_docs generator. With the new docs repo we're moving to simplify the docs pipeline, and make everything more readable.
By doing this we no longer get test failures for symbols that don't exist (`tf.does_not_exist` will not get a link).
There is also no way to set custom link text now. That's okay.
This is the result of the following regex replacement (+ a couple of manual edits.):
re: @\{([^$].*?)(\$.+?)?}
sub: `\1`
Which does the following replacements:
"@{tf.symbol}" --> "`tf.symbol`"
"@{tf.symbol$link_text}" --> "`tf.symbol`"
PiperOrigin-RevId: 207780049
Diffstat (limited to 'tensorflow/docs_src/guide/graph_viz.md')
-rw-r--r-- | tensorflow/docs_src/guide/graph_viz.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/docs_src/guide/graph_viz.md b/tensorflow/docs_src/guide/graph_viz.md index a8876da5a5..97b0e2d4de 100644 --- a/tensorflow/docs_src/guide/graph_viz.md +++ b/tensorflow/docs_src/guide/graph_viz.md @@ -15,7 +15,7 @@ variable names can be scoped and the visualization uses this information to define a hierarchy on the nodes in the graph. By default, only the top of this hierarchy is shown. Here is an example that defines three operations under the `hidden` name scope using -@{tf.name_scope}: +`tf.name_scope`: ```python import tensorflow as tf |