Hi again guys, I finally managed the google-code prettifier integration embedding a little bit of jquery ad DOM manipulation; the problem is that, in order to NOT hack the original prettify library - and keep it up-to-date in an easy way - in order to add the desired class in the <pre> elements - since Doxia doesn't allow it ATM - jquery loads the prettify (when needed) and manipulates the DOM. You can see the result on my asf page[1]. The only "issue" is that with the approach I implemented, due to jQuery.getScript() function[2] nature, the prettify works only when the site is online, so to test it locally it recommended to launch
mvn clean site:site site:run There is a layout issue introduced by latest css modifications, banner immages are partially overlapped by the top baner. Anyone want to contribute is welcome! All the best, have a nice day! Simo [1] http://people.apache.org/~simonetripodi/cocoon.html [2] http://api.jquery.com/jQuery.getScript/ http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Mon, Oct 10, 2011 at 4:28 PM, Simone Tripodi <[email protected]> wrote: > Salut Olivier/Hi all, > on my perfonal ASF page[1] you can start seeing the first steps with > Bootstrap and Maven site skin; AFAIK we are already pushing the > snapshot on repo, if you want to give a try you can include the > following XML snippet in the pom.xml file. > > {{{ > <skin> > <groupId>org.apache.maven</groupId> > <artifactId>maven-fluido-skin</artifactId> > <version>1.0-SNAPSHOT</version> > </skin> > }}} > > What is missing: > > * icons (not included yet): I think we can find better OSS icons then > the default one... are we allowed on reusing icons published for > Gnome[2], for example? > * code prettify: hacking the google js library, makes hard to keep > updated with latest releases, I need to understand better how html > elements are generated (see other thread I just started) > * colors: would b/w maybe fine for the default skin? > * maven faether logo: is there anybody around good on manipulating > images to speak about it? > > Many thanks in advance, all the best!!! > Simo > > [1] http://people.apache.org/~simonetripodi/ > [2] http://gnome-look.org/content/show.php/Faenza?content=128143 > > http://people.apache.org/~simonetripodi/ > http://www.99soft.org/ > > > > On Mon, Oct 10, 2011 at 2:08 PM, Simone Tripodi > <[email protected]> wrote: >> Thanks a lot Olivier, >> going to rearrange stuff right now! >> Simo >> >> http://people.apache.org/~simonetripodi/ >> http://www.99soft.org/ >> >> >> >> On Mon, Oct 10, 2011 at 2:05 PM, Olivier Lamy <[email protected]> wrote: >>> Go go. >>> >>> Just to be sure the goal is to have that in >>> http://svn.apache.org/repos/asf/maven/sandbox/trunk/skin/maven-fluido-skin >>> . >>> >>> 2011/10/10 Simone Tripodi <[email protected]>: >>>> Hi all guys, >>>> at commons we are discussing[1] about creating a new site skin for >>>> commons, but we evaluated it would be a worth trying to create new >>>> stuff directly under the Maven umbrella so the whole community would >>>> benefit from it. >>>> Dennis and Olivier suggested to work on a sandbox, Olivier already >>>> created it[2]. >>>> This mail just to let you know I intend to commit on maven sandbox, >>>> being open to every ASF committer. >>>> Of course, any help/suggestion/... will be much more than appreciated! >>>> Many thanks in advance, all the best! >>>> Simo >>>> >>>> [1] http://markmail.org/message/neoqlkv6ye3yafnb >>>> [2] http://svn.apache.org/repos/asf/maven/sandbox/trunk/skin/ >>>> >>>> http://people.apache.org/~simonetripodi/ >>>> http://www.99soft.org/ >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>>> >>> >>> >>> >>> -- >>> Olivier Lamy >>> Talend : http://talend.com >>> http://twitter.com/olamy | http://linkedin.com/in/olamy >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
