Installation

Via Git or Download

Symlink or subtree the pytorch_sphinx_theme repository into your documentation at docs/_themes/pytorch_sphinx_theme then add the following two settings to your Sphinx conf.py file:

html_theme = "pytorch_sphinx_theme"
html_theme_path = ["_themes", ]