Skip to content

Commit ee42353

Browse files
chore(deps): update dependency @vue/eslint-config-typescript to v13 (#5430)
* chore(deps): update dependency @vue/eslint-config-typescript to v13 * Re-enable vitepress updates * Commit generated SVGs as they do not render on Vercel --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lukas Taegert-Atkinson <[email protected]>
1 parent b124341 commit ee42353

File tree

8 files changed

+187
-277
lines changed

8 files changed

+187
-277
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ perf/
1818
.nyc_output/
1919
.github_token
2020
.temp
21-
docs/.vitepress/graphs
21+
docs/.vitepress/graphs/*.mmd
2222
*.tsbuildinfo
2323
target
2424
*.node

docs/.vitepress/graphs/mermaid-66d62a8a.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/.vitepress/graphs/mermaid-7a3058ce.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/.vitepress/mermaid.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export function renderMermaidGraphsPlugin(): Plugin {
2727
const existingGraphFileNames = await existingGraphFileNamesPromise;
2828
const outFileURL = new URL(outFile, graphsDirectory);
2929
if (!existingGraphFileNames.has(outFile)) {
30+
console.warn(
31+
`Pre-rendered file ${outFile} not found, rendering...\nIf this throws on Vercel, you need to run "npm run build:docs" locally first and commit the updated svg files.`
32+
);
3033
const inFileURL = new URL(`${outFile}.mmd`, graphsDirectory);
3134
await writeFile(inFileURL, codeBlock);
3235
const { stdout, stderr } = await execPromise(

docs/repl/components/ReplMain.vue

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ onUnmounted(() => {
4545
</script>
4646

4747
<style>
48+
/* override vitepress styles */
49+
.vp-doc.container {
50+
padding: 0;
51+
max-width: 100%;
52+
}
53+
4854
/* global styles */
4955
.repl-button {
5056
font-family: inherit;
@@ -108,31 +114,39 @@ input {
108114
109115
.repl-icon-pencil:before {
110116
content: '\e800';
111-
} /* '' */
117+
}
118+
112119
.repl-icon-cancel:before {
113120
content: '\e801';
114-
} /* '' */
121+
}
122+
115123
.repl-icon-plus:before {
116124
content: '\e802';
117-
} /* '' */
125+
}
126+
118127
.repl-icon-minus:before {
119128
content: '\e803';
120-
} /* '' */
129+
}
130+
121131
.repl-icon-ok:before {
122132
content: '\e804';
123-
} /* '' */
133+
}
134+
124135
.repl-icon-error:before {
125136
content: '\e805';
126-
} /* '' */
137+
}
138+
127139
.repl-icon-attention:before {
128140
content: '\e806';
129-
} /* '' */
141+
}
130142
</style>
131143

132144
<style scoped>
133145
h2 {
134146
white-space: nowrap;
135-
margin-bottom: 0.25rem;
147+
margin: 0 0 0.25rem;
148+
border: none;
149+
padding: 0;
136150
font-size: 20px;
137151
line-height: 28px;
138152
font-weight: 600;

0 commit comments

Comments
 (0)