logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: [v2] bootstrap in site
Date Sat, 17 Nov 2012 22:14:05 GMT
2012/11/17 Ivan Habunek <ihabunek@apache.org>:
> On 17 November 2012 19:13, Gary Gregory <garydgregory@gmail.com> 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


Mime
View raw message