Skip to content

Commit

Permalink
Add javadoc bang (Java 23 API docs)
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodywasishere committed Oct 11, 2024
1 parent 97f7462 commit 55e8612
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions data/bangs.json
Original file line number Diff line number Diff line change
Expand Up @@ -109361,5 +109361,18 @@
"u": "https://jsr.io/packages?search={{{s}}}",
"c": "Tech",
"sc": "Languages (javascript)"
},
{
"s": "Java 23 API Specification",
"d": "docs.oracle.com",
"t": "javadoc",
"u": "https://docs.oracle.com/en/java/javase/23/docs/api/search.html?q={{{s}}}",
"c": "Tech",
"sc": "Languages (java)",
"ad": "docs.oracle.com/en/java/javase/23/docs/api/",
"fmt": [
"url_encode_placeholder",
"url_encode_space_to_plus"
]
}
]

2 comments on commit 55e8612

@Leftium
Copy link
Contributor

Choose a reason for hiding this comment

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

If ad takes values like "docs.oracle.com/en/java/javase/23/docs/api/", that stretches the meaning of "alternate domain."

It's not really a domain, anymore.

Yesterday I proposed changing domain field .d so it could accept an array of domains, where field .ad would map to the second element .d[1]. I guess if you change the meaning of "domain" for field .ad, you can also change the meaning of "domain" for field .d...

@nobodywasishere
Copy link
Member Author

Choose a reason for hiding this comment

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

"Alternative domain" should really be called "snap domain/value/etc" as that's what it's primarily for. Used the current name only because snaps hadn't been announced yet and I thought it wouldn't make sense if it referred to the feature directly

Please sign in to comment.