Create the docs directory first if needed.