Skip to content

Commit

Permalink
Remove unused partials and add some way to automatically detect it (#…
Browse files Browse the repository at this point in the history
…38004)

* Add docs-check-unused-templates in npm commands and workflow

* Remove unused partials icons templates
  • Loading branch information
julien-deramond authored Feb 14, 2023
1 parent 68afebe commit 30e8d13
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 22 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@
"js-test-cloud": "cross-env BROWSERSTACK=true npm run js-test-karma",
"js-test-jquery": "cross-env JQUERY=true npm run js-test-karma",
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint lockfile-lint",
"docs": "npm-run-all docs-build docs-lint",
"docs": "npm-run-all docs-build docs-lint docs-check-unused-templates",
"docs-build": "hugo --cleanDestinationDir",
"docs-check-unused-templates": "hugo --printUnusedTemplates",
"docs-compile": "npm run docs-build",
"docs-vnu": "node build/vnu-jar.js",
"docs-lint": "npm run docs-vnu",
Expand Down
1 change: 0 additions & 1 deletion site/layouts/partials/icons/bootstrap-logo-solid.svg

This file was deleted.

1 change: 0 additions & 1 deletion site/layouts/partials/icons/bootstrap.svg

This file was deleted.

3 changes: 0 additions & 3 deletions site/layouts/partials/icons/cloud-fill.svg

This file was deleted.

3 changes: 0 additions & 3 deletions site/layouts/partials/icons/code.svg

This file was deleted.

4 changes: 0 additions & 4 deletions site/layouts/partials/icons/collapse.svg

This file was deleted.

4 changes: 0 additions & 4 deletions site/layouts/partials/icons/expand.svg

This file was deleted.

1 change: 0 additions & 1 deletion site/layouts/partials/icons/homepage-hero.svg

This file was deleted.

3 changes: 0 additions & 3 deletions site/layouts/partials/icons/list.svg

This file was deleted.

1 change: 0 additions & 1 deletion site/layouts/partials/icons/menu.svg

This file was deleted.

0 comments on commit 30e8d13

Please sign in to comment.