PyDoc creates HTML documentation in current directory when generating documentation of modules. I really need to specify another directory which will be a placeholder for generated documentation instead the directory from which PyDoc is called.
I am using python -m pydoc -w <MODULES_DIR>
to generate documentation.
Is this possible and if it is, how?