Automatically generate code examples for different Python versions in mkdocs or Sphinx based documentations