Results 1 to 2 of 2

Thread: slice2html 3.2.0 on nested modules yields dangling image links

  1. #1
    apope is offline Registered User
    Name: Art Pope
    Organization: SET Corporation
    Project: Robot simulation environment
    Join Date
    Mar 2007
    Posts
    1

    Unhappy slice2html 3.2.0 on nested modules yields dangling image links

    When slice2html processes nested modules (e.g., module A { module B { ... }; }; ) it produces nested directories (e.g., A, A/B). Any image links in a generated HTML file are prefixed with .., ../.., etc. according to the nesting depth of the file (by Slice :: GeneratorBase :: printHeaderFooter() and getLinkPath() in slice2html/Gen.cpp). Such image links are produced when slice2html is run with --image-dir.

    However, image links in an index page are not similarly adjusted. Slice :: StartPageGenerator :: printHeaderFooter() ought to be adjusting them, but doesn't. Consequently, in Ice 3.2.0, slice2html-generated index pages for nested modules may contain image links that point nowhere.

    Workaround: Copy your images into each of the nested output directories.
    Last edited by apope; 03-31-2007 at 07:08 PM.

  2. #2
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055
    Thanks for the bug report, I'll have a look at this!

    Cheers,

    Michi.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. template error in nested slice modules
    By n2503v in forum Bug Reports
    Replies: 2
    Last Post: 03-10-2010, 06:38 PM
  2. slice2html bad summary links to external modules
    By jrray in forum Bug Reports
    Replies: 3
    Last Post: 04-04-2009, 07:40 PM
  3. Replies: 0
    Last Post: 04-04-2009, 07:22 PM
  4. Nested Modules
    By Ryuga in forum Help Center
    Replies: 1
    Last Post: 02-25-2009, 05:18 AM
  5. slice2html creates broken links for nested modules
    By mefoster in forum Bug Reports
    Replies: 1
    Last Post: 05-01-2007, 06:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •