diff options
author | Brendan Soffientini <brsoff@gmail.com> | 2018-12-05 21:53:36 -0800 |
---|---|---|
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | 2018-12-05 21:55:45 -0800 |
commit | 2d60afbc90b8e5993a336b82bbf98e420385837c (patch) | |
tree | 937e874fda711cd34135b7ef2cb658d8e2241d4e /docs/cpp | |
parent | 82903dda9b13f982b9fa9d6a4e34e668fb30c561 (diff) | |
download | pytorch-2d60afbc90b8e5993a336b82bbf98e420385837c.tar.gz pytorch-2d60afbc90b8e5993a336b82bbf98e420385837c.tar.bz2 pytorch-2d60afbc90b8e5993a336b82bbf98e420385837c.zip |
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
Diffstat (limited to 'docs/cpp')
-rw-r--r-- | docs/cpp/source/conf.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/docs/cpp/source/conf.py b/docs/cpp/source/conf.py index a811e26532..5aa4c57abf 100644 --- a/docs/cpp/source/conf.py +++ b/docs/cpp/source/conf.py @@ -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). |