PageRenderTime 24ms CodeModel.GetById 14ms app.highlight 6ms RepoModel.GetById 2ms app.codeStats 0ms

/doc/Makefile

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
https://bitbucket.org/jpellerin/nose/
Makefile | 89 lines | 70 code | 15 blank | 4 comment | 2 complexity | 09d751b433c71d5f7ad4019e8871f1ec MD5 | raw file
 1# Makefile for Sphinx documentation
 2#
 3
 4# You can set these variables from the command line.
 5SPHINXOPTS    =
 6SPHINXBUILD   = sphinx-build
 7PAPER         =
 8
 9# Internal variables.
10PAPEROPT_a4     = -D latex_paper_size=a4
11PAPEROPT_letter = -D latex_paper_size=letter
12ALLSPHINXOPTS   = -d .build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
13
14.PHONY: help clean html web pickle htmlhelp latex changes linkcheck man readme
15
16help:
17	@echo "Please use \`make <target>' where <target> is one of"
18	@echo "  html      to make standalone HTML files"
19	@echo "  pickle    to make pickle files"
20	@echo "  json      to make JSON files"
21	@echo "  htmlhelp  to make HTML files and a HTML help project"
22	@echo "  latex     to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
23	@echo "  changes   to make an overview over all changed/added/deprecated items"
24	@echo "  linkcheck to check all external links for integrity"
25
26clean:
27	-rm -rf .build/*
28
29html:
30	mkdir -p .build/html .build/doctrees
31	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) .build/html
32	@echo
33	@echo "Build finished. The HTML pages are in .build/html."
34
35pickle:
36	mkdir -p .build/pickle .build/doctrees
37	$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) .build/pickle
38	@echo
39	@echo "Build finished; now you can process the pickle files."
40
41web: pickle
42
43json:
44	mkdir -p .build/json .build/doctrees
45	$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) .build/json
46	@echo
47	@echo "Build finished; now you can process the JSON files."
48
49htmlhelp:
50	mkdir -p .build/htmlhelp .build/doctrees
51	$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) .build/htmlhelp
52	@echo
53	@echo "Build finished; now you can run HTML Help Workshop with the" \
54	      ".hhp project file in .build/htmlhelp."
55
56latex:
57	mkdir -p .build/latex .build/doctrees
58	$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) .build/latex
59	@echo
60	@echo "Build finished; the LaTeX files are in .build/latex."
61	@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
62	      "run these through (pdf)latex."
63
64changes:
65	mkdir -p .build/changes .build/doctrees
66	$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) .build/changes
67	@echo
68	@echo "The overview file is in .build/changes."
69
70linkcheck:
71	mkdir -p .build/linkcheck .build/doctrees
72	$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) .build/linkcheck
73	@echo
74	@echo "Link check complete; look for any errors in the above output " \
75	      "or in .build/linkcheck/output.txt."
76
77man:
78	mkdir -p .build/man ./build/doctrees
79	$(SPHINXBUILD) -b manpage $(ALLSPHINXOPTS) .build/man man.rst
80	cp .build/man/man.man ../nosetests.1
81	@echo
82	@echo "Generated man page copied to ../nosetests.1"
83
84readme:
85	mkdir -p .build/text .build/doctrees$
86	$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) .build/text usage.rst
87	cp .build/text/usage.txt ../README.txt
88	@echo
89	@echo "Updated ../README.txt"