From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8B3EF1382C5 for ; Wed, 3 Jan 2018 05:57:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 110A1E08DB; Wed, 3 Jan 2018 05:57:46 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E65D8E08DB for ; Wed, 3 Jan 2018 05:57:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4091B335C38 for ; Wed, 3 Jan 2018 05:57:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 655981A9 for ; Wed, 3 Jan 2018 05:57:40 +0000 (UTC) From: "Göktürk Yüksek" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Göktürk Yüksek" Message-ID: <1514956640.c7e61fd606da3951e427c3c4931d2fb96e391738.gokturk@gentoo> Subject: [gentoo-commits] proj/devmanual:codesample-indent-fix commit in: / X-VCS-Repository: proj/devmanual X-VCS-Files: devmanual.css X-VCS-Directories: / X-VCS-Committer: gokturk X-VCS-Committer-Name: Göktürk Yüksek X-VCS-Revision: c7e61fd606da3951e427c3c4931d2fb96e391738 X-VCS-Branch: codesample-indent-fix Date: Wed, 3 Jan 2018 05:57:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9ecf8cf9-a57d-4d56-8003-804569a74b10 X-Archives-Hash: b1eb4e1905701883b13e9ea3088707d1 commit: c7e61fd606da3951e427c3c4931d2fb96e391738 Author: Andrey Utkin gentoo org> AuthorDate: Wed Nov 8 18:11:26 2017 +0000 Commit: Göktürk Yüksek gentoo org> CommitDate: Wed Jan 3 05:17:20 2018 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=c7e61fd6 CSS: let tabs in code blocks render as 4 positions Per devmanual, in ebuild files only tabs must be used for indentation, and each tab represents four spaces. However, many snippets of ebuild code in devmanual use spaces for indentation, making these snippets not immediately usable for pasting. Snippets indented with tabs, while technically conformant, look the wrong way. This change makes tabs-indented snippets look right, making it more attractive for contributors to use tabs for indentation, and paving the road for potential conversion of spaces-indented snippets to tabs. Acked-by: Gokturk Yuksek gentoo.org> devmanual.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devmanual.css b/devmanual.css index 6f24642..1507558 100644 --- a/devmanual.css +++ b/devmanual.css @@ -154,6 +154,9 @@ div.figure, div.figure p { code, pre, tt { font-family: monospace; + tab-size: 4; + -o-tab-size: 4; + -moz-tab-size: 4; } blockquote.epigraph p { From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C2909138206 for ; Wed, 3 Jan 2018 21:59:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2054DE08D0; Wed, 3 Jan 2018 21:59:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 025DBE08D0 for ; Wed, 3 Jan 2018 21:59:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0496B335C09 for ; Wed, 3 Jan 2018 21:59:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA783126 for ; Wed, 3 Jan 2018 21:59:47 +0000 (UTC) From: "Göktürk Yüksek" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Göktürk Yüksek" Message-ID: <1514956640.c7e61fd606da3951e427c3c4931d2fb96e391738.gokturk@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: / X-VCS-Repository: proj/devmanual X-VCS-Files: devmanual.css X-VCS-Directories: / X-VCS-Committer: gokturk X-VCS-Committer-Name: Göktürk Yüksek X-VCS-Revision: c7e61fd606da3951e427c3c4931d2fb96e391738 X-VCS-Branch: master Date: Wed, 3 Jan 2018 21:59:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d47ecd48-55b2-4be3-aa61-1458b90aed94 X-Archives-Hash: 45ab70a8eaec4b8b307261370e4fa172 Message-ID: <20180103215947.yNYLs1hn7XMQ-qjcDQ_U4siXbnkvt-uonrVo0K8jYQY@z> commit: c7e61fd606da3951e427c3c4931d2fb96e391738 Author: Andrey Utkin gentoo org> AuthorDate: Wed Nov 8 18:11:26 2017 +0000 Commit: Göktürk Yüksek gentoo org> CommitDate: Wed Jan 3 05:17:20 2018 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=c7e61fd6 CSS: let tabs in code blocks render as 4 positions Per devmanual, in ebuild files only tabs must be used for indentation, and each tab represents four spaces. However, many snippets of ebuild code in devmanual use spaces for indentation, making these snippets not immediately usable for pasting. Snippets indented with tabs, while technically conformant, look the wrong way. This change makes tabs-indented snippets look right, making it more attractive for contributors to use tabs for indentation, and paving the road for potential conversion of spaces-indented snippets to tabs. Acked-by: Gokturk Yuksek gentoo.org> devmanual.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devmanual.css b/devmanual.css index 6f24642..1507558 100644 --- a/devmanual.css +++ b/devmanual.css @@ -154,6 +154,9 @@ div.figure, div.figure p { code, pre, tt { font-family: monospace; + tab-size: 4; + -o-tab-size: 4; + -moz-tab-size: 4; } blockquote.epigraph p {