File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 1
1
sphinx == 1.7.3
2
2
sphinxcontrib-googleanalytics
3
- -e git://github.com/snide/sphinx_rtd_theme .git#egg=sphinx_rtd_theme
3
+ -e git+git ://github.com/pytorch/pytorch_sphinx_theme .git#egg=pytorch_sphinx_theme
Original file line number Diff line number Diff line change 22
22
# sys.path.insert(0, os.path.abspath('.'))
23
23
import torch
24
24
import torchvision
25
- import sphinx_rtd_theme
25
+ import pytorch_sphinx_theme
26
26
27
27
28
28
# -- General configuration ------------------------------------------------
104
104
# The theme to use for HTML and HTML Help pages. See the documentation for
105
105
# a list of builtin themes.
106
106
#
107
- html_theme = 'sphinx_rtd_theme '
108
- html_theme_path = [sphinx_rtd_theme .get_html_theme_path ()]
107
+ html_theme = 'pytorch_sphinx_theme '
108
+ html_theme_path = [pytorch_sphinx_theme .get_html_theme_path ()]
109
109
110
110
# Theme options are theme-specific and customize the look and feel of a theme
111
111
# further. For a list of options available for each theme, see the
115
115
'collapse_navigation' : False ,
116
116
'display_version' : True ,
117
117
'logo_only' : True ,
118
+ 'pytorch_project' : 'docs' ,
118
119
}
119
120
120
121
html_logo = '_static/img/pytorch-logo-dark.svg'
125
126
html_static_path = ['_static' ]
126
127
127
128
# html_style_path = 'css/pytorch_theme.css'
128
- html_context = {
129
- 'css_files' : [
130
- 'https://fonts.googleapis.com/css?family=Lato' ,
131
- '_static/css/pytorch_theme.css'
132
- ],
133
- }
129
+ # html_context = {
130
+ # 'css_files': [
131
+ # 'https://fonts.googleapis.com/css?family=Lato',
132
+ # '_static/css/pytorch_theme.css'
133
+ # ],
134
+ # }
134
135
135
136
136
137
# -- Options for HTMLHelp output ------------------------------------------
You can’t perform that action at this time.
0 commit comments