In our project, the documentation folder is called docs, not doc. It would be nice to have a config or param to the rake task that overrides the default.
I might attempt a PR for this at some point, but I'm quite busy currently, so any help is welcome.