Return-Path: X-Original-To: apmail-logging-log4j-dev-archive@www.apache.org Delivered-To: apmail-logging-log4j-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 3F6FBD968 for ; Sat, 17 Nov 2012 22:14:29 +0000 (UTC) Received: (qmail 15376 invoked by uid 500); 17 Nov 2012 22:14:29 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 15329 invoked by uid 500); 17 Nov 2012 22:14:29 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 15321 invoked by uid 99); 17 Nov 2012 22:14:29 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Nov 2012 22:14:29 +0000 Received: from localhost (HELO mail-lb0-f175.google.com) (127.0.0.1) (smtp-auth username olamy, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Nov 2012 22:14:27 +0000 Received: by mail-lb0-f175.google.com with SMTP id gg13so222423lbb.34 for ; Sat, 17 Nov 2012 14:14:26 -0800 (PST) Received: by 10.152.104.240 with SMTP id gh16mr7819265lab.56.1353190465990; Sat, 17 Nov 2012 14:14:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.76.231 with HTTP; Sat, 17 Nov 2012 14:14:05 -0800 (PST) In-Reply-To: References: From: Olivier Lamy Date: Sat, 17 Nov 2012 23:14:05 +0100 Message-ID: Subject: Re: [v2] bootstrap in site To: Log4J Developers List Content-Type: text/plain; charset=ISO-8859-1 2012/11/17 Ivan Habunek : > On 17 November 2012 19:13, Gary Gregory wrote: >> Can we have a wee bit of developer docs someplace that talks about why we >> have our own copy of Bootstrap and JQuery instead of referring to them on >> the interwebs? > > Well, I guess you could pull jquery from google [1], but I don't know > of any site hosting bootstrap. Also I think it's better not to depend > on others for the libs we need to display the site correctly. > > Maybe we could write a couple of lines in the wiki? > >> Also, if we tweak these, how, and what would be the process for updating to >> a new version of the various .js files. > > In my opinion, jquery and bootstrap files should not be modified > themselves. All required modifications are done in site.css and > site.js (which are included after the libs so they override them). > When you want to upgrade a lib, you just overwrite the existing one > with the new version, leaving the file name the same. No need to > modify the template. Afterwards you test to see if any modification is > needed in site.css/js. That's how I do it for log4php anyway. You must probably use "version named" files (ie bootstrap-2.1.0.js rather bootstrap.js same for css) to prevent issues with caching. > > Regards, > Ivan > > [1] https://developers.google.com/speed/libraries/devguide > > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org > For additional commands, e-mail: log4j-dev-help@logging.apache.org > -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org