Indicate external links in non-API documentation as well
Marco Ricci

Marco Ricci commited on 2024-11-26 13:21:54
Zeige 1 geänderte Dateien mit 3 Einfügungen und 3 Löschungen.

... ...
@@ -5,9 +5,9 @@ div.doc-contents:not(.first) {
5 5
 }
6 6
 
7 7
 /* Mark external links as such. */
8
-div.doc-contents a[href^="https://"]::after,
9
-div.doc-contents a[href^="http://"]::after,
10
-div.doc-contents a[href^="//"]::after,
8
+div[data-md-component="content"] a[href^="https://"]::after,
9
+div[data-md-component="content"] a[href^="http://"]::after,
10
+div[data-md-component="content"] a[href^="//"]::after,
11 11
 a.external::after,
12 12
 a.autorefs-external::after {
13 13
   /* https://primer.style/octicons/arrow-up-right-24 */
14 14