Move language detection up into generate_documentation so we only do it once.
Move language detection up into generate_documentation so we only do it once.

pearswj/pycco,ryanisnan/pycco,rgeoghegan/pycco,theerik/pycco,fitzgen/pycco,williamwallacebrave/pycco,ChadFulton/pycco,ryanroser/pycco,lincolnloop/pycco