From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935691AbcHJUFq (ORCPT ); Wed, 10 Aug 2016 16:05:46 -0400 Received: from mx2.suse.de ([195.135.220.15]:49347 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935220AbcHJUFm (ORCPT ); Wed, 10 Aug 2016 16:05:42 -0400 Date: Wed, 10 Aug 2016 22:05:38 +0200 From: "Luis R. Rodriguez" To: Jani Nikula Cc: Mauro Carvalho Chehab , "Luis R. Rodriguez" , linux-doc@vger.kernel.org, "linux-kernel@vger.kernel.org" , Mauro Carvalho Chehab , Daniel Vetter , Jonathan Corbet , Markus Heiser Subject: Re: [RFC PATCH 3/3] Documentation: exclude media documentation from pdf generation Message-ID: <20160810200538.GP3296@wotan.suse.de> References: <2a56ee350d3b94098607ec733cde197e026f194a.1470844185.git.jani.nikula@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2a56ee350d3b94098607ec733cde197e026f194a.1470844185.git.jani.nikula@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 10, 2016 at 06:54:09PM +0300, Jani Nikula wrote: > Although pdflatex is more robust than rst2pdf, building media > documentation pdf still fails. Exclude media documentation from pdf > generation for now. > > Signed-off-by: Jani Nikula > --- > Documentation/conf.py | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/conf.py b/Documentation/conf.py > index 96b7aa66c89c..827dafc515b1 100644 > --- a/Documentation/conf.py > +++ b/Documentation/conf.py > @@ -268,7 +268,9 @@ latex_elements = { > # (source start file, target name, title, > # author, documentclass [howto, manual, or own class]). > latex_documents = [ > - (master_doc, 'TheLinuxKernel.tex', 'The Linux Kernel Documentation', > + ('kernel-documentation', 'kernel-documentation.tex', 'The Linux Kernel Documentation', > + 'The kernel development community', 'manual'), > + ('gpu/index', 'gpu.tex', 'Linux GPU Driver Developer\'s Guide', > 'The kernel development community', 'manual'), Ah so other than expanding Documentation/index.rst we also have to edit this file. It would be good to expand the new documentation to reflect this as this was not clear. With these changes I confirm I get my documentation in PDF format for the new sections I am adding! Thanks! Luis