pytorch / pytorch_sphinx_theme

PyTorch Sphinx Theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use it? Canonical way seems to not work

FrancescoSaverioZuppichini opened this issue · comments

Dear All,

I have installed the theme using

pip install git+https://github.com/pytorch/pytorch_sphinx_theme.git

imported and included in my conf.py file as follows:

extensions = [
    "sphinx.ext.autodoc",
    "sphinx.ext.githubpages",
    'sphinx.ext.coverage',
    "sphinx.ext.napoleon",
    "pytorch_sphinx_theme", # <- HERE!
    "recommonmark"
]

However, the theme is still sphinx_rtd_theme.

Thank you in advance.

Best Regards,

Francesco

I had to replace the html_theme variable