github-api icon indicating copy to clipboard operation
github-api copied to clipboard

404 error in javadoc when try to search

Open worldbiomusic opened this issue 3 years ago • 3 comments
trafficstars

Describe the bug 404 error in Java doc when try to search.

To Reproduce Steps to reproduce the behavior:

  1. Go to javadoc
  2. Search GHRepository
  3. See error

Expected behavior

  • It looks javadoc needs to be regenerated

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: chrome
  • Version: latest

Additional context

  • Good project, thank you!.

worldbiomusic avatar Mar 13 '22 05:03 worldbiomusic

When manually navigating to the file, the path is correct and you can view the file. https://github-api.kohsuke.org/apidocs/org/kohsuke/github/GHRepository.html When searching for the file, undefined is added to the path, for classes that don't belong in modules, https://github-api.kohsuke.org/apidocs/undefined/org/kohsuke/github/GHRepository.html, thus making the request return 404.

There are a few workarounds discussed in SO but probably the cleanest solution is generating the javadoc with a version higher than 11 where this bug is fixed.

0xacx avatar Apr 14 '22 14:04 0xacx

@0xacx @worldbiomusic It looks like #1434 fails due to more stringent doclint behavior in Java 17. Would either of you be willing to do the work to address the new warnings?

bitwiseman avatar Apr 21 '22 04:04 bitwiseman

The javadoc url is unavailable!

arslanakhtar61 avatar Aug 23 '22 21:08 arslanakhtar61