Skip to content

Commit 14007be

Browse files
authored
chore: replace Polymer based API docs with the new website (#9975)
1 parent 76435e7 commit 14007be

File tree

5 files changed

+6
-405
lines changed

5 files changed

+6
-405
lines changed

api-docs/.eleventy.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { HtmlBasePlugin } from '@11ty/eleventy';
12
import syntaxHighlightPlugin from '@11ty/eleventy-plugin-syntaxhighlight';
23
import markdownIt from 'markdown-it';
34
import markdownItAnchor from 'markdown-it-anchor';
@@ -27,6 +28,7 @@ export default function (config) {
2728
}),
2829
);
2930

31+
config.addPlugin(HtmlBasePlugin);
3032
config.addPlugin(syntaxHighlightPlugin, {
3133
preAttributes: {
3234
class: ({ language }) => `code-block language-${language}`,

index.html

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

package.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
"api-docs:build": "yarn analyze && yarn workspace api-docs generate ../analysis.json && yarn workspace api-docs build",
1010
"debug": "yarn test --watch",
1111
"debug:it": "yarn test --watch --config web-test-runner-it.config.js",
12-
"dist": "rimraf dist && yarn analyze && rollup -c rollup.config.js && cp analysis.json dist",
13-
"docs": "yarn analyze && web-dev-server --node-resolve --open",
1412
"icons": "lerna run icons",
1513
"lint": "npm-run-all --parallel lint:*",
1614
"lint:css": "stylelint --ignore-path .gitignore \"packages/**/src/**/*.js\" \"packages/**/*.css\" \"dev/**/*.html\"",
@@ -39,15 +37,12 @@
3937
"update:snapshots": "yarn test --config web-test-runner-snapshots.config.js --update-snapshots"
4038
},
4139
"devDependencies": {
42-
"@polymer/iron-component-page": "^4.0.1",
43-
"@rollup/plugin-terser": "^0.4.4",
4440
"@types/mocha": "^10.0.7",
4541
"@types/sinon": "^17.0.3",
4642
"@ungap/structured-clone": "^1.3.0",
4743
"@vaadin/testing-helpers": "^2.0.0",
4844
"@web/dev-server": "^0.4.6",
4945
"@web/dev-server-esbuild": "^1.0.4",
50-
"@web/rollup-plugin-html": "~2.1.0",
5146
"@web/test-runner": "^0.20.2",
5247
"@web/test-runner-playwright": "^0.11.1",
5348
"@web/test-runner-saucelabs": "^0.13.0",
@@ -73,8 +68,6 @@
7368
"prettier": "^3.6.0",
7469
"prettier-plugin-package": "^1.4.0",
7570
"replace-in-file": "^8.3.0",
76-
"rimraf": "^6.0.1",
77-
"rollup": "^4.4.0",
7871
"stylelint": "^16.23.0",
7972
"stylelint-config-html": "^1.1.0",
8073
"stylelint-config-vaadin": "^1.0.0-alpha.2",

rollup.config.js

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

0 commit comments

Comments
 (0)