Return-Path: Delivered-To: apmail-cayenne-dev-archive@www.apache.org Received: (qmail 28239 invoked from network); 17 Feb 2010 11:07:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Feb 2010 11:07:23 -0000 Received: (qmail 74152 invoked by uid 500); 17 Feb 2010 11:07:23 -0000 Delivered-To: apmail-cayenne-dev-archive@cayenne.apache.org Received: (qmail 74138 invoked by uid 500); 17 Feb 2010 11:07:23 -0000 Mailing-List: contact dev-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list dev@cayenne.apache.org Received: (qmail 74128 invoked by uid 99); 17 Feb 2010 11:07:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 11:07:23 +0000 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcjcd-cayenne-devel-890-moved1@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 11:07:14 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nhhk0-0002iU-H9 for dev@cayenne.apache.org; Wed, 17 Feb 2010 12:06:48 +0100 Received: from 85.121.188.58 ([85.121.188.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Feb 2010 12:06:48 +0100 Received: from a.adrian.tech by 85.121.188.58 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Feb 2010 12:06:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cayenne.apache.org From: "Adrian A." Subject: Re: wiki pages design Date: Wed, 17 Feb 2010 12:06:23 +0100 Lines: 52 Message-ID: References: <6C86227C-4602-4E2E-898B-F3BAF8A00EBA@objectstyle.org> <4B772D6B.4080608@maniatis.org> <4B7BAE8F.7070205@maniatis.org> <59A02079-98E4-4F61-8185-2E7E00243C68@objectstyle.org> <4B7BBBE8.9000401@maniatis.org> <18DFE219-DFF6-4DD5-8520-CB275779BC30@objectstyle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 85.121.188.58 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 In-Reply-To: <18DFE219-DFF6-4DD5-8520-CB275779BC30@objectstyle.org> Sender: news >> If you decide to use Docbook, I would gladly help with the conversion >> of the Cayenne documentation. > > Before we decide, I guess somebody has to build a prototype showing how > that would work using a few pages from the User Guide. I am interested > in the following aspects. Ari or Adrian could you please comment: > > * Authoring process (do we have to edit XML by hand?) The authoring process can be done in many ways - from manual XML edit with smart assistance from the IDE (or various IDE plug-ins), to using various WYSIWYG tools. There are a few commercial WYSIWYG tools, but fortunately all I've tried, had also free licenses for open source projects. E.g. http://www.xmlmind.com/xmleditor/ was very efficient for me. Even OpenOffice seems to have some Docbook support. Regarding the typical workflow, I would differentiation: 1. Writing allot of documentation at once in one place (e.g. one entire chapter, or at least more than one page), gives the WYSIWYG tool an advantage (but I suppose this would be rare for Cayenne now). 2. Making small (one or two phrases, or even a few words) additions/chanegs, makes the direct edit in the IDE faster. > * Maven support I can't tell much about Maven, but with ANT for the Click like template (that I'm reusing allot for it's simplicity), it requires just typing: %> ant get-deps %> ant and everything gets generated. > * I assume the same doc source can be published as HTML on the web, and > as PDF for the release. Yes. For Click it generates 3 types of files (2 HTML and 1 PDF). See here the results 3 type of results: http://click.apache.org/docs/user-guide.html > What does it take to wrap HTML in our site > template? A Velocity template I guess? Yes, Velocity would do it too. XSite and SiteMesh are also good, but there are many tools that can 're-decorate' HTML content statically or dynamically. Also, if you would like to see a "prototype Docbook" it in action, I would suggest taking a look at the Click documentation - since it's a very good prototype (IMHO), and build it from source to see the process. You can checkout from here: http://svn.apache.org/repos/asf/click/trunk/click/documentation/ and build with the steps I described above in the "xdocs" subdirectory. Adrian.