/Doc/tools/sphinx-build.py
Relevant Search: With Applications for Solr and Elasticsearch
For more in depth reading about search, ranking and generally everything you could ever want to know about how lucene, elasticsearch or solr work under the hood I highly suggest this book. Easily one of the most interesting technical books I have read in a long time. If you are tasked with solving search relevance problems even if not in Solr or Elasticsearch it should be your first reference. Amazon Affiliate LinkPython | 24 lines | 13 code | 3 blank | 8 comment | 2 complexity | 2a63a1920e39b5807ca132f66baa6a1b MD5 | raw file
1# -*- coding: utf-8 -*- 2""" 3 Sphinx - Python documentation toolchain 4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 6 :copyright: 2007 by Georg Brandl. 7 :license: Python license. 8""" 9 10import sys 11 12if __name__ == '__main__': 13 14 if sys.version_info[:3] < (2, 4, 0): 15 print >>sys.stderr, """\ 16Error: Sphinx needs to be executed with Python 2.4 or newer 17(If you run this from the Makefile, you can set the PYTHON variable 18to the path of an alternative interpreter executable, e.g., 19``make html PYTHON=python2.5``). 20""" 21 sys.exit(1) 22 23 from sphinx import main 24 sys.exit(main(sys.argv))