Skip to content

Commit d56c3dd

Browse files
authored
Add seq2seq to TOC and fix the api-generator. (#1037)
* Add seq2seq to TOC.
1 parent 39d2d34 commit d56c3dd

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

docs/tutorials/_toc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ toc:
1616
path: /addons/tutorials/optimizers_conditionalgradient
1717
- title: TQDM Progress Bar
1818
path: /addons/tutorials/tqdm_progress_bar
19+
- title: Seq2Seq for Translation
20+
path: /addons/tutorials/networks_seq2seq_nmt

tools/docs/build_docs.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,8 @@
3030
import tensorflow_addons as tfa
3131

3232
from tensorflow_docs.api_generator import generate_lib
33-
from tensorflow_docs.api_generator import parser
3433
from tensorflow_docs.api_generator import public_api
3534

36-
from tensorflow.python.util import tf_inspect
37-
38-
# Use tensorflow's `tf_inspect`, which is aware of `tf_decorator`.
39-
parser.tf_inspect = tf_inspect
40-
4135
PROJECT_SHORT_NAME = "tfa"
4236
PROJECT_FULL_NAME = "TensorFlow Addons"
4337

0 commit comments

Comments
 (0)