Open
Description
As of now, there are only a handful of themes for sphinx
that are both functional and visually pleasing. The theme developed for the new layout of pytorch
docs and tutorials (for version 1.0) is quite elegant, and it would be great if this theme could be converted into a generic sphinx theme, making it possible for anyone to use it.
Or perhaps, if there is a workaround to do this?
For example,
If I wanted to use the pytorch_sphinx_theme
, I could
pip install pytorch_sphinx_theme
Then in my conf.py
,
html_theme = "pytorch_sphinx_theme"
Activity
dgasmith commentedon Feb 27, 2019
Poking through the source code it doesn't appear to have many PyTorch specific end points. I haven't tried this and just started to look into trying this out as a theme as well. What are the issues with including this in other projects?
adamjstewart commentedon Sep 22, 2021
I believe fixing #143 is also required to make this a generic theme.
ain-soph commentedon Oct 4, 2021
Maybe you could take a look at my recent work, which removes all pytorch-related things and support many customizations. It also removes all other unnecessary items to make it a pure doc template.
https://github.com/ain-soph/trojanzoo_sphinx_theme
demo
https://ain-soph.github.io/trojanzoo_sphinx_theme/
https://ain-soph.github.io/alsplot/