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

Fix PyPI long description rendering #1739

Merged
merged 1 commit into from
Nov 27, 2017
Merged

Fix PyPI long description rendering #1739

merged 1 commit into from
Nov 27, 2017

Conversation

edigaryev
Copy link
Contributor

Currently the rendering of gensim's reStructuredText description on PyPI
is broken[1][2], because some characters aren't escaped properly[3]:

reStructuredText uses backslashes ("") to override the special meaning
given to markup characters and get the literal characters themselves.
To get a literal backslash, use an escaped backslash ("\").

Currently the rendering of gensim's reStructuredText description on PyPI
is broken[1][2], because some characters aren't escaped properly[3]:

>reStructuredText uses backslashes ("\") to override the special meaning
>given to markup characters and get the literal characters themselves.
>To get a literal backslash, use an escaped backslash ("\\").

[1]: https://pypi.python.org/pypi/gensim/3.1.0/
[2]: https://pypi.org/project/gensim/3.1.0/
[3]: http://docutils.sourceforge.net/docs/user/rst/quickref.html#escaping
@piskvorky
Copy link
Owner

Thanks! How can we test this, before releasing?

@edigaryev
Copy link
Contributor Author

Thanks! How can we test this, before releasing?

https://packaging.python.org/guides/using-testpypi/

If you want to test the legacy PyPI you should probably replace https://test.pypi.org/ with https://testpypi.python.org/.

@piskvorky
Copy link
Owner

This is interesting, thanks. Ping @isamaru @menshikh-iv FYI.

@menshikh-iv
Copy link
Contributor

Thanks for information @edigaryev, congratz with first contribution to gensim 🔥 🥇

@menshikh-iv menshikh-iv merged commit c43f333 into piskvorky:develop Nov 27, 2017
@edigaryev edigaryev deleted the fix-pypi-rst-rendering branch November 27, 2017 07:55
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

Successfully merging this pull request may close these issues.

3 participants