[issue26106] Move licences to literal blocks

2016-01-21 Thread STINNER Victor

Changes by STINNER Victor :


--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26106] Move licences to literal blocks

2016-01-21 Thread STINNER Victor

STINNER Victor added the comment:

Thanks for your effort of translation the doc.

FYI the doc can be read at http://www.afpy.org/doc/python/ and the project 
(source) is at https://github.com/AFPY/python_doc_fr/

--
nosy: +haypo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26106] Move licences to literal blocks

2016-01-21 Thread Roundup Robot

Roundup Robot added the comment:

New changeset f2a0a4a45292 by Victor Stinner in branch '2.7':
Issue #26106: doc: Move text of licenses to parsed literal block
https://hg.python.org/cpython/rev/f2a0a4a45292

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26106] Move licences to literal blocks

2016-01-20 Thread Roundup Robot

Roundup Robot added the comment:

New changeset a04d9589e2c4 by Victor Stinner in branch '3.5':
Issue #26106: doc: Move text of licenses to parsed literal block
https://hg.python.org/cpython/rev/a04d9589e2c4

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26106] Move licences to literal blocks

2016-01-17 Thread Julien

Julien added the comment:

And uploaded the result: http://www.afpy.org/doc/python/3.5/license.html

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26106] Move licences to literal blocks

2016-01-17 Thread Julien

Julien added the comment:

@georg.brandl is right, a parsed-literal block should work: Does not appear in 
pot files, and |release| replaced: nice.

I attached a new patch.

--
Added file: http://bugs.python.org/file41641/literal-licence.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26106] Move licences to literal blocks

2016-01-14 Thread Georg Brandl

Georg Brandl added the comment:

Since the text does need no highlighting, a parsed-literal block should work.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26106] Move licences to literal blocks

2016-01-14 Thread Julien

Julien added the comment:

@Serhiy Well spotted, it does not work (as we can see here 
http://www.afpy.org/doc/python/3.5/license.html).

Anyone having a better background than me in ReStructuredText have an idea ?

About the review of the patch, as a human review may be fastidious, here a 
script to check that I did NOT modified the content of the licences themselves 
(still need to trust the command, but it's faster to review than the whole 
licence text itself):

diff -w <(grep '^-' literal-licence.patch | cut -b2-) <(grep '^+' 
literal-licence.patch | cut -b2- | sed 's/\(^ *\)[0-8]\./\1#./g')

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26106] Move licences to literal blocks

2016-01-14 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Does the |release| substitution work in literal blocks?

--
nosy: +brett.cannon, georg.brandl, ned.deily, serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26106] Move licences to literal blocks

2016-01-13 Thread Ezio Melotti

Ezio Melotti added the comment:

Sounds like a reasonable request to me.
Given the content of document, special care should be taken in reviewing the 
patch and making sure that nothing has gone missing.

--
nosy: +ezio.melotti
stage:  -> patch review
type:  -> enhancement

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26106] Move licences to literal blocks

2016-01-13 Thread Julien

New submission from Julien:

In the context of translating the documentation:

I'd like to move the licence texts in https://docs.python.org/3.5/license.html 
to literal blocks, so they won't pollute the po files with legal 
(untranslatable) stuff, and it's visually more appealing (as far as it's 
possible for a licence text).

Here is what it gives graphically when applying the patch (it's the 
translation, don't mind the french text): 
http://www.afpy.org/doc/python/3.5/license.html

I also took the liberty to drop a dangling "ACCEPT", while reformating centered 
"titles" to real titles and building paragraphs from licence text, hope it 
wasn't legal stuff / part of the licence (a line before the licence mention an 
"accept" button ...).

--
assignee: docs@python
components: Documentation
files: literal-licence.patch
keywords: patch
messages: 258180
nosy: docs@python, sizeof
priority: normal
severity: normal
status: open
title: Move licences to literal blocks
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file41612/literal-licence.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com