Exclude frontend shim from docs build

Closes gh-3517
Merge pull request #3523 from takluyver/docs-exclude-frontend

Exclude frontend shim from docs build

Closes #3517

The API doc writer has separate exclude patterns for modules and packages, so frontend needed to be listed in the modules exclusions.