Skip to content

Commit

Permalink
Restore accessibility check on docs site (withastro#2362)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathantneal authored Jan 11, 2022
1 parent b21dd19 commit eaa626d
Show file tree
Hide file tree
Showing 2 changed files with 281 additions and 14 deletions.
3 changes: 2 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "astro build",
"preview": "astro preview",
"lint": "run-p --aggregate-output lint:linkcheck",
"lint:a11y": "start-test 'yarn dev --silent' 3000 'yarn lint:a11y:local'",
"lint:a11y": "start-test 'yarn build && yarn preview' 3000 'yarn lint:a11y:local'",
"lint:a11y:local": "pa11y-ci --sitemap 'https://localhost:3000/sitemap.xml' --sitemap-find 'https://docs.astro.build' --sitemap-replace 'https://localhost:3000'",
"lint:a11y:remote": "pa11y-ci --sitemap 'https://docs.astro.build/sitemap.xml'",
"lint:linkcheck": "start-test 'yarn dev --silent' 3000 'yarn lint:linkcheck:local'",
Expand All @@ -19,6 +19,7 @@
"astro": "^0.22.0",
"broken-link-checker": "^0.7.8",
"npm-run-all": "^4.1.5",
"pa11y-ci": "^3.0.1",
"prettier": "^2.4.1",
"start-server-and-test": "^1.12.6"
},
Expand Down
Loading

0 comments on commit eaa626d

Please sign in to comment.