pytorch_sphinx_theme icon indicating copy to clipboard operation
pytorch_sphinx_theme copied to clipboard

pypi package?

Open turian opened this issue 4 years ago • 6 comments

Do you mind pushing a pypi release of this theme?

turian avatar Mar 24 '21 16:03 turian

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

brianjo avatar Apr 07 '21 20:04 brianjo

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.

adamjstewart avatar Jun 29 '21 16:06 adamjstewart

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

turian avatar Jun 30 '21 01:06 turian

@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.

ain-soph avatar Oct 16 '21 21:10 ain-soph

@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

turian avatar Oct 19 '21 20:10 turian

@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/

ain-soph avatar Oct 19 '21 22:10 ain-soph