Skip to content

Commit 98f2302

Browse files
yashk2810copybara-github
authored andcommitted
Add the full name of the symbol to the page.
PiperOrigin-RevId: 315743788
1 parent 1ec591c commit 98f2302

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/tensorflow_docs/api_generator/pretty_docs.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,12 @@ def _build_type_alias_page(page_info: parser.TypeAliasPageInfo,
162162

163163
del table_view
164164

165-
parts = []
165+
parts = [f'# {page_info.full_name}\n\n']
166166
parts.append(page_info.doc.brief)
167-
parts.append('\n\n')
167+
parts.append('\n')
168168

169169
if page_info.signature is not None:
170-
parts.append('Source:\n\n')
170+
parts.append('Source:\n')
171171
parts.append(
172172
_build_signature(
173173
page_info, obj_name=page_info.short_name, type_alias=True))

0 commit comments

Comments
 (0)