From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Witten Subject: Re: Git and Documentation Date: Tue, 10 Aug 2010 15:56:57 -0500 Message-ID: References: <4C61B737.50108@dbservice.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Sultan Shakir , git@vger.kernel.org To: Tomas Carnecky X-From: git-owner@vger.kernel.org Tue Aug 10 22:57:47 2010 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OivtJ-0004Ms-08 for gcvg-git-2@lo.gmane.org; Tue, 10 Aug 2010 22:57:45 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757986Ab0HJU53 convert rfc822-to-quoted-printable (ORCPT ); Tue, 10 Aug 2010 16:57:29 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:39767 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757718Ab0HJU52 convert rfc822-to-8bit (ORCPT ); Tue, 10 Aug 2010 16:57:28 -0400 Received: by fxm13 with SMTP id 13so985142fxm.19 for ; Tue, 10 Aug 2010 13:57:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=pJhi7vW7CbxXjNI5xx5dm+ml4efqJNCk2cXpqA5ym5s=; b=u7lpkmfVFDAmCe0Dy5cGgEcnxPFK5kfG5Fvv43H3fWOWh2pQJHLidK2rY92nmpfx/p Hl29GHPd+e/742pc3/qn1pts+13p4PdzWd/IsP9aa832/GN7p28L/sL6IBgmBX8kdz2D xJMIccviE7isNMTEptzy8MIG5t9PR6LmcVNS4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=cVjd9EFsws1qYPOfhgEN6yTcypbi3I4iJy8jrN9nN7BCm4S5QXm8HyTcElNTABmlLx 8eS+8+WssMaXL3VEfHDRZc0urhP/BJfLNue6jehWSuHIVrqB2y9uVWLXiOGFMwksYc5O YaxOZDw5yjxf8U9vb3QL95qBlI6DWMA87oX54= Received: by 10.239.134.2 with SMTP id 2mr897361hbx.201.1281473847223; Tue, 10 Aug 2010 13:57:27 -0700 (PDT) Received: by 10.239.186.139 with HTTP; Tue, 10 Aug 2010 13:56:57 -0700 (PDT) In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Tue, Aug 10, 2010 at 15:47, Michael Witten wrot= e: > On Tue, Aug 10, 2010 at 15:31, Tomas Carnecky wro= te: >> If the documentation is generated as part of the build, then there i= s no >> reason to have it part of the history - you can always rebuild it fr= om >> the source. For the same reason you don't put compiled source into g= it. > > Well, theoretically. > > According to: > > =C2=A0http://git.kernel.org/?p=3Dgit/git.git;a=3Dblob_plain;f=3DMaint= Notes;hb=3Dtodo > > the git project's repository itself tracks generated documentation fo= r > practical reasons: > > =C2=A0The "html" and "man" [branches] are > =C2=A0autogenerated documentation from the > =C2=A0tip of the "master" branch; the tip > =C2=A0of "html" is extracted to be visible > =C2=A0at kernel.org at: > > =C2=A0 =C2=A0http://www.kernel.org/pub/software/scm/git/docs/ > I should add that generating documentation is time consuming and often requires brittle software; there's a lot to gain by having one system produce the same output for virtually everyone else.