File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,6 +94,10 @@ a.icon.icon-home {
9494 color : # D44D2C ;
9595}
9696
97+ .version {
98+ color : # D44D2C !important ;
99+ }
100+
97101/* Default footer text is quite big */
98102footer {
99103 font-size : 80% ;
Original file line number Diff line number Diff line change 9595# built documents.
9696#
9797# The short X.Y version.
98- version = ''
98+ version = torch . __version__
9999# The full version, including alpha/beta/rc tags.
100- release = ''
100+ release = torch . __version__
101101
102102# The language for content autogenerated by Sphinx. Refer to documentation
103103# for a list of supported languages.
156156html_logo = '_static/img/pytorch-logo-dark.svg'
157157html_theme_options = {
158158 'collapse_navigation' : False ,
159- 'display_version' : False ,
159+ 'display_version' : True ,
160160 'logo_only' : False ,
161161}
162162
You can’t perform that action at this time.
0 commit comments