mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
Remove outdated css file and refs in cpp conf.py (#14779)
Summary: pytorch_theme.css is no longer necessary for the cpp or html docs site build. The new theme styles are located at https://github.com/pytorch/pytorch_sphinx_theme. The Lato font is also no longer used in the new theme. Pull Request resolved: https://github.com/pytorch/pytorch/pull/14779 Differential Revision: D13356125 Pulled By: ezyang fbshipit-source-id: c7635eb7512c7dcaddb9cad596ab3dbc96480144
This commit is contained in:
committed by
Facebook Github Bot
parent
82903dda9b
commit
2d60afbc90
@ -191,10 +191,7 @@ def setup(app):
|
||||
# NOTE: in Sphinx 1.8+ `html_css_files` is an official configuration value
|
||||
# and can be moved outside of this function (and the setup(app) function
|
||||
# can be deleted).
|
||||
html_css_files = [
|
||||
'https://fonts.googleapis.com/css?family=Lato',
|
||||
'css/pytorch_theme.css' # relative to paths in `html_static_path`
|
||||
]
|
||||
html_css_files = []
|
||||
|
||||
# In Sphinx 1.8 it was renamed to `add_css_file`, 1.7 and prior it is
|
||||
# `add_stylesheet` (deprecated in 1.8).
|
||||
|
Reference in New Issue
Block a user