harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konovalova, Svetlana" <svetlana.konoval...@intel.com>
Subject RE: [doc] Style sheets on site
Date Fri, 24 Nov 2006 12:43:22 GMT
To get rid of certain absolute links, I've created a new issue
Harmony-2308 [1].
Please have a look.

[1] http://issues.apache.org/jira/browse/HARMONY-2308

Best regards,
-----Original Message-----
From: Ivanov, Alexey A [mailto:alexey.a.ivanov@intel.com] 
Sent: Friday, November 24, 2006 1:01 PM
To: dev@harmony.apache.org
Subject: RE: [doc] Style sheets on site

>-----Original Message-----
>From: Tim Ellison [mailto:t.p.ellison@gmail.com]
>Sent: Friday, November 24, 2006 12:15 PM
>To: dev@harmony.apache.org
>Subject: Re: [doc] Style sheets on site
>Ivanov, Alexey A wrote:
>> I have no problems with browsing the web site on my local file
>> with the exception of the fact that some links point to the site on
>> Apache rather than to local files.
>> As far as I know, relative paths work fine both for web and local
>> copies. We may consider changing the links on the web site pages to
>> relative ones too.
>I vaguely recall some discussion about keeping the links absolute a
>while ago, though I admit it may have been on a different ASF mailing
>list.  If required I can look back and try to reconstruct the argument
>for you.


I've found the discussion about problem with CSS when testing locally
[1]. (These problems would've been experienced on the web if the site
had been deployed.) I can't find anything related to the links to pages

The problem with the style sheet was resolved by copying it to each
folder. My patch fixes it -- the site will have only one copy at its
root, both for local browsing and for the deployed web site.

There was a question about base URL for relative links. [2]
The answer to the question "Anyone knows one?" in the end of the message
is *every* browser has such a feature. HTML has <BASE> element where you
can specify the base URL for all the relative links in a document. But
this URL should be different for web site and local file system, and
using BASE may break some other relative links in documents. So we'd
better not use it.

And most of the links are relative which makes it possible to surf both
local and web version in the same way. (At least all the menu links
are.) However I faced several links in document content which refer to
the same page as a menu item but has absolute path which consequently
leads to the web version. (I can't remember any at the moment.) I'm just
talking about fixing these links to use relative paths where applicable.

If there's something else, I'd like to hear it.




>Tim Ellison (t.p.ellison@gmail.com)
>IBM Java technology centre, UK. 

Alexey A. Ivanov
Intel Enterprise Solutions Software Division

View raw message