mkdocs / mkdocs-click

An MkDocs extension to generate documentation for Click command line applications
https://pypi.org/project/mkdocs-click
Apache License 2.0
109 stars 15 forks source link

Add fallback in the absence of Python 3 as python #13

Closed yudai-nkt closed 3 years ago

yudai-nkt commented 3 years ago

While Python 2 has already reached its end of life, python still points to Python 2.x in many computers including mine. Since Python 2.x doesn't have venv, I added a fallback that explicitly calls python3.

florimondmanca commented 3 years ago

@yudai-nkt Hi, thanks for this! I pushed #22 which supports your use case a bit differently by simply using python3 always. :-)