Re: [PATCH RFC v2] docs: experimental: build PDF with rst2pdf

2020-12-28 Thread NĂ­colas F . R . A . Prado
On Fri, Dec 11, 2020 at 05:03:50PM -0700, Jonathan Corbet wrote: > The right solution is probably something like this: > > try: > import rst2pdf > extensions.append('rst2pdf.pdfbuilder') > except ModuleNotFoundError: > pass # no rst2pdf for you I tested i

Re: [PATCH RFC v2] docs: experimental: build PDF with rst2pdf

2020-12-11 Thread Jonathan Corbet
On Sat, 12 Dec 2020 00:54:35 +0100 Mauro Carvalho Chehab wrote: > I'm not an usual python programmer, so, don't know much about its > specifics... Yet, I would be expecting that something like this: > > try: > extensions.append("rst2pdf.pdfbuilder") > except: > s

Re: [PATCH RFC v2] docs: experimental: build PDF with rst2pdf

2020-12-11 Thread Mauro Carvalho Chehab
Em Fri, 11 Dec 2020 13:48:59 -0700 Jonathan Corbet escreveu: > On Fri, 11 Dec 2020 09:33:32 +0100 > Mauro Carvalho Chehab wrote: > > > Add an experimental PDF builder using rst2pdf > > > > Signed-off-by: Mauro Carvalho Chehab > > --- > > > > Please notice that 18 documents (of a total of 71)

Re: [PATCH RFC v2] docs: experimental: build PDF with rst2pdf

2020-12-11 Thread Jonathan Corbet
On Fri, 11 Dec 2020 09:33:32 +0100 Mauro Carvalho Chehab wrote: > Add an experimental PDF builder using rst2pdf > > Signed-off-by: Mauro Carvalho Chehab > --- > > Please notice that 18 documents (of a total of 71) won't build with > rst2pdf. There's an opened issue about that at: > > htt

[PATCH RFC v2] docs: experimental: build PDF with rst2pdf

2020-12-11 Thread Mauro Carvalho Chehab
Add an experimental PDF builder using rst2pdf Signed-off-by: Mauro Carvalho Chehab --- Please notice that 18 documents (of a total of 71) won't build with rst2pdf. There's an opened issue about that at: https://github.com/rst2pdf/rst2pdf/issues/958 v2: usage of SPHINXDIRS was fixed. Do