From julien at palard.fr Fri Oct 16 12:18:56 2020 From: julien at palard.fr (Julien Palard) Date: Fri, 16 Oct 2020 16:18:56 +0000 Subject: [Doc-SIG] Broken link on documentation header In-Reply-To: References: Message-ID: <4c623726-b243-6c74-03a3-ccf682b83cd1@palard.fr> On 9/11/20 3:20 PM, tomo cocoa wrote: > Hi Julien, > perhaps can you understand the reasons that the link "Documentation" on > the head of the top page leads 404 pages? Oh, nice spot. I just fixed it, in c23b401425a47b9c8eaa9626701ba6b9b50531f7 in docsbuild-scripts. But I'll need a build to show up (max 24h). Thanks! Bests, -- [Julien Palard](https://mdk.fr) From julien at palard.fr Fri Oct 16 12:21:18 2020 From: julien at palard.fr (Julien Palard) Date: Fri, 16 Oct 2020 16:21:18 +0000 Subject: [Doc-SIG] PEP257 Suggestion : semicolons use for attribute docstrings In-Reply-To: References: Message-ID: o/ On 9/11/20 9:18 PM, Erik Aronesty wrote: > > I wasn't sure where to post this, maybe a mailing list? Hi! Thanks for sharing your idea. As it didn't get any ears here, you may try python-ideas. Bests, -- [Julien Palard](https://mdk.fr) From cocoatomo77 at gmail.com Mon Oct 19 09:09:55 2020 From: cocoatomo77 at gmail.com (tomo cocoa) Date: Mon, 19 Oct 2020 22:09:55 +0900 Subject: [Doc-SIG] Broken link on documentation header In-Reply-To: <4c623726-b243-6c74-03a3-ccf682b83cd1@palard.fr> References: <4c623726-b243-6c74-03a3-ccf682b83cd1@palard.fr> Message-ID: Awesome, thanks! Your fixing resolved the https://bugs.python.org/issue41812. Very very thankful! Best Regard. On Sat, Oct 17, 2020 at 1:19 Julien Palard wrote: > On 9/11/20 3:20 PM, tomo cocoa wrote: > > Hi Julien, > > perhaps can you understand the reasons that the link "Documentation" on > > the head of the top page leads 404 pages? > > Oh, nice spot. > > I just fixed it, in c23b401425a47b9c8eaa9626701ba6b9b50531f7 in > docsbuild-scripts. But I'll need a build to show up (max 24h). > > Thanks! > > Bests, > -- > [Julien Palard](https://mdk.fr) > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From maciej.olko at gmail.com Tue Oct 27 19:22:22 2020 From: maciej.olko at gmail.com (Maciek Olko) Date: Wed, 28 Oct 2020 00:22:22 +0100 Subject: [Doc-SIG] Getting translations from pootle.python.org Message-ID: Hi, according to WebArchive, pootle.python.org hosted Polish translation of documentation finished in 12% for Python 3 [1]. This Pootle instance was shut down in early 2012 [2]. It would be great to get access to those resources and maybe be able to upload this translation as translation memory for recent versions of documentation. Do you have an idea if there is some kind of back-up of work done on Pootle? Who could I contact further to ask? There's no information about back-up in issue tracing the disabling of Python Pootle. [2] Kind regards, Maciej Olko [1] https://web.archive.org/web/20131226143301/http://pootle.python.org/pootle [2] https://bugs.python.org/issue13663 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ewdurbin at gmail.com Wed Oct 28 08:39:34 2020 From: ewdurbin at gmail.com (Ernest W. Durbin III) Date: Wed, 28 Oct 2020 05:39:34 -0700 Subject: [Doc-SIG] Fwd: Getting translations from pootle.python.org In-Reply-To: <7ce51a5a-68d4-c602-9e45-5da2a862250d@palard.fr> References: <7ce51a5a-68d4-c602-9e45-5da2a862250d@palard.fr> Message-ID: All the PO files I could find are available in a tarball at https://legacy.python.org/pootle-pos.tgz See below signature for the README regarding pootle. Seems it was an abandoned Google Summer of Code project. If anything beyond the POs are necessary please let me know and I can grab it for you. -Ernest W. Durbin III This is the python.org instance of Pootle reachable from pootle.python.org. It has been set up as part of the Google Summer of Code by Robert Lehmann with Martin von Loewis. Pootle runs via Apache's mod_wsgi (cf. pootle/wsgi.py). IF ANYTHING BREAKS, PLEASE CONTACT GSOC at ROBERTLEHMANN.DE. Directory structure: + sphinx-i18n: Sphinx fork with internationalization features + pootle: Pootle fork + translate: Translate Toolkit fork + Doc: checkout of py3k documentation with locale_dirs set to `mo' and `sphinx.ext.oldcmarkup' loaded + newsphinx: virtual environment with sphinx-i18n installed + locale: exchange directory for Pootle and Sphinx; contains one directory per project, and one directory per language in turn (with .POT files ending up in templates/). + mo: stored MO files for individual languages in a folder called LC_MESSAGES for compatibility with gettext. + html: localized HTML builds of the py3k documentation + migr: artifacts of the conversion from SQLite to Postgres Previously, the default Apache user (`nobody') needed access to the locale/ and pootle/dbs/ directories for Pootle to run smoothly. Apache WSGI now drops into user `pootle' correctly. Scripts: + update-mo: build MO files from locale/python/*/*.po to mo/*/LC_MESSAGES/*.mo (requires msgfmt) + update-software: update the checkouts and install packages where neccessary (in virtualenv, requires hg/git) + update-templates: build POT files from Doc/ to locale/python/templates/*.po (requires Sphinx with i18n support, automatically updates checkout) + update-intl: build HTML docs from locale/ translations and Doc/ sources Cronjobs: + daily at 7pm: update-mo and update-intl (ie. a translated build from Pootle sources) with logging to ~/html/build.log Security Considerations: + Apache runs the WSGI script ~/pootle/wsgi.py as user `pootle' and serves ~/pootle/html statically. -- http://gsoc.robertlehmann.de/ On October 27, 2020 at 8:29:52 PM, Julien Palard (julien at palard.fr) wrote: Hi Ernest, I'm forwarding this to you as you may know, it's from doc-sig, maybe reply on the ML if you have info. Bests. -------- Forwarded Message -------- Subject: [Doc-SIG] Getting translations from pootle.python.org Date: Wed, 28 Oct 2020 00:22:22 +0100 From: Maciek Olko Reply-To: Maciek Olko To: doc-sig at python.org Hi, according to WebArchive, pootle.python.org hosted Polish translation of documentation finished in 12% for Python 3 [1]. This Pootle instance was shut down in early 2012 [2]. It would be great to get access to those resources and maybe be able to upload this translation as translation memory for recent versions of documentation. Do you have an idea if there is some kind of back-up of work done on Pootle? Who could I contact further to ask? There's no information about back-up in issue tracing the disabling of Python Pootle. [2] Kind regards, Maciej Olko [1] https://web.archive.org/web/20131226143301/http://pootle.python.org/pootle [2] https://bugs.python.org/issue13663 -------------- next part -------------- An HTML attachment was scrubbed... URL: From maciej.olko at gmail.com Wed Oct 28 13:24:09 2020 From: maciej.olko at gmail.com (Maciek Olko) Date: Wed, 28 Oct 2020 18:24:09 +0100 Subject: [Doc-SIG] Fwd: Getting translations from pootle.python.org In-Reply-To: References: <7ce51a5a-68d4-c602-9e45-5da2a862250d@palard.fr> Message-ID: Thank you very much! Those POs are of very big value, it's much appreciated. > If anything beyond the POs are necessary please let me know and I can grab > it for you. > Thank you, I think that's all that's needed. Regards, Maciej -------------- next part -------------- An HTML attachment was scrubbed... URL: