Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-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 CFA6010951 for ; Wed, 8 Jan 2014 17:03:31 +0000 (UTC) Received: (qmail 64286 invoked by uid 500); 8 Jan 2014 17:03:30 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 64119 invoked by uid 500); 8 Jan 2014 17:03:29 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 64110 invoked by uid 99); 8 Jan 2014 17:03:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jan 2014 17:03:28 +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: domain of cmarcelk@gmail.com designates 209.85.213.49 as permitted sender) Received: from [209.85.213.49] (HELO mail-yh0-f49.google.com) (209.85.213.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jan 2014 17:03:22 +0000 Received: by mail-yh0-f49.google.com with SMTP id z20so481229yhz.36 for ; Wed, 08 Jan 2014 09:03:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=zD0PYGCldam1/uYeso9Ek5+M8dSPQu8FBPN1UXqdz8c=; b=Z3WAcA1FcqUCcTlugnAQ1Hb5x/9k8umNXmVZWjgMYOML74nv4TgQp29yASptcIf0Er 5j0ARP3XXpoy6kT42WDRru/M/DOgHzwBPX2+9dYVCaDk520IpZFkZoGeaXZwU0OvQvjO M4EI0CEzW03i7u6dhArUyrTX0r1o5HGk0uDP8Cbrq3+GGm79WCNOFvQrnOyQqCY53HiF +Pb9B03layWWi+W5e/gAdYg+OcRz9dnJBEGIiticsJFneU/9XEyEL05rRnCgLXK4PC3/ ObZdjyO/hAGZUIfm8uWQNGNFnPvlvK1xdUlPjSD+VuhGC+XFEoum1FzUNi1VbEycBVV2 P60g== X-Received: by 10.236.73.1 with SMTP id u1mr6333795yhd.91.1389200581217; Wed, 08 Jan 2014 09:03:01 -0800 (PST) Received: from marcelk-macbook.raleigh.ibm.com (bi-03pt1.bluebird.ibm.com. [129.42.208.172]) by mx.google.com with ESMTPSA id w45sm2259234yhk.4.2014.01.08.09.02.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Jan 2014 09:03:00 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: Review Request 16701: Add --searchpath option for local plugin search path From: Marcel Kinard In-Reply-To: Date: Wed, 8 Jan 2014 12:02:58 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20140107214145.1151.95389@reviews.apache.org> To: dev@cordova.apache.org X-Mailer: Apple Mail (2.1510) X-Virus-Checked: Checked by ClamAV on apache.org On Jan 8, 2014, at 10:17 AM, Andrew Grieve wrote: > Yeah, I think we're still as a team doing a bit of a bad job of = documenting > features. I also think that there are shortcomings in the user-facing = documentation. It's definitely better than it used to be, but there is = still real room for further improvement. Just yesterday I was helping a = Cordova user who is smart with moderate experience sort through some = usage issues, because they didn't see clear documentation on their = topic. I looked at the docs, and it was there, but in a non-obvious = place and in pieces. To me that's a sign that there is more work to be = done ;-) I don't think we are bad at docs, we're just not as consistent = as we should be. IMHO, to the non-expert user, good docs make all the = difference. Last week at an Android meetup an app developer was telling = me that he ditched Cordova and went with another cross-platform = framework because he was frustrated by the Cordova docs. The docs for = the other framework were more clear. Perhaps I'm biased by Linux, but for the CLI docs I like the Linux = model: summary help embedded in the command (-h ~=3D doc/help.txt), and = detailed paragraphs and concepts explained outside the command (man = pages ~=3D cordova-docs). What we have know is basically that. > Some ideas for improving how we document / spec out new flags / > features / settings to CLI: >=20 > 1 - Add a wiki page for each I would prefer to see the finished docs go into doc/help.txt and = cordova-docs. What kind of content would you intend to go in the wiki? = To me the wiki is more for developers of Cordova about the development = process, whereas users of Cordova should need to look only at --help and = cordova-docs to use Cordova. > 2 - Add a section within doc/help.txt in addition to a one-line --flag > usage description +1 I've stumbled across CLI flags that weren't documented in doc/help.txt = before (and I added them). And perhaps doc/help.txt could have a pointer = to cordova-docs. > 3 - Attach a full flag description to the JIRA issue During design/discussion of the flag implementation, ok. But after it is = implemented, --help and cordova-docs should be the authoritative = version. > 4 - Email out full flag descriptions to the ML Or perhaps just putting it in Jira is sufficient, assuming most people = subscribe to receive all the Jira updates (or am I the only one who does = that?). Then it is in context with the rest of the work. But yeah, = addition of new flags should be on the ML according to the Apache Way. > 5 - Add text to cordova-doc's plugman/CLI guides +1 > so I think it'd be good to try and do #3 for > spec'ing out the intended help.txt text, and then have help.txt be the > authoritative version going forward. +1 If we can reach consensus on these kind of documentation guidelines, = would putting them on our wiki help us all be more consistent in doing = them? (The goal being to improve the quality of our docs.)=