RFR: 8266666: Implementation for snippets
Jonathan Gibbons
jjg at openjdk.java.net
Fri Jul 23 22:40:04 UTC 2021
On Thu, 15 Jul 2021 14:13:16 GMT, Pavel Rappo <prappo at openjdk.org> wrote:
> This PR implements JEP 413 "Code Snippets in Java API Documentation", which hasn't been yet proposed to target JDK 18. The PR starts as a squashed merge of the https://github.com/openjdk/jdk-sandbox/tree/jdk.javadoc/snippets branch.
src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css line 881:
> 879: .bold {
> 880: font-weight: bold;
> 881: }
Both the name and definition seem very global. Maybe it would be better to restrict the effect of these names to within `pre.snippet`. @hns to advise?
-------------
PR: https://git.openjdk.java.net/jdk/pull/4795
More information about the compiler-dev
mailing list