[issue11643] Use |version| instead of X.Y in the doc

2016-05-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Agree with Éric. -- nosy: +serhiy.storchaka resolution: -> rejected stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue11643] Use |version| instead of X.Y in the doc

2012-10-06 Thread Éric Araujo
Éric Araujo added the comment: After reviewing the patch I think that this change would not actually improve things. What do you think? (Thanks for the patch nonetheless :)* -- ___ Python tracker ___

[issue11643] Use |version| instead of X.Y in the doc

2012-10-06 Thread Mike Hoy
Changes by Mike Hoy : -- keywords: +patch Added file: http://bugs.python.org/file27446/issue11643-xy_v1.diff ___ Python tracker ___ __

[issue11643] Use |version| instead of X.Y in the doc

2012-10-06 Thread Mike Hoy
Mike Hoy added the comment: Here is a patch after talking with Ezio on irc tonight. The rules I (attempted) to follow are: Within a :file: you should have {X.Y} In a text/paragraph area you can use |version| Within anything else just leave it as X.Y As stated by Éric I ignored install and dist

[issue11643] Use |version| instead of X.Y in the doc

2012-09-17 Thread Ezio Melotti
Ezio Melotti added the comment: I fixed the one in site.py. If there's no way to use |version| in :file:`...` I think using {X.Y} is OK, so that can be done where a bare X.Y (without {}) is currently used. -- ___ Python tracker

[issue11643] Use |version| instead of X.Y in the doc

2012-09-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset de6976fe19aa by Ezio Melotti in branch '2.7': #11643: fix rst markup error in site.rst. http://hg.python.org/cpython/rev/de6976fe19aa New changeset 7aca2781c381 by Ezio Melotti in branch '3.2': #11643: fix rst markup error in site.rst. http://hg.pyt

[issue11643] Use |version| instead of X.Y in the doc

2012-09-16 Thread Mike Hoy
Mike Hoy added the comment: So we could fix this in reverse? Remove the |version| and replace them with X.Y since |version| doesn't expand within :file:? -- ___ Python tracker _

[issue11643] Use |version| instead of X.Y in the doc

2012-09-16 Thread Mike Hoy
Changes by Mike Hoy : -- nosy: +mikehoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue11643] Use |version| instead of X.Y in the doc

2012-08-09 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +cjerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue11643] Use |version| instead of X.Y in the doc

2012-08-09 Thread Ezio Melotti
Changes by Ezio Melotti : -- type: -> enhancement versions: +Python 3.4 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list maili

[issue11643] Use |version| instead of X.Y in the doc

2011-05-20 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue11643] Use |version| instead of X.Y in the doc

2011-05-18 Thread Tom McDermott
Tom McDermott added the comment: Things are slightly worse than this issue suggests: the Sphinx formatting string |version| has leaked into the html docs in a few places (library/site.html for example). The difficulty is that Sphinx isn't expanding the |version| variable inside :file: markup

[issue11643] Use |version| instead of X.Y in the doc

2011-03-27 Thread Éric Araujo
Éric Araujo added the comment: Yes, this was literal. grep result on 3.1: c-api/intro.rst:73:path and then use ``#include ``; this will break on c-api/intro.rst:534:directory named :file:`lib/python{X.Y}` relative to the parent directory c-api/intro.rst:540::file:`/usr/local/lib/python{X.Y}`

[issue11643] Use |version| instead of X.Y in the doc

2011-03-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: If the docs literally use "X.Y", so that that can be grepped, then attaching a grep result would make this even easier for someone on Windows without grep. -- nosy: +terry.reedy ___ Python tracker

[issue11643] Use |version| instead of X.Y in the doc

2011-03-22 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11643] Use |version| instead of X.Y in the doc

2011-03-22 Thread Éric Araujo
New submission from Éric Araujo : Some files like site.rst use “X.Y” to refer to the Python version, but Sphinx helpfully provides a |version| construct that can be replaced by the current version at build time. -- assignee: docs@python components: Documentation keywords: easy messages