PyTorch Sphinx Theme is a Sphinx theme used in PyTorch documentation. The current version is 0.4.9, with release cadence on demand. It provides a consistent look and feel for PyTorch-related documentation projects.
pip install pytorch-sphinx-themeVerified import paths — ran on the pinned version, not inferred.
Basic configuration to use the theme in Sphinx docs.
Set html_theme = 'pytorch_sphinx_theme'.
Install 'pytorch-sphinx-theme' from PyPI.
Check compatibility with your Sphinx version.
Use html_theme_path = [pytorch_sphinx_theme.get_html_theme_path()] only for older versions; for 0.4.x, set html_theme = 'pytorch_sphinx_theme' and let Sphinx handle the path automatically.
pip install pytorch-sphinx-theme # installs the package; import as pytorch_sphinx_theme
Ensure you have installed pytorch-sphinx-theme and set html_theme = 'pytorch_sphinx_theme' (underscores).
No dependency data recorded yet.