Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 11324D1F3 for ; Tue, 15 Jan 2013 13:01:24 +0000 (UTC) Received: (qmail 81868 invoked by uid 500); 15 Jan 2013 13:01:23 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 81263 invoked by uid 500); 15 Jan 2013 13:01:18 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 81219 invoked by uid 99); 15 Jan 2013 13:01:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2013 13:01:16 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [193.74.71.26] (HELO hel.is.scarlet.be) (193.74.71.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2013 13:01:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scarlet.be; s=scarlet; t=1358254848; bh=3/qudIY92T/SIWCb9CJoiUyo8JFgJC8QKpqUuuof1oU=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=zHIz/JitZMFsXGd2UAK2QKfQozI65uanV56o385A75W8DSukwH47kGU7lhed+7zSK Uw6JvPghzGzqun5ePAVY1kuEXqPaLViAUQEhMgaKLv/8N8ZOEQn21P4+j7pdG9ii5Y /QXQP3pq9hNedZvNWTRwqRJJq8FELc4/kobWubh0= Received: from mail.harfang.homelinux.org (ip-83-134-189-215.dsl.scarlet.be [83.134.189.215]) by hel.is.scarlet.be (8.14.5/8.14.5) with ESMTP id r0FD0lBs005942 for ; Tue, 15 Jan 2013 14:00:48 +0100 X-Scarlet: d=1358254848 c=83.134.189.215 Received: from localhost (mail.harfang.homelinux.org [192.168.20.11]) by mail.harfang.homelinux.org (Postfix) with ESMTP id 2BF8A61AD6 for ; Tue, 15 Jan 2013 14:00:47 +0100 (CET) Received: from mail.harfang.homelinux.org ([192.168.20.11]) by localhost (mail.harfang.homelinux.org [192.168.20.11]) (amavisd-new, port 10024) with ESMTP id 3u+ay7Gy2qsW for ; Tue, 15 Jan 2013 14:00:44 +0100 (CET) Received: from dusk.harfang.homelinux.org (mail.harfang.homelinux.org [192.168.20.11]) by mail.harfang.homelinux.org (Postfix) with ESMTP id 4F1BE61ABE for ; Tue, 15 Jan 2013 14:00:44 +0100 (CET) Received: from eran by dusk.harfang.homelinux.org with local (Exim 4.77) (envelope-from ) id 1Tv68B-00067D-Vn for dev@commons.apache.org; Tue, 15 Jan 2013 14:00:43 +0100 Date: Tue, 15 Jan 2013 14:00:43 +0100 From: Gilles Sadowski To: dev@commons.apache.org Subject: Re: [math] User Guide needs some love Message-ID: <20130115130043.GA23175@dusk.harfang.homelinux.org> Mail-Followup-To: dev@commons.apache.org References: <50F30AE9.3080405@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Tiny Tux X-PGP-Key-Fingerprint: 53B9 972E C2E6 B93C BEAD 7092 09E6 AF46 51D0 5641 User-Agent: Mutt/1.5.21 (2010-09-15) X-DCC-scarlet.be-Metrics: hel 20001; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: clamav-milter 0.97.1-exp at hel X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Jan 15, 2013 at 10:01:17AM +0100, Thomas Neidhart wrote: > On Sun, Jan 13, 2013 at 8:28 PM, Phil Steitz wrote: > > > I just fixed a couple of errors in the User Guide. There are likely > > lots more and some whole sections that need to be rewritten. > > Patches are most welcome. > > > > One thing we might want to consider is creating separate test > > packages for the User Guide examples. While this was not > > consistently done, we used to lift user guide examples from the unit > > tests, which made sure the examples actually worked. The problem > > with that approach is that there is nothing to guarantee that when > > the unit test gets updated to reflect updates / better practices, > > the same thing happens in the corresponding User Guide example. It > > would be more likely for this to happen if we either annotated the > > test cases including guide examples somehow or separated them into a > > "userguide" test package. We could do this incrementally, by > > top-level package for example, as we validate and update the guide. > > What do you think? > > > > I think a math-samples project / directory / whatever would be quite nice. > So users could directly try out the examples from the guide without the > need to copy & paste things from there. Actually, what would be great to enforce consistency is to have the examples of the user guide directly link to the code in the "userguide" part of the test source repository, where the corresponding code would be marked with some kind of "anchor" (that would create the anchor to be linked to in the generated HTML). I've no idea whether that's possible... :-}. Regards, Gilles --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org