PageRenderTime 39ms CodeModel.GetById 35ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Doc/make.bat

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 Link
http://unladen-swallow.googlecode.com/
Batch | 58 lines | 51 code | 7 blank | 0 comment | 18 complexity | 0f0672892611f2edbade02118df8af4d MD5 | raw file
 1@@echo off
 2setlocal
 3
 4set SVNROOT=http://svn.python.org/projects
 5if "%PYTHON%" EQU "" set PYTHON=..\pcbuild\python
 6if "%HTMLHELP%" EQU "" set HTMLHELP=%ProgramFiles%\HTML Help Workshop\hhc.exe
 7if "%DISTVERSION%" EQU "" for /f "usebackq" %%v in (`%PYTHON% tools/sphinxext/patchlevel.py`) do set DISTVERSION=%%v
 8
 9if "%1" EQU "" goto help
10if "%1" EQU "html" goto build
11if "%1" EQU "htmlhelp" goto build
12if "%1" EQU "latex" goto build
13if "%1" EQU "text" goto build
14if "%1" EQU "suspicious" goto build
15if "%1" EQU "linkcheck" goto build
16if "%1" EQU "changes" goto build
17if "%1" EQU "checkout" goto checkout
18if "%1" EQU "update" goto update
19
20:help
21set this=%~n0
22echo HELP
23echo.
24echo %this% checkout
25echo %this% update
26echo %this% html
27echo %this% htmlhelp
28echo %this% latex
29echo %this% text
30echo %this% suspicious
31echo %this% linkcheck
32echo %this% changes
33echo.
34goto end
35
36:checkout
37svn co %SVNROOT%/external/Sphinx-0.6.2/sphinx tools/sphinx
38svn co %SVNROOT%/external/docutils-0.5/docutils tools/docutils
39svn co %SVNROOT%/external/Jinja-2.1.1/jinja2 tools/jinja2
40svn co %SVNROOT%/external/Pygments-0.11.1/pygments tools/pygments
41goto end
42
43:update
44svn update tools/sphinx
45svn update tools/docutils
46svn update tools/jinja2
47svn update tools/pygments
48goto end
49
50:build
51if not exist build mkdir build
52if not exist build\%1 mkdir build\%1
53if not exist build\doctrees mkdir build\doctrees
54cmd /C %PYTHON% tools\sphinx-build.py -b%1 -dbuild\doctrees . build\%*
55if "%1" EQU "htmlhelp" "%HTMLHELP%" build\htmlhelp\python%DISTVERSION:.=%.hhp
56goto end
57
58:end