Archived

This forum has been archived. Please start a new discussion on GitHub.

slice2html bad summary links to external modules

Given this ice file:
module Test1 {
  interface Demo {};
};

module Test2 {
  interface Demo2 {
    /**
     * Summary mentioning [::Test1::Demo].
     *
     * @return [::Test1::Demo]
     **/
    ::Test1::Demo* demo();
  };
};

The generated html in Demo2/Test2.html has bad relative links in the "Operation Index" section:
Summary mentioning <a class="Symbol" href="Test1/Demo.html">::Test1::Demo</a>

Which ends up linking to a non-existent Test2/Test1/Demo.html.

The links generated elsewhere are correct with a leading "..".

slice2html version 3.3.0.

Comments

  • Thanks for the bug report! This problem is also present in 3.3.1.

    I'll have a look at this.

    Cheers,

    Michi.
  • I have posted a patch for this.

    Thanks again for the bug report!

    Cheers,

    Michi.
  • Great, thanks!