Skip to content

Commit 1fa4d2b

Browse files
authored
Install tensorflow-addons in tutorials. (#2128)
* nbfmt . * install addons * Update README.md
1 parent 6329e1a commit 1fa4d2b

12 files changed

+1205
-2109
lines changed

docs/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ Any markdown or notebook files in this directory will be published to tensorflow
1111
`tutorials/_toc.yaml` controls the left-nav on the tutorials tab. Make sure to keep that file up to date.
1212
Notify the tensorflow/docs team if you need to major changes.
1313

14+
The preferred formatting for TensorFlow notebooks is to use the [tensorflow/docs](https://github.com/tensorflow/docs) [`nbfmt` tool](https://github.com/tensorflow/docs/tree/master/tools/tensorflow_docs/tools). If modifying a tutorial gives you
15+
an unreadable diff use the following commands to re-apply the standard formatting:
16+
17+
```
18+
pip install git+https://github.com/tensorflow/docs
19+
python -m tensorflow_docs.tools.nbfmt {path to notebook file or directory}
20+
```
21+
22+
1423

1524
## 2. Generated API docs
1625

0 commit comments

Comments
 (0)