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

pypi package? #105

Open
turian opened this issue Mar 24, 2021 · 6 comments
Open

pypi package? #105

turian opened this issue Mar 24, 2021 · 6 comments

Comments

@turian
Copy link

turian commented Mar 24, 2021

Do you mind pushing a pypi release of this theme?

@brianjo
Copy link
Contributor

brianjo commented Apr 7, 2021

@turian Hi Joseph, I'll take a look and see what that might entail. Thanks for the suggestion!

@adamjstewart
Copy link

The release at https://pypi.org/project/pytorch-sphinx-theme/ is broken and doesn't actually contain any of the release files. Would be great to have more stable releases.

@turian
Copy link
Author

turian commented Jun 30, 2021

@adamjstewart related workaround for right now: https://pypi.org/project/unofficial-pt-lightning-sphinx-theme/

@ain-soph
Copy link
Contributor

@turian

A better workaround might be

pip install -e git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme

as pytorch does in https://github.com/pytorch/pytorch/blob/master/docs/requirements.txt.

@turian
Copy link
Author

turian commented Oct 19, 2021

@ain-soph I forget the exact reason why I sought a pypi package not github, I believe it was some Sphinx / RTFD requirement that precluded the use of github packages

@ain-soph
Copy link
Contributor

ain-soph commented Oct 19, 2021

@ain-soph I forget the exact reason why I sought a pypi package not github, I believe it was some Sphinx / RTFD requirement that precluded the use of github packages

If you don't mind, you may also take a look at my recent work to make pytorch_sphinx_theme a generic theme. It is deployed onto pypi automatically.
https://github.com/ain-soph/trojanzoo_sphinx_theme

With some minor visual changes, and a lot of javascripts improvements and bug fixes to make things smooth. The logos and all links are all customizable in your sphinx working repo, with some changes in conf.py.

See deployed demos at:
https://ain-soph.github.io/trojanzoo_sphinx_theme/

And my pytorch project docs using this theme
https://ain-soph.github.io/trojanzoo/

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