update example loading in documentation in documentation

Examples are now compiled before loading and broken examples will not
abort the build of the documentation