Skip to content

Commit 0c3e700

Browse files
author
The TensorFlow Datasets Authors
committed
Remove KYD references
PiperOrigin-RevId: 638732137
1 parent 53ea724 commit 0c3e700

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

tensorflow_datasets/scripts/documentation/dataset_markdown_builder.py

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -485,31 +485,6 @@ def content(self, builder: tfds.core.DatasetBuilder):
485485
"""))
486486

487487

488-
class KnowYourDataSection(Section):
489-
NAME = 'Visualization'
490-
491-
def __init__(self):
492-
super().__init__()
493-
self._catalog_urls = {}
494-
495-
def get_key(self, builder: tfds.core.DatasetBuilder):
496-
return None # Single url for all configs
497-
498-
def content(self, builder: tfds.core.DatasetBuilder):
499-
url = self._catalog_urls.get(builder.name)
500-
if url:
501-
return f"""
502-
<a class="button button-with-icon" href="{url}">
503-
Explore in Know Your Data
504-
<span class="material-icons icon-after" aria-hidden="true">
505-
north_east
506-
</span>
507-
</a>
508-
"""
509-
else:
510-
return _SKIP_SECTION
511-
512-
513488
class PapersWithCodeSection(Section):
514489
NAME = 'Additional Documentation'
515490

@@ -777,7 +752,6 @@ def get_markdown_string(
777752
"""Build the dataset markdown."""
778753

779754
all_sections = [
780-
KnowYourDataSection(),
781755
DatasetDescriptionSection(),
782756
PapersWithCodeSection(),
783757
ConfigDescriptionSection(),

0 commit comments

Comments
 (0)