Allow extract-docs to be run from elsewhere

currently extract-docs assumes you're in the incubator root directory.

Change-Id: I307e0d6c15870f0e58c201b71e322f26dabd40b2
Merge "Allow extract-docs to be run from elsewhere"