Fixed #22417 -- Added additional documentation for refs #16969.

Thanks Jon Foster for the report.
Changed paths in docs that referred to Python 2.
Fixed flake8 errors.