Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] To convert this theme into a generic sphinx theme #13

Open
MrinalJain17 opened this issue Sep 23, 2018 · 3 comments
Open

[Request] To convert this theme into a generic sphinx theme #13

MrinalJain17 opened this issue Sep 23, 2018 · 3 comments

Comments

@MrinalJain17
Copy link

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"
@dgasmith
Copy link

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
Copy link

I believe fixing #143 is also required to make this a generic theme.

@ain-soph
Copy link
Contributor

ain-soph commented 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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants