tests(docs): add documentation tests to test-acceptance script

Also fixes a missing import in docs/docs_requirements.txt.

Fixes #1888.