Skip to content

Commit 0e4615e

Browse files
author
The TensorFlow Datasets Authors
committed
Add homepage to the xtreme dataset collection
PiperOrigin-RevId: 478766833
1 parent 3f3a950 commit 0e4615e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tensorflow_datasets/dataset_collections/xtreme/xtreme.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def info(self) -> dataset_collection_builder.DatasetCollectionInfo:
3232
release_notes={
3333
"1.0.0": "Initial release",
3434
},
35+
homepage="https://sites.research.google/xtreme",
3536
)
3637

3738
@property

tensorflow_datasets/scripts/documentation/collection_markdown_builder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ def content(self, loader: tfds.core.DatasetCollectionLoader):
8888
if homepage:
8989
homepage = doc_utils.format_homepage_url(homepage)
9090
else:
91-
return ''
91+
homepage = ''
92+
return dmb.Block(homepage)
9293

9394

9495
class CollectionDescriptionSection(CollectionSection):

0 commit comments

Comments
 (0)