File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,10 @@ a.icon.icon-home {
94
94
color : # D44D2C ;
95
95
}
96
96
97
+ .version {
98
+ color : # D44D2C !important ;
99
+ }
100
+
97
101
/* Default footer text is quite big */
98
102
footer {
99
103
font-size : 80% ;
Original file line number Diff line number Diff line change 95
95
# built documents.
96
96
#
97
97
# The short X.Y version.
98
- version = ''
98
+ version = torch . __version__
99
99
# The full version, including alpha/beta/rc tags.
100
- release = ''
100
+ release = torch . __version__
101
101
102
102
# The language for content autogenerated by Sphinx. Refer to documentation
103
103
# for a list of supported languages.
156
156
html_logo = '_static/img/pytorch-logo-dark.svg'
157
157
html_theme_options = {
158
158
'collapse_navigation' : False ,
159
- 'display_version' : False ,
159
+ 'display_version' : True ,
160
160
'logo_only' : False ,
161
161
}
162
162
You can’t perform that action at this time.
0 commit comments