forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [JIRA] Commented: (FOR-227) static html site: index.html missing in links
Date Fri, 25 Feb 2005 14:37:42 GMT
The following comment has been added to this issue:

     Author: Johannes Schaefer
    Created: Fri, 25 Feb 2005 8:36 AM
Let me make it explicit:
  <topic label="Topic" href="topic-dir/" tab="topic-tab">
    <sub-topic label="Overview" href="overview.html" />

Linking then from the XML-source like this
  <link href="site:topic">Topic</link> 
produces an html link
  <a href=".../topic-dir/">. 

* For jetty (read: 'forrest run') this gives an error
* For static site('forrest site', file://) this gives an error 
* For Apache this gives an error, too, since there is no "index.html"

One could argue that the link should point to "sub-topic" but I logically want to refer to
the whole chapter and *not* the overview. And there is the "indexfile" in tabs.xml. And there
is the breadcrumb linking to directories.
View this comment:

View the issue:

Here is an overview of the issue:
        Key: FOR-227
    Summary: static html site: index.html missing in links
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Forrest
   Fix Fors:

   Reporter: Johannes Schaefer

    Created: Thu, 22 Jul 2004 5:10 PM
    Updated: Fri, 25 Feb 2005 8:36 AM
Environment: any

When creating a static html site (running command "forrest")
links in the document that point to a directory (index.html)
are broken when using the site without a server (file://)

To fix: add the filename to the links, i.e.
create <a href="../chapter1/index.html"> 
instead of <a href="../chapter1/">

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message