Skip to content

Commit

Permalink
Make it possible to run YARD locally
Browse files Browse the repository at this point in the history
We use Pygments to color source code inside of documentation.
Unfortunately, Pygments requires Python 2, not Python 3, so if you don't
have this installed or this is not accessible, then you can't run YARD
locally to preview docs. The best way to get Python 2 is through
[`pyenv`][1]. `pyenv` will read from `.python-version` if it is set.
This commits adds that file.

[1]: https://github.com/pyenv/pyenv
  • Loading branch information
mcmire authored and guialbuk committed Oct 2, 2018
1 parent 43cdc24 commit 40a86cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.15

0 comments on commit 40a86cc

Please sign in to comment.