-
Notifications
You must be signed in to change notification settings - Fork 2k
chore(website): add prettier formatting #24460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Your preview site for the vector.dev will be ready in a few minutes, please allow time for it to build. Heres your preview link: |
|
Your preview site for the vector.dev will be ready in a few minutes, please allow time for it to build. Heres your preview link: |
|
Your preview site for the vector.dev will be ready in a few minutes, please allow time for it to build. Heres your preview link: |
|
Your preview site for the vector.dev will be ready in a few minutes, please allow time for it to build. Heres your preview link: |
Summary
Add and format html files with prettier. Some files had to be updated by hand because whitespace was being incorrectly removed inside html
classes.###Example:
Before:
<p class="foo {{ if .a }}bar{{end}}"></p>After format (incorrect - would make it
"foobar"instead of"foo bar"):<p class="foo{{ if .a }}bar{{end}}"></p>Manual format:
Reviewing this PR might be better if you look at it commit by commit. Any commits titled "Add automatically formatted files" or similar were just added without extra manual changes, however I reviewed all files since I ran into the issue detailed above.
Vector configuration
NA
How did you test this PR?
Ran
make serveand verified that the website renders properly.Let CI run. Failed run verifying it works.
Change Type
Is this a breaking change?
Does this PR include user facing changes?
no-changeloglabel to this PR.References
Notes
@vectordotdev/vectorto reach out to us regarding this PR.pre-pushhook, please see this template.make fmtmake check-clippy(if there are failures it's possible some of them can be fixed withmake clippy-fix)make testgit merge origin masterandgit push.Cargo.lock), pleaserun
make build-licensesto regenerate the license inventory and commit the changes (if any). More details here.