Fix the building of various examples in the docs
Handle default in offset position correctly
Fix one more failing doc example
Merge pull request #3675 from mdboom/doc-build-warnings

Additional Warnings in docs build on travis after merge of decxx