docs: allow docs build to output to another directory

use DOCS_OUTPUT_BASE environment variable
autotest: build docs on each autotest run
autotest: added docs links