From patchwork Wed May 22 06:30:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shakthi Kannan X-Patchwork-Id: 245549 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id D346E2C00A7 for ; Wed, 22 May 2013 16:30:19 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:reply-to:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=Y0uOKii8MKxdpW7l1YhD+KVgX+4gpvczjzi1kA58hSzySvHCmyjLa B1NPa34G3OwipBuhR32XgyDk5r/xFqymDeEUE2MibtRoNI6Ub21daXAaL2p0/W7z ZjdgZXqPpq1JRk82bJzKliDRCfdP+EQUnYVA4W0D6BSkBZPLyINaMI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:reply-to:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type:content-transfer-encoding; s=default; bh=EG8XRwEvXFrszlkYuZwNISlL+W0=; b=RpjUJ1eNi45ASxz2Kg8CulKcmA3t o9J43Gt5/25cpmVglp/4OR229goJuYaJP5zFGV/Gx8PQgaTjqTs0nPN8x2K6UrCW 7mbBzxFEr1rW/Ck3JJxAxV+9k/bo46YnmUreKEa8BpOoS8wGiipDTt8Ea27B4SWG NED2bEUr+Lxpaos= Received: (qmail 22282 invoked by alias); 22 May 2013 06:30:12 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 22272 invoked by uid 89); 22 May 2013 06:30:12 -0000 X-Spam-SWARE-Status: No, score=-7.7 required=5.0 tests=AWL, BAYES_00, KHOP_THREADED, RCVD_IN_HOSTKARMA_W, RCVD_IN_HOSTKARMA_WL, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.1 Received: from mx3-phx2.redhat.com (HELO mx3-phx2.redhat.com) (209.132.183.24) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 22 May 2013 06:30:11 +0000 Received: from zmail13.collab.prod.int.phx2.redhat.com (zmail13.collab.prod.int.phx2.redhat.com [10.5.83.15]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r4M6U82p003457; Wed, 22 May 2013 02:30:08 -0400 Date: Wed, 22 May 2013 02:30:07 -0400 (EDT) From: Shakthi Kannan Reply-To: Shakthi Kannan To: gcc-patches@gcc.gnu.org Cc: "Joseph S. Myers" Message-ID: <1546625314.5638611.1369204207979.JavaMail.root@redhat.com> In-Reply-To: <1968623700.6255660.1367836206649.JavaMail.root@redhat.com> References: <1157238463.4081289.1367314214484.JavaMail.root@redhat.com> <689705724.4225865.1367333657286.JavaMail.root@redhat.com> <1968623700.6255660.1367836206649.JavaMail.root@redhat.com> Subject: *ping* Re: [PATCH, wwwdocs] Fix PR 50642 MIME-Version: 1.0 Hi, Is the following patch okay for trunk? SK ----- Original Message ----- From: "Shakthi Kannan" To: "Joseph S. Myers" Cc: gcc-patches@gcc.gnu.org Sent: Monday, May 6, 2013 4:00:06 PM Subject: Re: [PATCH, wwwdocs] Fix PR 50642 Hi, I am re-submitting the patch to use html.css from the update_web_docs_svn script present in the maintainer-scripts folder. The smallexample attributes are defined to use a medium font size with a light blue background for readability and clarity. 2013-05-06 Shakthi Kannan PR wwwdocs/50642 * maintainer-scripts/update_web_docs_svn: Use --css-include with makeinfo. * gcc/doc/include/html.css: New CSS file for HTML docs. --- gcc/doc/include/html.css | 6 ++++++ maintainer-scripts/update_web_docs_svn | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 gcc/doc/include/html.css diff --git a/gcc/doc/include/html.css b/gcc/doc/include/html.css new file mode 100644 index 0000000..6cc0284 --- /dev/null +++ b/gcc/doc/include/html.css @@ -0,0 +1,6 @@ +pre.smallexample { + font-family: sans-serif; + font-size: medium; + padding: 4px; + background: #f2f2f9 +} \ No newline at end of file diff --git a/maintainer-scripts/update_web_docs_svn b/maintainer-scripts/update_web_docs_svn index cfc33c4..2cea078 100755 --- a/maintainer-scripts/update_web_docs_svn +++ b/maintainer-scripts/update_web_docs_svn @@ -36,6 +36,8 @@ WWWBASE=/www/gcc/htdocs WWWBASE_PREFORMATTED=/www/gcc/htdocs-preformatted WWWPREPROCESS='/www/gcc/bin/preprocess -r' +HTMLCSS=gcc/doc/include/html.css + # Process options -rrelease and -ddirectory RELEASE="" SUBDIR="" @@ -164,7 +166,7 @@ for file in $MANUALS; do if [ "$file" = "gnat_ugn_unw" ]; then includes="$includes -I gcc/gcc/ada" fi - makeinfo --html $includes -o ${file} ${filename} + makeinfo --css-include=../$HTMLCSS --html $includes -o ${file} ${filename} tar cf ${file}-html.tar ${file}/*.html texi2dvi $includes -o ${file}.dvi ${filename} /dev/null && dvips -o ${file}.ps ${file}.dvi texi2pdf $includes -o ${file}.pdf ${filename}