diff --git a/package-lock.json b/package-lock.json index 206c0399533f..6de452720586 100644 --- a/package-lock.json +++ b/package-lock.json @@ -78,6 +78,7 @@ "postcss-cli": "^11.0.1", "prettier": "^3.8.3", "prettier-plugin-astro": "^0.14.1", + "prettier-plugin-bootstrap": "^0.3.0", "rehype-autolink-headings": "^7.1.0", "remark": "^15.0.1", "remark-html": "^16.0.1", @@ -15868,6 +15869,19 @@ "node": "^14.15.0 || >=16.0.0" } }, + "node_modules/prettier-plugin-bootstrap": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/prettier-plugin-bootstrap/-/prettier-plugin-bootstrap-0.3.0.tgz", + "integrity": "sha512-1hSibEoQNsYfboNOTWQdbptjZH8hHZuIJ8BMW8GJ7fEjgkTYPgEH9SIhYJRqknB4mo389SRB+fmzX2xI28P3sw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + }, + "peerDependencies": { + "prettier": "^3.0.0" + } + }, "node_modules/pretty-format": { "version": "30.2.0", "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-30.2.0.tgz", diff --git a/package.json b/package.json index b5a12ca108f4..504d1845028f 100644 --- a/package.json +++ b/package.json @@ -167,6 +167,7 @@ "postcss-cli": "^11.0.1", "prettier": "^3.8.3", "prettier-plugin-astro": "^0.14.1", + "prettier-plugin-bootstrap": "^0.3.0", "rehype-autolink-headings": "^7.1.0", "remark": "^15.0.1", "remark-html": "^16.0.1", diff --git a/site/.prettierrc.json b/site/.prettierrc.json index b3ef3394272b..c9a412929d5f 100644 --- a/site/.prettierrc.json +++ b/site/.prettierrc.json @@ -1,7 +1,7 @@ { "$schema": "http://json.schemastore.org/prettierrc", "arrowParens": "always", - "plugins": ["prettier-plugin-astro"], + "plugins": ["prettier-plugin-astro", "prettier-plugin-bootstrap"], "printWidth": 120, "semi": false, "singleQuote": true, diff --git a/site/src/components/Ads.astro b/site/src/components/Ads.astro index 2a53c0a615f5..71b15bbeb95a 100644 --- a/site/src/components/Ads.astro +++ b/site/src/components/Ads.astro @@ -1,9 +1,9 @@ --- + --- + id="_carbonads_js"> diff --git a/site/src/components/DocsSidebar.astro b/site/src/components/DocsSidebar.astro index 1282ed7026e1..ec80e1be24c1 100644 --- a/site/src/components/DocsSidebar.astro +++ b/site/src/components/DocsSidebar.astro @@ -7,8 +7,8 @@ import { getSlug } from '@libs/utils' const sidebar = getData('sidebar') --- -