From 40a86cc2bb80e1a379efd5be5f14ae8ac199a64d Mon Sep 17 00:00:00 2001 From: Elliot Winkler Date: Sun, 16 Sep 2018 13:12:09 -0600 Subject: [PATCH] Make it possible to run YARD locally 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 --- .python-version | 1 + 1 file changed, 1 insertion(+) create mode 100644 .python-version diff --git a/.python-version b/.python-version new file mode 100644 index 000000000..f24054fd3 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +2.7.15