This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I'd like to ask doc team to work on these for next NetBeans release, 5.5. 1. Use nbdocs:/<absolute path> style in JavaHelp 2. Do not use ../../../ style for ide.css, use nbdocs:/.../ide.css instead 3. Update style guide of http://usersguide.netbeans.org/links.html 1. In current 5.0 javahelp, there are two types for the link to inside JavaHelp, (1).'nbdocs://<module_name>' href="nbdocs://org.netbeans.modules.j2ee.platform/org/netbeans/modules/j2ee/platform/docs/web/create/jsp/jsp_compile.html" (2). 'nbdocs:/<absolute path>' href="nbdocs:/org/netbeans/modules/j2ee/platform/docs/web/create/jsp/jsp_usetaglib.html" We should use the way of (2) for the convenience. When we localize JavaHelp, we g11n team need to modify these patch to add ../ja/.. . If the link includes module name, it's not easy to add them and check them by simple script. Please use nbdocs:/<absolute> style in entire JavaHelp. 2. Also href="../../../../usersguide/ide.css" style is not easy to handle because g11n team need to add additional /../ and /ja/ into it. If these could use nbdocs:/org/netbeans/modules/usersguide/ide.css, we can change them by simple script
Created attachment 29407 [details] list of nbdocs://modulename/ style in NB5.0 JavaHelp
Created attachment 29408 [details] list of ../../ide.css style in NB5.0 JavaHelp
Masaki. I started implementing the changes you suggested, but I realized it is not desirable to implement the first part of your request. The nbdocs://org.netbeans.modules.j2ee.platform/org/netbeans/modules/... style is what we need to enable the feature where the IDE provides reasonable feedback if the module that is referred to is not installed. So I am not inclined to change that. Is there any way that your scripts can be written to detect the pattern in the nbdocs links? However, I don't see a problem making all of the .css links use the absolute link, so I will fix those.
Thank you for evaluation. I understand the problem now.
Masaki, I have fixed part 2 of the issue (created absolute links for the ide.css) in the help topics that are outside of usersguide. I have not changed the topics in usersguide.