Update the docs for 3.0!
Merge pull request #3137 from mkoistinen/doc_fixes

Update the docs for 3.0!
Fixes for new versions of some of the requirements.
Merge pull request #3138 from mkoistinen/more_doc_fixes

Fixes for new versions of some of the requirements.
Move context assignment to only where it is required
Merge pull request #3139 from mkoistinen/move_context_assignment

Move context assignment to only where it is required