gpt4 book ai didi

javadoc - Javadocs JDK 11+ 缺少 iFrame View

转载 作者:IT老高 更新时间:2023-10-28 20:52:05 24 4
gpt4 key购买 nike

我一直在使用 JavaDocs for JDK 11

但我注意到 iFrames View 似乎不再可用。我环顾四周,但看不到任何关于为什么这样做的细节,如果有的话,还有什么替代方案?谁能提供更多细节?

适用于 JDK 10 的 View

JavaDocs for JDK 10

适用于 JDK 11 的 View

JavaDocs for JDK 11

最佳答案

如果其他人有相同的查询,默认情况下不再生成帧。

这在 JDK-8202961 中有介绍

In times past, to allow for navigation within API documentation, the standard doclet presented indexes in frames on the left side of the window to allow classes, packages and (more recently) modules to be selected for display in the main body of the window.

More recently, the doclet now supports a "search" feature, which provides a more versatile way of finding items to view. Separately, the doclet is moving towards using HTML 5 (only), and the basic support for frames in HTML 5 is less than it was in HTML 4.

JDK-8187794等等

Update the javadoc/doclet to generate no frames as a default. A warning should be generated if "--frames" option is specified to generate frames. The support for frames will be removed from a future release.

似乎如果你真的想使用框架,你可以从 JDK src 生成你自己的框架并体验警告,但这将在某个时候完全删除。

总之,习惯了 Search 功能,框架化的 javadocs 即将被淘汰!

关于javadoc - Javadocs JDK 11+ 缺少 iFrame View ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51992347/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com