Skip to content

Commit

Permalink
use prettier3 in module_docs_lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Oct 22, 2023
1 parent 848a4c5 commit 6d10109
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/module_docs_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
lint-module-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check Formatting
uses: actionsx/prettier@v2
uses: creyD/prettier_action@v4.3
with:
args: --check cmd/tools/vdoc/theme
prettier_options: --check cmd/tools/vdoc/theme
26 changes: 22 additions & 4 deletions cmd/tools/vdoc/theme/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,17 @@ html {
}
body {
margin: 0;
font-family: Jost, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
font-family:
Jost,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Helvetica,
Arial,
sans-serif,
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol';
background-color: #fff;
background-color: var(--background-color);
color: #000;
Expand Down Expand Up @@ -344,8 +353,17 @@ hr {
font-weight: 500;
}
.doc-nav > .search .result > .link > .description {
font-family: Jost, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
font-family:
Jost,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Helvetica,
Arial,
sans-serif,
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol';
font-size: 0.75rem;
overflow: hidden;
white-space: nowrap;
Expand Down
2 changes: 1 addition & 1 deletion cmd/tools/vdoc/theme/doc.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function setupScrollSpy() {
a.classList.add('active');
lastActive = a;
clickedScroll = true;
})
}),
);
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/tools/vdoc/theme/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down

0 comments on commit 6d10109

Please sign in to comment.