Hi Ioan,s

A few feedbacks and more questions...

So CMS is now happy with different sidebars?
http://james.staging.apache.org/mime4j/
http://james.staging.apache.org/sever/3
That's good!

I didn't retry to edit a page since my last attempt hoping it would get fixed in the meantime.

From what you previously explained, I understand/assume editing a page in CMS will commit it back in XML in the correct project and ensure the publication (after 3 minutes). This means the complete project could be still again built.

Example: I edit http://james.staging.apache.org/server/3/feature-smtp-hooks.html via CMS, and http://svn.apache.org/repos/asf/james/server/trunk/src/site/xdoc/feature-smtp-hooks.xml is updated in SVN with valid XML that reflect my edits. This means the server/3 website can still be built via 'mvn site' such as before.

Will it be the case?

Thx,

Eric

On 05/23/2012 11:55 AM, Ioan Eugen Stan wrote:
Hi again,

It's been pretty quiet and I hate being the only one to reply to this
post but I did something new:

Work done:

I've added most of the site directories as entries in svn:externals
and configured maven-site-plugin to run multiple times, building each
site and setting the output into the proper directory.

I had one issue with the links: they where resolved as relative and
that messed up menu navigation (via top-menu). I fixed it with
<relativizeDecorationLinks>false</relativizeDecorationLinks>.
Unfortunately this makes all the top-menu links absolute to
james.apache.org so if you wish to see the staging enter the links
yourself.

Conclusion:

- we have most of the docs as they are on live, the rest can go with
direct import
- working with a multi-module project with maven site and cms is a
nightmare, especially with all the modules james has.
- I really wish for someone to step in and give a hand or just reply
so I know my work here is not for nothing

Thanks,

2012/5/22 Ioan Eugen Stan<stan.ieu...@gmail.com>:
Hi,

I've tried Bookmarklet editing with a page from mime4j and it seems it
doesn't work (can't resolve pages defined with svn:externals so if we
plan on using this we will need to move the site trees in site-cms and
declare them with svn:externals.

I wish to get the website up and running before BerlinBuzzwords. We
will probably have more people interested and it will be nice to have
something to show. Any ideas on how to solve the sidebar issue?


2012/5/21 Ioan Eugen Stan<stan.ieu...@gmail.com>:
Hi,

I've added mime4j with svn externals to site-cms:
http://svn.apache.org/viewvc?view=revision&revision=1341004 . The
infrastructure detects changes and builds mime4j site as expected:
http://james.staging.apache.org/mime4j/index.html .

Unfortunately the sidebar does not update. It's defined in
site/site.xml [1], and I'm not importing that with externals. Each
module has it's own site.xml with a custom side-bar defined and it
will create a name clash.

Does anybody know a quick&  easy way around this? I can imagine a few:

- use a standard sidebar across modules and define a link on that
sidebar that opens relative paths
- use javscript to override it

Not sure how any of those might work so if you know an easy way to do
include site.xml inside the xdoc directory of each project it would be
great.

Thanks,

[1] http://svn.apache.org/repos/asf/james/mime4j/trunk/src/site/

--
Ioan Eugen Stan
http://ieugen.blogspot.com/  *** http://bucharest-jug.github.com/ ***



--
Ioan Eugen Stan
http://ieugen.blogspot.com/  *** http://bucharest-jug.github.com/ ***




--
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to