Skip to content

Conversation

@vegegoku
Copy link
Member

@vegegoku vegegoku commented Jan 9, 2025

Update, migrate, improve log help links

Fix #10042
See also gwtproject/gwt-site#386

@vegegoku vegegoku force-pushed the helpinfo-update-test branch from 0d70267 to c6beedc Compare January 9, 2025 15:08
@niloc132 niloc132 added this to the 2.13 milestone Jan 11, 2025
GWTProblem.recordError(node, cud, error, new InstalledHelpInfo(
"jsoRestrictions.html"));
GWTProblem.recordError(node, cud, error, new GwtprojectOrgHelpInfo(
"/doc/latest/DevGuideCodingBasicsJSNI.html"));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not link to the jsoRestrictions.html file that was moved?

* href="http://code.google.com/p/google-web-toolkit/wiki/OverlayTypes">Overlay
* types design doc</a>
* @see jsoRestrictions.html
* @see <a href="https://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html">jsoRestrictions.html</a>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could point to the same file after moving it.


public GwtprojectOrgHelpInfo(String relativeUrl) {
try {
url = new URL("https://gwtproject.org" + relativeUrl);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All constructor calls seem to start with /doc/latest/gwt-dev-help/, can we include that in the path here?

If we ever want an absolute link to somewhere else, we could have a factory method for "help(pagename)" vs "article(path)"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants