Skip to content

Commit 0443992

Browse files
committed
Bump highlight.js version. Add semicolons at the end of production rules.
1 parent c148b3a commit 0443992

File tree

8 files changed

+1892
-1598
lines changed

8 files changed

+1892
-1598
lines changed

docs/_docs/internals/syntax-3.1.md

Lines changed: 163 additions & 163 deletions
Large diffs are not rendered by default.

docs/_docs/internals/syntax.md

Lines changed: 187 additions & 187 deletions
Large diffs are not rendered by default.

docs/_docs/reference/syntax.md

Lines changed: 183 additions & 183 deletions
Large diffs are not rendered by default.

scaladoc/resources/dotty_res/hljs/highlight.min.js

Lines changed: 1340 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scaladoc/resources/dotty_res/hljs/highlight.pack.js

Lines changed: 0 additions & 1064 deletions
This file was deleted.

scaladoc/resources/dotty_res/styles/nord-light.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,6 @@ pre, .hljs {
7373
.hljs-deletion {
7474
color: var(--hljs-deletion);
7575
}
76+
.hljs-attribute {
77+
color: var(--hljs-type);
78+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#header {
2+
box-sizing: border-box;
3+
display: flex;
4+
flex-direction: row;
5+
justify-content: space-between;
6+
align-items: center;
7+
padding: calc(1.75 * var(--base-spacing)) calc(3 * var(--base-spacing));
8+
position: absolute;
9+
height: var(--header-height);
10+
left: 0px;
11+
right: 0px;
12+
top: 0px;
13+
background: var(--background-default);
14+
border-bottom: 1px solid var(--border-default);
15+
}

scaladoc/src/dotty/tools/scaladoc/renderers/Resources.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ trait Resources(using ctx: DocContext) extends Locations, Writer:
9494
"styles/ux.css",
9595
"styles/versions-dropdown.css",
9696
"styles/fontawesome.css",
97-
"hljs/highlight.pack.js",
97+
"hljs/highlight.min.js",
9898
"hljs/LICENSE",
9999
"scripts/hljs-scala3.js",
100100
"scripts/ux.js",

0 commit comments

Comments
 (0)