Skip to content

Commit d256c3f

Browse files
authored
Merge branch 'main' into pickle
2 parents edc043e + 92882b6 commit d256c3f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1082
-527
lines changed

docs/source/beta_status.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
class BetaStatus(Directive):
66
has_content = True
77
text = "The {api_name} is in Beta stage, and backward compatibility is not guaranteed."
8+
node = nodes.warning
89

910
def run(self):
1011
text = self.text.format(api_name=" ".join(self.content))
11-
return [nodes.warning("", nodes.paragraph("", "", nodes.Text(text)))]
12+
return [self.node("", nodes.paragraph("", "", nodes.Text(text)))]
1213

1314

1415
class V2BetaStatus(BetaStatus):
1516
text = (
16-
"The {api_name} is in Beta stage, and while we do not expect major breaking changes, "
17-
"some APIs may still change according to user feedback. Please submit any feedback you may have "
18-
"in this issue: https://github.com/pytorch/vision/issues/6753, and you can also check "
19-
"out https://github.com/pytorch/vision/issues/7319 to learn "
20-
"more about the APIs that we suspect might involve future changes."
17+
"The {api_name} is in Beta stage, and while we do not expect disruptive breaking changes, "
18+
"some APIs may slightly change according to user feedback. Please submit any feedback you may have "
19+
"in this issue: https://github.com/pytorch/vision/issues/6753."
2120
)
21+
node = nodes.note
2222

2323

2424
def setup(app):

docs/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
"backreferences_dir": "gen_modules/backreferences",
8484
"doc_module": ("torchvision",),
8585
"remove_config_comments": True,
86+
"ignore_pattern": "helpers.py",
8687
}
8788

8889
napoleon_use_ivar = True

docs/source/datapoints.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _datapoints:
2+
13
Datapoints
24
==========
35

docs/source/datasets.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _datasets:
2+
13
Datasets
24
========
35

0 commit comments

Comments
 (0)