Procházet zdrojové kódy

generated files of parent

Noémi Ványi před 8 roky
rodič
revize
1db5af1e95

+ 7
- 0
_static/basic.css Zobrazit soubor

@@ -494,6 +494,13 @@ pre {
494 494
     overflow-y: hidden;  /* fixes display issues on Chrome browsers */
495 495
 }
496 496
 
497
+span.pre {
498
+    -moz-hyphens: none;
499
+    -ms-hyphens: none;
500
+    -webkit-hyphens: none;
501
+    hyphens: none;
502
+}
503
+
497 504
 td.linenos pre {
498 505
     padding: 5px 0px;
499 506
     border: 0;

+ 2
- 0
_static/pygments.css Zobrazit soubor

@@ -4,8 +4,10 @@
4 4
 .highlight .err { border: 1px solid #FF0000 } /* Error */
5 5
 .highlight .k { color: #007020; font-weight: bold } /* Keyword */
6 6
 .highlight .o { color: #666666 } /* Operator */
7
+.highlight .ch { color: #408090; font-style: italic } /* Comment.Hashbang */
7 8
 .highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */
8 9
 .highlight .cp { color: #007020 } /* Comment.Preproc */
10
+.highlight .cpf { color: #408090; font-style: italic } /* Comment.PreprocFile */
9 11
 .highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */
10 12
 .highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */
11 13
 .highlight .gd { color: #A00000 } /* Generic.Deleted */

+ 1
- 1
_static/searchtools.js Zobrazit soubor

@@ -324,7 +324,7 @@ var Search = {
324 324
     var searchterms = [];
325 325
     var excluded = [];
326 326
     var hlterms = [];
327
-    var tmp = query.split(/\s+/);
327
+    var tmp = query.split(/\W+/);
328 328
     var objectterms = [];
329 329
     for (i = 0; i < tmp.length; i++) {
330 330
       if (tmp[i] !== "") {

+ 47
- 45
admin/api.html Zobrazit soubor

@@ -6,7 +6,7 @@
6 6
   <head>
7 7
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 8
     
9
-    <title>Administration API &mdash; searx 0.9.0 documentation</title>
9
+    <title>Administration API &#8212; searx 0.10.0 documentation</title>
10 10
     
11 11
     <link rel="stylesheet" href="../_static/style.css" type="text/css" />
12 12
     <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
14 14
     <script type="text/javascript">
15 15
       var DOCUMENTATION_OPTIONS = {
16 16
         URL_ROOT:    '../',
17
-        VERSION:     '0.9.0',
17
+        VERSION:     '0.10.0',
18 18
         COLLAPSE_INDEX: false,
19 19
         FILE_SUFFIX: '.html',
20 20
         HAS_SOURCE:  true
@@ -23,8 +23,10 @@
23 23
     <script type="text/javascript" src="../_static/jquery.js"></script>
24 24
     <script type="text/javascript" src="../_static/underscore.js"></script>
25 25
     <script type="text/javascript" src="../_static/doctools.js"></script>
26
-    <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
27
-    <link rel="next" title="Development Quickstart" href="../dev/quickstart.html" />
26
+    <link rel="index" title="Index" href="../genindex.html" />
27
+    <link rel="search" title="Search" href="../search.html" />
28
+    <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
29
+    <link rel="next" title="How to protect an instance" href="filtron.html" />
28 30
     <link rel="prev" title="Installation" href="../dev/install/installation.html" />
29 31
    
30 32
   
@@ -43,71 +45,71 @@
43 45
 <span id="adminapi"></span><h1>Administration API<a class="headerlink" href="#administration-api" title="Permalink to this headline">¶</a></h1>
44 46
 <div class="section" id="get-configuration-data">
45 47
 <h2>Get configuration data<a class="headerlink" href="#get-configuration-data" title="Permalink to this headline">¶</a></h2>
46
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">GET</span> <span class="o">/</span><span class="n">config</span>
48
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">GET</span> <span class="o">/</span><span class="n">config</span>
47 49
 </pre></div>
48 50
 </div>
49 51
 <div class="section" id="sample-response">
50 52
 <h3>Sample response<a class="headerlink" href="#sample-response" title="Permalink to this headline">¶</a></h3>
51
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="p">{</span>
52
-  <span class="s">&quot;autocomplete&quot;</span><span class="p">:</span> <span class="s">&quot;&quot;</span><span class="p">,</span>
53
-  <span class="s">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
54
-    <span class="s">&quot;map&quot;</span><span class="p">,</span>
55
-    <span class="s">&quot;it&quot;</span><span class="p">,</span>
56
-    <span class="s">&quot;images&quot;</span><span class="p">,</span>
53
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="p">{</span>
54
+  <span class="s2">&quot;autocomplete&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
55
+  <span class="s2">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
56
+    <span class="s2">&quot;map&quot;</span><span class="p">,</span>
57
+    <span class="s2">&quot;it&quot;</span><span class="p">,</span>
58
+    <span class="s2">&quot;images&quot;</span><span class="p">,</span>
57 59
   <span class="p">],</span>
58
-  <span class="s">&quot;default_locale&quot;</span><span class="p">:</span> <span class="s">&quot;&quot;</span><span class="p">,</span>
59
-  <span class="s">&quot;default_theme&quot;</span><span class="p">:</span> <span class="s">&quot;oscar&quot;</span><span class="p">,</span>
60
-  <span class="s">&quot;engines&quot;</span><span class="p">:</span> <span class="p">[</span>
60
+  <span class="s2">&quot;default_locale&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
61
+  <span class="s2">&quot;default_theme&quot;</span><span class="p">:</span> <span class="s2">&quot;oscar&quot;</span><span class="p">,</span>
62
+  <span class="s2">&quot;engines&quot;</span><span class="p">:</span> <span class="p">[</span>
61 63
     <span class="p">{</span>
62
-      <span class="s">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
63
-        <span class="s">&quot;map&quot;</span>
64
+      <span class="s2">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
65
+        <span class="s2">&quot;map&quot;</span>
64 66
       <span class="p">],</span>
65
-      <span class="s">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
66
-      <span class="s">&quot;name&quot;</span><span class="p">:</span> <span class="s">&quot;openstreetmap&quot;</span><span class="p">,</span>
67
-      <span class="s">&quot;shortcut&quot;</span><span class="p">:</span> <span class="s">&quot;osm&quot;</span>
67
+      <span class="s2">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
68
+      <span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;openstreetmap&quot;</span><span class="p">,</span>
69
+      <span class="s2">&quot;shortcut&quot;</span><span class="p">:</span> <span class="s2">&quot;osm&quot;</span>
68 70
     <span class="p">},</span>
69 71
     <span class="p">{</span>
70
-      <span class="s">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
71
-        <span class="s">&quot;it&quot;</span>
72
+      <span class="s2">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
73
+        <span class="s2">&quot;it&quot;</span>
72 74
       <span class="p">],</span>
73
-      <span class="s">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
74
-      <span class="s">&quot;name&quot;</span><span class="p">:</span> <span class="s">&quot;arch linux wiki&quot;</span><span class="p">,</span>
75
-      <span class="s">&quot;shortcut&quot;</span><span class="p">:</span> <span class="s">&quot;al&quot;</span>
75
+      <span class="s2">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
76
+      <span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;arch linux wiki&quot;</span><span class="p">,</span>
77
+      <span class="s2">&quot;shortcut&quot;</span><span class="p">:</span> <span class="s2">&quot;al&quot;</span>
76 78
     <span class="p">},</span>
77 79
     <span class="p">{</span>
78
-      <span class="s">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
79
-        <span class="s">&quot;images&quot;</span>
80
+      <span class="s2">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
81
+        <span class="s2">&quot;images&quot;</span>
80 82
       <span class="p">],</span>
81
-      <span class="s">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
82
-      <span class="s">&quot;name&quot;</span><span class="p">:</span> <span class="s">&quot;google images&quot;</span><span class="p">,</span>
83
-      <span class="s">&quot;shortcut&quot;</span><span class="p">:</span> <span class="s">&quot;goi&quot;</span>
83
+      <span class="s2">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
84
+      <span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;google images&quot;</span><span class="p">,</span>
85
+      <span class="s2">&quot;shortcut&quot;</span><span class="p">:</span> <span class="s2">&quot;goi&quot;</span>
84 86
     <span class="p">},</span>
85 87
     <span class="p">{</span>
86
-      <span class="s">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
87
-        <span class="s">&quot;it&quot;</span>
88
+      <span class="s2">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
89
+        <span class="s2">&quot;it&quot;</span>
88 90
       <span class="p">],</span>
89
-      <span class="s">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
90
-      <span class="s">&quot;name&quot;</span><span class="p">:</span> <span class="s">&quot;bitbucket&quot;</span><span class="p">,</span>
91
-      <span class="s">&quot;shortcut&quot;</span><span class="p">:</span> <span class="s">&quot;bb&quot;</span>
91
+      <span class="s2">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
92
+      <span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;bitbucket&quot;</span><span class="p">,</span>
93
+      <span class="s2">&quot;shortcut&quot;</span><span class="p">:</span> <span class="s2">&quot;bb&quot;</span>
92 94
     <span class="p">},</span>
93 95
   <span class="p">],</span>
94
-  <span class="s">&quot;instance_name&quot;</span><span class="p">:</span> <span class="s">&quot;searx&quot;</span><span class="p">,</span>
95
-  <span class="s">&quot;locales&quot;</span><span class="p">:</span> <span class="p">{</span>
96
-    <span class="s">&quot;de&quot;</span><span class="p">:</span> <span class="s">&quot;Deutsch (German)&quot;</span><span class="p">,</span>
97
-    <span class="s">&quot;en&quot;</span><span class="p">:</span> <span class="s">&quot;English&quot;</span><span class="p">,</span>
98
-    <span class="s">&quot;eo&quot;</span><span class="p">:</span> <span class="s">&quot;Esperanto (Esperanto)&quot;</span><span class="p">,</span>
96
+  <span class="s2">&quot;instance_name&quot;</span><span class="p">:</span> <span class="s2">&quot;searx&quot;</span><span class="p">,</span>
97
+  <span class="s2">&quot;locales&quot;</span><span class="p">:</span> <span class="p">{</span>
98
+    <span class="s2">&quot;de&quot;</span><span class="p">:</span> <span class="s2">&quot;Deutsch (German)&quot;</span><span class="p">,</span>
99
+    <span class="s2">&quot;en&quot;</span><span class="p">:</span> <span class="s2">&quot;English&quot;</span><span class="p">,</span>
100
+    <span class="s2">&quot;eo&quot;</span><span class="p">:</span> <span class="s2">&quot;Esperanto (Esperanto)&quot;</span><span class="p">,</span>
99 101
   <span class="p">},</span>
100
-  <span class="s">&quot;plugins&quot;</span><span class="p">:</span> <span class="p">[</span>
102
+  <span class="s2">&quot;plugins&quot;</span><span class="p">:</span> <span class="p">[</span>
101 103
     <span class="p">{</span>
102
-      <span class="s">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
103
-      <span class="s">&quot;name&quot;</span><span class="p">:</span> <span class="s">&quot;HTTPS rewrite&quot;</span>
104
+      <span class="s2">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
105
+      <span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;HTTPS rewrite&quot;</span>
104 106
     <span class="p">},</span>
105 107
     <span class="p">{</span>
106
-      <span class="s">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
107
-      <span class="s">&quot;name&quot;</span><span class="p">:</span> <span class="s">&quot;Vim-like hotkeys&quot;</span>
108
+      <span class="s2">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
109
+      <span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;Vim-like hotkeys&quot;</span>
108 110
     <span class="p">}</span>
109 111
   <span class="p">],</span>
110
-  <span class="s">&quot;safe_search&quot;</span><span class="p">:</span> <span class="mi">0</span>
112
+  <span class="s2">&quot;safe_search&quot;</span><span class="p">:</span> <span class="mi">0</span>
111 113
 <span class="p">}</span>
112 114
 </pre></div>
113 115
 </div>

+ 3
- 3
admin/filtron.html Zobrazit soubor

@@ -6,7 +6,7 @@
6 6
   <head>
7 7
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 8
     
9
-    <title>How to protect an instance &#8212; searx 0.9.0 documentation</title>
9
+    <title>How to protect an instance &#8212; searx 0.10.0 documentation</title>
10 10
     
11 11
     <link rel="stylesheet" href="../_static/style.css" type="text/css" />
12 12
     <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
14 14
     <script type="text/javascript">
15 15
       var DOCUMENTATION_OPTIONS = {
16 16
         URL_ROOT:    '../',
17
-        VERSION:     '0.9.0',
17
+        VERSION:     '0.10.0',
18 18
         COLLAPSE_INDEX: false,
19 19
         FILE_SUFFIX: '.html',
20 20
         HAS_SOURCE:  true
@@ -25,7 +25,7 @@
25 25
     <script type="text/javascript" src="../_static/doctools.js"></script>
26 26
     <link rel="index" title="Index" href="../genindex.html" />
27 27
     <link rel="search" title="Search" href="../search.html" />
28
-    <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
28
+    <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
29 29
     <link rel="next" title="Development Quickstart" href="../dev/quickstart.html" />
30 30
     <link rel="prev" title="Administration API" href="api.html" />
31 31
    

+ 5
- 3
dev/contribution_guide.html Zobrazit soubor

@@ -6,7 +6,7 @@
6 6
   <head>
7 7
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 8
     
9
-    <title>How to contribute &mdash; searx 0.9.0 documentation</title>
9
+    <title>How to contribute &#8212; searx 0.10.0 documentation</title>
10 10
     
11 11
     <link rel="stylesheet" href="../_static/style.css" type="text/css" />
12 12
     <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
14 14
     <script type="text/javascript">
15 15
       var DOCUMENTATION_OPTIONS = {
16 16
         URL_ROOT:    '../',
17
-        VERSION:     '0.9.0',
17
+        VERSION:     '0.10.0',
18 18
         COLLAPSE_INDEX: false,
19 19
         FILE_SUFFIX: '.html',
20 20
         HAS_SOURCE:  true
@@ -23,7 +23,9 @@
23 23
     <script type="text/javascript" src="../_static/jquery.js"></script>
24 24
     <script type="text/javascript" src="../_static/underscore.js"></script>
25 25
     <script type="text/javascript" src="../_static/doctools.js"></script>
26
-    <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
26
+    <link rel="index" title="Index" href="../genindex.html" />
27
+    <link rel="search" title="Search" href="../search.html" />
28
+    <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
27 29
     <link rel="next" title="Engine overview" href="engine_overview.html" />
28 30
     <link rel="prev" title="Development Quickstart" href="quickstart.html" />
29 31
    

+ 16
- 14
dev/engine_overview.html Zobrazit soubor

@@ -6,7 +6,7 @@
6 6
   <head>
7 7
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 8
     
9
-    <title>Engine overview &mdash; searx 0.9.0 documentation</title>
9
+    <title>Engine overview &#8212; searx 0.10.0 documentation</title>
10 10
     
11 11
     <link rel="stylesheet" href="../_static/style.css" type="text/css" />
12 12
     <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
14 14
     <script type="text/javascript">
15 15
       var DOCUMENTATION_OPTIONS = {
16 16
         URL_ROOT:    '../',
17
-        VERSION:     '0.9.0',
17
+        VERSION:     '0.10.0',
18 18
         COLLAPSE_INDEX: false,
19 19
         FILE_SUFFIX: '.html',
20 20
         HAS_SOURCE:  true
@@ -23,7 +23,9 @@
23 23
     <script type="text/javascript" src="../_static/jquery.js"></script>
24 24
     <script type="text/javascript" src="../_static/underscore.js"></script>
25 25
     <script type="text/javascript" src="../_static/doctools.js"></script>
26
-    <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
26
+    <link rel="index" title="Index" href="../genindex.html" />
27
+    <link rel="search" title="Search" href="../search.html" />
28
+    <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
27 29
     <link rel="next" title="Search API" href="search_api.html" />
28 30
     <link rel="prev" title="How to contribute" href="contribution_guide.html" />
29 31
    
@@ -194,10 +196,10 @@ overrides are the following:</p>
194 196
 </div>
195 197
 <div class="section" id="example-code">
196 198
 <h3><a class="toc-backref" href="#id7">example code</a><a class="headerlink" href="#example-code" title="Permalink to this headline">¶</a></h3>
197
-<div class="code python highlight-default"><div class="highlight"><pre><span class="c"># engine dependent config</span>
198
-<span class="n">categories</span> <span class="o">=</span> <span class="p">[</span><span class="s">&#39;general&#39;</span><span class="p">]</span>
199
-<span class="n">paging</span> <span class="o">=</span> <span class="k">True</span>
200
-<span class="n">language_support</span> <span class="o">=</span> <span class="k">True</span>
199
+<div class="code python highlight-default"><div class="highlight"><pre><span></span><span class="c1"># engine dependent config</span>
200
+<span class="n">categories</span> <span class="o">=</span> <span class="p">[</span><span class="s1">&#39;general&#39;</span><span class="p">]</span>
201
+<span class="n">paging</span> <span class="o">=</span> <span class="kc">True</span>
202
+<span class="n">language_support</span> <span class="o">=</span> <span class="kc">True</span>
201 203
 </pre></div>
202 204
 </div>
203 205
 </div>
@@ -317,17 +319,17 @@ used to specify a search request:</p>
317 319
 </div>
318 320
 <div class="section" id="id1">
319 321
 <h3><a class="toc-backref" href="#id11">example code</a><a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h3>
320
-<div class="code python highlight-default"><div class="highlight"><pre><span class="c"># search-url</span>
321
-<span class="n">base_url</span> <span class="o">=</span> <span class="s">&#39;https://example.com/&#39;</span>
322
-<span class="n">search_string</span> <span class="o">=</span> <span class="s">&#39;search?{query}&amp;page={page}&#39;</span>
322
+<div class="code python highlight-default"><div class="highlight"><pre><span></span><span class="c1"># search-url</span>
323
+<span class="n">base_url</span> <span class="o">=</span> <span class="s1">&#39;https://example.com/&#39;</span>
324
+<span class="n">search_string</span> <span class="o">=</span> <span class="s1">&#39;search?</span><span class="si">{query}</span><span class="s1">&amp;page=</span><span class="si">{page}</span><span class="s1">&#39;</span>
323 325
 
324
-<span class="c"># do search-request</span>
326
+<span class="c1"># do search-request</span>
325 327
 <span class="k">def</span> <span class="nf">request</span><span class="p">(</span><span class="n">query</span><span class="p">,</span> <span class="n">params</span><span class="p">):</span>
326 328
     <span class="n">search_path</span> <span class="o">=</span> <span class="n">search_string</span><span class="o">.</span><span class="n">format</span><span class="p">(</span>
327
-        <span class="n">query</span><span class="o">=</span><span class="n">urlencode</span><span class="p">({</span><span class="s">&#39;q&#39;</span><span class="p">:</span> <span class="n">query</span><span class="p">}),</span>
328
-        <span class="n">page</span><span class="o">=</span><span class="n">params</span><span class="p">[</span><span class="s">&#39;pageno&#39;</span><span class="p">])</span>
329
+        <span class="n">query</span><span class="o">=</span><span class="n">urlencode</span><span class="p">({</span><span class="s1">&#39;q&#39;</span><span class="p">:</span> <span class="n">query</span><span class="p">}),</span>
330
+        <span class="n">page</span><span class="o">=</span><span class="n">params</span><span class="p">[</span><span class="s1">&#39;pageno&#39;</span><span class="p">])</span>
329 331
 
330
-    <span class="n">params</span><span class="p">[</span><span class="s">&#39;url&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="n">base_url</span> <span class="o">+</span> <span class="n">search_path</span>
332
+    <span class="n">params</span><span class="p">[</span><span class="s1">&#39;url&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="n">base_url</span> <span class="o">+</span> <span class="n">search_path</span>
331 333
 
332 334
     <span class="k">return</span> <span class="n">params</span>
333 335
 </pre></div>

+ 38
- 36
dev/install/installation.html Zobrazit soubor

@@ -6,7 +6,7 @@
6 6
   <head>
7 7
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 8
     
9
-    <title>Installation &mdash; searx 0.9.0 documentation</title>
9
+    <title>Installation &#8212; searx 0.10.0 documentation</title>
10 10
     
11 11
     <link rel="stylesheet" href="../../_static/style.css" type="text/css" />
12 12
     <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
14 14
     <script type="text/javascript">
15 15
       var DOCUMENTATION_OPTIONS = {
16 16
         URL_ROOT:    '../../',
17
-        VERSION:     '0.9.0',
17
+        VERSION:     '0.10.0',
18 18
         COLLAPSE_INDEX: false,
19 19
         FILE_SUFFIX: '.html',
20 20
         HAS_SOURCE:  true
@@ -23,7 +23,9 @@
23 23
     <script type="text/javascript" src="../../_static/jquery.js"></script>
24 24
     <script type="text/javascript" src="../../_static/underscore.js"></script>
25 25
     <script type="text/javascript" src="../../_static/doctools.js"></script>
26
-    <link rel="top" title="searx 0.9.0 documentation" href="../../index.html" />
26
+    <link rel="index" title="Index" href="../../genindex.html" />
27
+    <link rel="search" title="Search" href="../../search.html" />
28
+    <link rel="top" title="searx 0.10.0 documentation" href="../../index.html" />
27 29
     <link rel="next" title="Administration API" href="../../admin/api.html" />
28 30
     <link rel="prev" title="Search syntax" href="../../user/search_syntax.html" />
29 31
    
@@ -68,18 +70,18 @@ certificate</a></p>
68 70
 <h2><a class="toc-backref" href="#id4">Basic installation</a><a class="headerlink" href="#basic-installation" title="Permalink to this headline">¶</a></h2>
69 71
 <p>For Ubuntu, be sure to have enable universe repository.</p>
70 72
 <p>Install packages:</p>
71
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">git</span> <span class="n">build</span><span class="o">-</span><span class="n">essential</span> <span class="n">libxslt</span><span class="o">-</span><span class="n">dev</span> <span class="n">python</span><span class="o">-</span><span class="n">dev</span> <span class="n">python</span><span class="o">-</span><span class="n">virtualenv</span> <span class="n">python</span><span class="o">-</span><span class="n">pybabel</span> <span class="n">zlib1g</span><span class="o">-</span><span class="n">dev</span> <span class="n">libffi</span><span class="o">-</span><span class="n">dev</span> <span class="n">libssl</span><span class="o">-</span><span class="n">dev</span>
73
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">git</span> <span class="n">build</span><span class="o">-</span><span class="n">essential</span> <span class="n">libxslt</span><span class="o">-</span><span class="n">dev</span> <span class="n">python</span><span class="o">-</span><span class="n">dev</span> <span class="n">python</span><span class="o">-</span><span class="n">virtualenv</span> <span class="n">python</span><span class="o">-</span><span class="n">pybabel</span> <span class="n">zlib1g</span><span class="o">-</span><span class="n">dev</span> <span class="n">libffi</span><span class="o">-</span><span class="n">dev</span> <span class="n">libssl</span><span class="o">-</span><span class="n">dev</span>
72 74
 </pre></div>
73 75
 </div>
74 76
 <p>Install searx:</p>
75
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">cd</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span>
77
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">cd</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span>
76 78
 <span class="n">sudo</span> <span class="n">git</span> <span class="n">clone</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">asciimoo</span><span class="o">/</span><span class="n">searx</span><span class="o">.</span><span class="n">git</span>
77 79
 <span class="n">sudo</span> <span class="n">useradd</span> <span class="n">searx</span> <span class="o">-</span><span class="n">d</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span>
78 80
 <span class="n">sudo</span> <span class="n">chown</span> <span class="n">searx</span><span class="p">:</span><span class="n">searx</span> <span class="o">-</span><span class="n">R</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span>
79 81
 </pre></div>
80 82
 </div>
81 83
 <p>Install dependencies in a virtualenv:</p>
82
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="o">-</span><span class="n">u</span> <span class="n">searx</span> <span class="o">-</span><span class="n">i</span>
84
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="o">-</span><span class="n">u</span> <span class="n">searx</span> <span class="o">-</span><span class="n">i</span>
83 85
 <span class="n">cd</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span>
84 86
 <span class="n">virtualenv</span> <span class="n">searx</span><span class="o">-</span><span class="n">ve</span>
85 87
 <span class="o">.</span> <span class="o">./</span><span class="n">searx</span><span class="o">-</span><span class="n">ve</span><span class="o">/</span><span class="nb">bin</span><span class="o">/</span><span class="n">activate</span>
@@ -89,7 +91,7 @@ certificate</a></p>
89 91
 </div>
90 92
 <div class="section" id="configuration">
91 93
 <h2><a class="toc-backref" href="#id5">Configuration</a><a class="headerlink" href="#configuration" title="Permalink to this headline">¶</a></h2>
92
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sed</span> <span class="o">-</span><span class="n">i</span> <span class="o">-</span><span class="n">e</span> <span class="s">&quot;s/ultrasecretkey/`openssl rand -hex 16`/g&quot;</span> <span class="n">searx</span><span class="o">/</span><span class="n">settings</span><span class="o">.</span><span class="n">yml</span>
94
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sed</span> <span class="o">-</span><span class="n">i</span> <span class="o">-</span><span class="n">e</span> <span class="s2">&quot;s/ultrasecretkey/`openssl rand -hex 16`/g&quot;</span> <span class="n">searx</span><span class="o">/</span><span class="n">settings</span><span class="o">.</span><span class="n">yml</span>
93 95
 </pre></div>
94 96
 </div>
95 97
 <p>Edit searx/settings.yml if necessary.</p>
@@ -97,12 +99,12 @@ certificate</a></p>
97 99
 <div class="section" id="check">
98 100
 <h2><a class="toc-backref" href="#id6">Check</a><a class="headerlink" href="#check" title="Permalink to this headline">¶</a></h2>
99 101
 <p>Start searx:</p>
100
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">python</span> <span class="n">searx</span><span class="o">/</span><span class="n">webapp</span><span class="o">.</span><span class="n">py</span>
102
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">python</span> <span class="n">searx</span><span class="o">/</span><span class="n">webapp</span><span class="o">.</span><span class="n">py</span>
101 103
 </pre></div>
102 104
 </div>
103 105
 <p>Go to <a class="reference external" href="http://localhost:8888">http://localhost:8888</a></p>
104 106
 <p>If everything works fine, disable the debug option in settings.yml:</p>
105
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sed</span> <span class="o">-</span><span class="n">i</span> <span class="o">-</span><span class="n">e</span> <span class="s">&quot;s/debug : True/debug : False/g&quot;</span> <span class="n">searx</span><span class="o">/</span><span class="n">settings</span><span class="o">.</span><span class="n">yml</span>
107
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sed</span> <span class="o">-</span><span class="n">i</span> <span class="o">-</span><span class="n">e</span> <span class="s2">&quot;s/debug : True/debug : False/g&quot;</span> <span class="n">searx</span><span class="o">/</span><span class="n">settings</span><span class="o">.</span><span class="n">yml</span>
106 108
 </pre></div>
107 109
 </div>
108 110
 <p>At this point searx is not demonized ; uwsgi allows this.</p>
@@ -112,41 +114,41 @@ twice).</p>
112 114
 <div class="section" id="uwsgi">
113 115
 <h2><a class="toc-backref" href="#id7">uwsgi</a><a class="headerlink" href="#uwsgi" title="Permalink to this headline">¶</a></h2>
114 116
 <p>Install packages:</p>
115
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">uwsgi</span> <span class="n">uwsgi</span><span class="o">-</span><span class="n">plugin</span><span class="o">-</span><span class="n">python</span>
117
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">uwsgi</span> <span class="n">uwsgi</span><span class="o">-</span><span class="n">plugin</span><span class="o">-</span><span class="n">python</span>
116 118
 </pre></div>
117 119
 </div>
118 120
 <p>Create the configuration file /etc/uwsgi/apps-available/searx.ini with
119 121
 this content:</p>
120
-<div class="highlight-default"><div class="highlight"><pre><span class="p">[</span><span class="n">uwsgi</span><span class="p">]</span>
121
-<span class="c"># Who will run the code</span>
122
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="p">[</span><span class="n">uwsgi</span><span class="p">]</span>
123
+<span class="c1"># Who will run the code</span>
122 124
 <span class="n">uid</span> <span class="o">=</span> <span class="n">searx</span>
123 125
 <span class="n">gid</span> <span class="o">=</span> <span class="n">searx</span>
124 126
 
125
-<span class="c"># disable logging for privacy</span>
127
+<span class="c1"># disable logging for privacy</span>
126 128
 <span class="n">disable</span><span class="o">-</span><span class="n">logging</span> <span class="o">=</span> <span class="n">true</span>
127 129
 
128
-<span class="c"># Number of workers (usually CPU count)</span>
130
+<span class="c1"># Number of workers (usually CPU count)</span>
129 131
 <span class="n">workers</span> <span class="o">=</span> <span class="mi">4</span>
130 132
 
131
-<span class="c"># The right granted on the created socket</span>
133
+<span class="c1"># The right granted on the created socket</span>
132 134
 <span class="n">chmod</span><span class="o">-</span><span class="n">socket</span> <span class="o">=</span> <span class="mi">666</span>
133 135
 
134
-<span class="c"># Plugin to use and interpretor config</span>
136
+<span class="c1"># Plugin to use and interpretor config</span>
135 137
 <span class="n">single</span><span class="o">-</span><span class="n">interpreter</span> <span class="o">=</span> <span class="n">true</span>
136 138
 <span class="n">master</span> <span class="o">=</span> <span class="n">true</span>
137 139
 <span class="n">plugin</span> <span class="o">=</span> <span class="n">python</span>
138 140
 
139
-<span class="c"># Module to import</span>
141
+<span class="c1"># Module to import</span>
140 142
 <span class="n">module</span> <span class="o">=</span> <span class="n">searx</span><span class="o">.</span><span class="n">webapp</span>
141 143
 
142
-<span class="c"># Virtualenv and python path</span>
144
+<span class="c1"># Virtualenv and python path</span>
143 145
 <span class="n">virtualenv</span> <span class="o">=</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span><span class="n">searx</span><span class="o">-</span><span class="n">ve</span><span class="o">/</span>
144 146
 <span class="n">pythonpath</span> <span class="o">=</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span>
145 147
 <span class="n">chdir</span> <span class="o">=</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span>
146 148
 </pre></div>
147 149
 </div>
148 150
 <p>Activate the uwsgi application and restart:</p>
149
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">cd</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">uwsgi</span><span class="o">/</span><span class="n">apps</span><span class="o">-</span><span class="n">enabled</span>
151
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">cd</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">uwsgi</span><span class="o">/</span><span class="n">apps</span><span class="o">-</span><span class="n">enabled</span>
150 152
 <span class="n">ln</span> <span class="o">-</span><span class="n">s</span> <span class="o">../</span><span class="n">apps</span><span class="o">-</span><span class="n">available</span><span class="o">/</span><span class="n">searx</span><span class="o">.</span><span class="n">ini</span>
151 153
 <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">init</span><span class="o">.</span><span class="n">d</span><span class="o">/</span><span class="n">uwsgi</span> <span class="n">restart</span>
152 154
 </pre></div>
@@ -158,14 +160,14 @@ this content:</p>
158 160
 <h3><a class="toc-backref" href="#id9">with nginx</a><a class="headerlink" href="#with-nginx" title="Permalink to this headline">¶</a></h3>
159 161
 <p>If nginx is not installed (uwsgi will not work with the package
160 162
 nginx-light):</p>
161
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">nginx</span>
163
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">nginx</span>
162 164
 </pre></div>
163 165
 </div>
164 166
 <div class="section" id="hosted-at">
165 167
 <h4>Hosted at /<a class="headerlink" href="#hosted-at" title="Permalink to this headline">¶</a></h4>
166 168
 <p>Create the configuration file /etc/nginx/sites-available/searx with this
167 169
 content:</p>
168
-<div class="code nginx highlight-default"><div class="highlight"><pre><span class="n">server</span> <span class="p">{</span>
170
+<div class="code nginx highlight-default"><div class="highlight"><pre><span></span><span class="n">server</span> <span class="p">{</span>
169 171
     <span class="n">listen</span> <span class="mi">80</span><span class="p">;</span>
170 172
     <span class="n">server_name</span> <span class="n">searx</span><span class="o">.</span><span class="n">example</span><span class="o">.</span><span class="n">com</span><span class="p">;</span>
171 173
     <span class="n">root</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span><span class="p">;</span>
@@ -178,7 +180,7 @@ content:</p>
178 180
 </pre></div>
179 181
 </div>
180 182
 <p>Restart service:</p>
181
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">service</span> <span class="n">nginx</span> <span class="n">restart</span>
183
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">service</span> <span class="n">nginx</span> <span class="n">restart</span>
182 184
 <span class="n">sudo</span> <span class="n">service</span> <span class="n">uwsgi</span> <span class="n">restart</span>
183 185
 </pre></div>
184 186
 </div>
@@ -187,7 +189,7 @@ content:</p>
187 189
 <h4>from subdirectory URL (/searx)<a class="headerlink" href="#from-subdirectory-url-searx" title="Permalink to this headline">¶</a></h4>
188 190
 <p>Add this configuration in the server config file
189 191
 /etc/nginx/sites-available/default:</p>
190
-<div class="code nginx highlight-default"><div class="highlight"><pre>location = /searx { rewrite ^ /searx/; }
192
+<div class="code nginx highlight-default"><div class="highlight"><pre><span></span>location = /searx { rewrite ^ /searx/; }
191 193
 location /searx {
192 194
         try_files $uri @searx;
193 195
 }
@@ -202,7 +204,7 @@ location @searx {
202 204
 <p>OR</p>
203 205
 <p>using reverse proxy
204 206
 (Please, note that reverse proxy advised to be used in case of single-user or low-traffic instances.)</p>
205
-<div class="code nginx highlight-default"><div class="highlight"><pre>location /searx {
207
+<div class="code nginx highlight-default"><div class="highlight"><pre><span></span>location /searx {
206 208
     proxy_pass http://127.0.0.1:8888;
207 209
     proxy_set_header Host $host;
208 210
     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -213,11 +215,11 @@ location @searx {
213 215
 </pre></div>
214 216
 </div>
215 217
 <p>Enable base_url in searx/settings.yml</p>
216
-<div class="highlight-default"><div class="highlight"><pre><span class="n">base_url</span> <span class="p">:</span> <span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">your</span><span class="o">.</span><span class="n">domain</span><span class="o">.</span><span class="n">tld</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span>
218
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">base_url</span> <span class="p">:</span> <span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">your</span><span class="o">.</span><span class="n">domain</span><span class="o">.</span><span class="n">tld</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span>
217 219
 </pre></div>
218 220
 </div>
219 221
 <p>Restart service:</p>
220
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">service</span> <span class="n">nginx</span> <span class="n">restart</span>
222
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">service</span> <span class="n">nginx</span> <span class="n">restart</span>
221 223
 <span class="n">sudo</span> <span class="n">service</span> <span class="n">uwsgi</span> <span class="n">restart</span>
222 224
 </pre></div>
223 225
 </div>
@@ -226,12 +228,12 @@ location @searx {
226 228
 <p>for better privacy you can disable nginx logs about searx.</p>
227 229
 <p>how to proceed: below <code class="docutils literal"><span class="pre">uwsgi_pass</span></code> in
228 230
 /etc/nginx/sites-available/default add</p>
229
-<div class="highlight-default"><div class="highlight"><pre><span class="n">access_log</span> <span class="o">/</span><span class="n">dev</span><span class="o">/</span><span class="n">null</span><span class="p">;</span>
231
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">access_log</span> <span class="o">/</span><span class="n">dev</span><span class="o">/</span><span class="n">null</span><span class="p">;</span>
230 232
 <span class="n">error_log</span> <span class="o">/</span><span class="n">dev</span><span class="o">/</span><span class="n">null</span><span class="p">;</span>
231 233
 </pre></div>
232 234
 </div>
233 235
 <p>Restart service:</p>
234
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">service</span> <span class="n">nginx</span> <span class="n">restart</span>
236
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">service</span> <span class="n">nginx</span> <span class="n">restart</span>
235 237
 </pre></div>
236 238
 </div>
237 239
 </div>
@@ -240,12 +242,12 @@ location @searx {
240 242
 <div class="section" id="with-apache">
241 243
 <h3><a class="toc-backref" href="#id10">with apache</a><a class="headerlink" href="#with-apache" title="Permalink to this headline">¶</a></h3>
242 244
 <p>Add wsgi mod:</p>
243
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">libapache2</span><span class="o">-</span><span class="n">mod</span><span class="o">-</span><span class="n">uwsgi</span>
245
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">libapache2</span><span class="o">-</span><span class="n">mod</span><span class="o">-</span><span class="n">uwsgi</span>
244 246
 <span class="n">sudo</span> <span class="n">a2enmod</span> <span class="n">uwsgi</span>
245 247
 </pre></div>
246 248
 </div>
247 249
 <p>Add this configuration in the file /etc/apache2/apache2.conf:</p>
248
-<div class="code apache highlight-default"><div class="highlight"><pre><span class="o">&lt;</span><span class="n">Location</span> <span class="o">/&gt;</span>
250
+<div class="code apache highlight-default"><div class="highlight"><pre><span></span><span class="o">&lt;</span><span class="n">Location</span> <span class="o">/&gt;</span>
249 251
     <span class="n">Options</span> <span class="n">FollowSymLinks</span> <span class="n">Indexes</span>
250 252
     <span class="n">SetHandler</span> <span class="n">uwsgi</span><span class="o">-</span><span class="n">handler</span>
251 253
     <span class="n">uWSGISocket</span> <span class="o">/</span><span class="n">run</span><span class="o">/</span><span class="n">uwsgi</span><span class="o">/</span><span class="n">app</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span><span class="n">socket</span>
@@ -256,7 +258,7 @@ location @searx {
256 258
 change <code class="docutils literal"><span class="pre">&lt;Location</span> <span class="pre">/&gt;</span></code> by the location of your instance, like
257 259
 <code class="docutils literal"><span class="pre">&lt;Location</span> <span class="pre">/searx&gt;</span></code>.</p>
258 260
 <p>Restart Apache:</p>
259
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">init</span><span class="o">.</span><span class="n">d</span><span class="o">/</span><span class="n">apache2</span> <span class="n">restart</span>
261
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">init</span><span class="o">.</span><span class="n">d</span><span class="o">/</span><span class="n">apache2</span> <span class="n">restart</span>
260 262
 </pre></div>
261 263
 </div>
262 264
 <div class="section" id="id2">
@@ -266,11 +268,11 @@ change <code class="docutils literal"><span class="pre">&lt;Location</span> <spa
266 268
 <p>WARNING: you can only disable logs for the whole (virtual) server not
267 269
 for a specific path.</p>
268 270
 <p>Go back to /etc/apache2/apache2.conf and above <code class="docutils literal"><span class="pre">&lt;Location</span> <span class="pre">/&gt;</span></code> add:</p>
269
-<div class="code apache highlight-default"><div class="highlight"><pre><span class="n">CustomLog</span> <span class="o">/</span><span class="n">dev</span><span class="o">/</span><span class="n">null</span> <span class="n">combined</span>
271
+<div class="code apache highlight-default"><div class="highlight"><pre><span></span><span class="n">CustomLog</span> <span class="o">/</span><span class="n">dev</span><span class="o">/</span><span class="n">null</span> <span class="n">combined</span>
270 272
 </pre></div>
271 273
 </div>
272 274
 <p>Restart Apache:</p>
273
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">init</span><span class="o">.</span><span class="n">d</span><span class="o">/</span><span class="n">apache2</span> <span class="n">restart</span>
275
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">init</span><span class="o">.</span><span class="n">d</span><span class="o">/</span><span class="n">apache2</span> <span class="n">restart</span>
274 276
 </pre></div>
275 277
 </div>
276 278
 </div>
@@ -278,7 +280,7 @@ for a specific path.</p>
278 280
 </div>
279 281
 <div class="section" id="how-to-update">
280 282
 <h2><a class="toc-backref" href="#id11">How to update</a><a class="headerlink" href="#how-to-update" title="Permalink to this headline">¶</a></h2>
281
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">cd</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span>
283
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">cd</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span>
282 284
 <span class="n">sudo</span> <span class="o">-</span><span class="n">u</span> <span class="n">searx</span> <span class="o">-</span><span class="n">i</span>
283 285
 <span class="o">.</span> <span class="o">./</span><span class="n">searx</span><span class="o">-</span><span class="n">ve</span><span class="o">/</span><span class="nb">bin</span><span class="o">/</span><span class="n">activate</span>
284 286
 <span class="n">git</span> <span class="n">stash</span>
@@ -292,14 +294,14 @@ for a specific path.</p>
292 294
 <div class="section" id="docker">
293 295
 <h2><a class="toc-backref" href="#id12">Docker</a><a class="headerlink" href="#docker" title="Permalink to this headline">¶</a></h2>
294 296
 <p>Make sure you have installed Docker. For instance, you can deploy searx like this:</p>
295
-<div class="code sh highlight-default"><div class="highlight"><pre>docker pull wonderfall/searx
297
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span>docker pull wonderfall/searx
296 298
 docker run -d --name searx -p $PORT:8888 wonderfall/searx
297 299
 </pre></div>
298 300
 </div>
299 301
 <p>Go to <a class="reference external" href="http://localhost:$PORT">http://localhost:$PORT</a>.</p>
300 302
 <p>See <a class="reference external" href="https://hub.docker.com/r/wonderfall/searx/">https://hub.docker.com/r/wonderfall/searx/</a> for more informations.</p>
301 303
 <p>It&#8217;s also possible to build searx from the embedded Dockerfile.</p>
302
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">git</span> <span class="n">clone</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">asciimoo</span><span class="o">/</span><span class="n">searx</span><span class="o">.</span><span class="n">git</span>
304
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">git</span> <span class="n">clone</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">asciimoo</span><span class="o">/</span><span class="n">searx</span><span class="o">.</span><span class="n">git</span>
303 305
 <span class="n">cd</span> <span class="n">searx</span>
304 306
 <span class="n">docker</span> <span class="n">build</span> <span class="o">-</span><span class="n">t</span> <span class="n">whatever</span><span class="o">/</span><span class="n">searx</span> <span class="o">.</span>
305 307
 </pre></div>

+ 15
- 13
dev/plugins.html Zobrazit soubor

@@ -6,7 +6,7 @@
6 6
   <head>
7 7
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 8
     
9
-    <title>Plugins &mdash; searx 0.9.0 documentation</title>
9
+    <title>Plugins &#8212; searx 0.10.0 documentation</title>
10 10
     
11 11
     <link rel="stylesheet" href="../_static/style.css" type="text/css" />
12 12
     <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
14 14
     <script type="text/javascript">
15 15
       var DOCUMENTATION_OPTIONS = {
16 16
         URL_ROOT:    '../',
17
-        VERSION:     '0.9.0',
17
+        VERSION:     '0.10.0',
18 18
         COLLAPSE_INDEX: false,
19 19
         FILE_SUFFIX: '.html',
20 20
         HAS_SOURCE:  true
@@ -23,7 +23,9 @@
23 23
     <script type="text/javascript" src="../_static/jquery.js"></script>
24 24
     <script type="text/javascript" src="../_static/underscore.js"></script>
25 25
     <script type="text/javascript" src="../_static/doctools.js"></script>
26
-    <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
26
+    <link rel="index" title="Index" href="../genindex.html" />
27
+    <link rel="search" title="Search" href="../search.html" />
28
+    <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
27 29
     <link rel="next" title="Translation" href="translation.html" />
28 30
     <link rel="prev" title="Search API" href="search_api.html" />
29 31
    
@@ -45,20 +47,20 @@
45 47
 searx.</p>
46 48
 <div class="section" id="example-plugin">
47 49
 <h2>Example plugin<a class="headerlink" href="#example-plugin" title="Permalink to this headline">¶</a></h2>
48
-<div class="code python highlight-default"><div class="highlight"><pre><span class="n">name</span> <span class="o">=</span> <span class="s">&#39;Example plugin&#39;</span>
49
-<span class="n">description</span> <span class="o">=</span> <span class="s">&#39;This plugin extends the suggestions with the word &quot;example&quot;&#39;</span>
50
-<span class="n">default_on</span> <span class="o">=</span> <span class="k">False</span>  <span class="c"># disable by default</span>
50
+<div class="code python highlight-default"><div class="highlight"><pre><span></span><span class="n">name</span> <span class="o">=</span> <span class="s1">&#39;Example plugin&#39;</span>
51
+<span class="n">description</span> <span class="o">=</span> <span class="s1">&#39;This plugin extends the suggestions with the word &quot;example&quot;&#39;</span>
52
+<span class="n">default_on</span> <span class="o">=</span> <span class="kc">False</span>  <span class="c1"># disabled by default</span>
51 53
 
52
-<span class="n">js_dependencies</span> <span class="o">=</span> <span class="nb">tuple</span><span class="p">()</span>  <span class="c"># optional, list of static js files</span>
53
-<span class="n">css_dependencies</span> <span class="o">=</span> <span class="nb">tuple</span><span class="p">()</span>  <span class="c"># optional, list of static css files</span>
54
+<span class="n">js_dependencies</span> <span class="o">=</span> <span class="nb">tuple</span><span class="p">()</span>  <span class="c1"># optional, list of static js files</span>
55
+<span class="n">css_dependencies</span> <span class="o">=</span> <span class="nb">tuple</span><span class="p">()</span>  <span class="c1"># optional, list of static css files</span>
54 56
 
55 57
 
56
-<span class="c"># attach callback to the post search hook</span>
57
-<span class="c">#  request: flask request object</span>
58
-<span class="c">#  ctx: the whole local context of the post search hook</span>
58
+<span class="c1"># attach callback to the post search hook</span>
59
+<span class="c1">#  request: flask request object</span>
60
+<span class="c1">#  ctx: the whole local context of the post search hook</span>
59 61
 <span class="k">def</span> <span class="nf">post_search</span><span class="p">(</span><span class="n">request</span><span class="p">,</span> <span class="n">ctx</span><span class="p">):</span>
60
-    <span class="n">ctx</span><span class="p">[</span><span class="s">&#39;search&#39;</span><span class="p">]</span><span class="o">.</span><span class="n">suggestions</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s">&#39;example&#39;</span><span class="p">)</span>
61
-    <span class="k">return</span> <span class="k">True</span>
62
+    <span class="n">ctx</span><span class="p">[</span><span class="s1">&#39;search&#39;</span><span class="p">]</span><span class="o">.</span><span class="n">suggestions</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s1">&#39;example&#39;</span><span class="p">)</span>
63
+    <span class="k">return</span> <span class="kc">True</span>
62 64
 </pre></div>
63 65
 </div>
64 66
 </div>

+ 13
- 11
dev/quickstart.html Zobrazit soubor

@@ -6,7 +6,7 @@
6 6
   <head>
7 7
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 8
     
9
-    <title>Development Quickstart &mdash; searx 0.9.0 documentation</title>
9
+    <title>Development Quickstart &#8212; searx 0.10.0 documentation</title>
10 10
     
11 11
     <link rel="stylesheet" href="../_static/style.css" type="text/css" />
12 12
     <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
14 14
     <script type="text/javascript">
15 15
       var DOCUMENTATION_OPTIONS = {
16 16
         URL_ROOT:    '../',
17
-        VERSION:     '0.9.0',
17
+        VERSION:     '0.10.0',
18 18
         COLLAPSE_INDEX: false,
19 19
         FILE_SUFFIX: '.html',
20 20
         HAS_SOURCE:  true
@@ -23,9 +23,11 @@
23 23
     <script type="text/javascript" src="../_static/jquery.js"></script>
24 24
     <script type="text/javascript" src="../_static/underscore.js"></script>
25 25
     <script type="text/javascript" src="../_static/doctools.js"></script>
26
-    <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
26
+    <link rel="index" title="Index" href="../genindex.html" />
27
+    <link rel="search" title="Search" href="../search.html" />
28
+    <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
27 29
     <link rel="next" title="How to contribute" href="contribution_guide.html" />
28
-    <link rel="prev" title="Administration API" href="../admin/api.html" />
30
+    <link rel="prev" title="How to protect an instance" href="../admin/filtron.html" />
29 31
    
30 32
   
31 33
   <link media="only screen and (max-device-width: 480px)" href="../_static/small_flask.css" type= "text/css" rel="stylesheet" />
@@ -48,7 +50,7 @@ short introduction to the new manage.sh script.</p>
48 50
 <p>First, clone the source code of searx to the desired folder. In this case the source
49 51
 is cloned to ~/myprojects/searx. Then create and activate the searx-ve
50 52
 virtualenv and install the required packages using manage.sh.</p>
51
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">cd</span> <span class="o">~/</span><span class="n">myprojects</span>
53
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">cd</span> <span class="o">~/</span><span class="n">myprojects</span>
52 54
 <span class="n">git</span> <span class="n">clone</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">asciimoo</span><span class="o">/</span><span class="n">searx</span><span class="o">.</span><span class="n">git</span>
53 55
 <span class="n">cd</span> <span class="n">searx</span>
54 56
 <span class="n">virtualenv</span> <span class="n">searx</span><span class="o">-</span><span class="n">ve</span>
@@ -68,7 +70,7 @@ virtualenv and install the required packages using manage.sh.</p>
68 70
 <li>Unit test coverage check</li>
69 71
 </ul>
70 72
 <p>For example unit tests are run with the command below:</p>
71
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="o">./</span><span class="n">manage</span><span class="o">.</span><span class="n">sh</span> <span class="n">unit_tests</span>
73
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="o">./</span><span class="n">manage</span><span class="o">.</span><span class="n">sh</span> <span class="n">unit_tests</span>
72 74
 </pre></div>
73 75
 </div>
74 76
 <p>For further test options, please consult the help of the manage.sh script.</p>
@@ -78,16 +80,16 @@ virtualenv and install the required packages using manage.sh.</p>
78 80
 <div class="section" id="how-to-build-styles">
79 81
 <h3>How to build styles<a class="headerlink" href="#how-to-build-styles" title="Permalink to this headline">¶</a></h3>
80 82
 <p>Less is required to build the styles of searx. Less can be installed using either NodeJS or Apt.</p>
81
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">nodejs</span>
83
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">nodejs</span>
82 84
 <span class="n">sudo</span> <span class="n">npm</span> <span class="n">install</span> <span class="o">-</span><span class="n">g</span> <span class="n">less</span>
83 85
 </pre></div>
84 86
 </div>
85 87
 <p>OR</p>
86
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">node</span><span class="o">-</span><span class="n">less</span>
88
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">node</span><span class="o">-</span><span class="n">less</span>
87 89
 </pre></div>
88 90
 </div>
89 91
 <p>After satisfying the requirements styles can be build using manage.sh</p>
90
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="o">./</span><span class="n">manage</span><span class="o">.</span><span class="n">sh</span> <span class="n">styles</span>
92
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="o">./</span><span class="n">manage</span><span class="o">.</span><span class="n">sh</span> <span class="n">styles</span>
91 93
 </pre></div>
92 94
 </div>
93 95
 </div>
@@ -95,12 +97,12 @@ virtualenv and install the required packages using manage.sh.</p>
95 97
 <h3>How to build the source of the oscar theme<a class="headerlink" href="#how-to-build-the-source-of-the-oscar-theme" title="Permalink to this headline">¶</a></h3>
96 98
 <p>Grunt must be installed in order to build the javascript sources. It depends on NodeJS, so first
97 99
 Node has to be installed.</p>
98
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">nodejs</span>
100
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">nodejs</span>
99 101
 <span class="n">sudo</span> <span class="n">npm</span> <span class="n">install</span> <span class="o">-</span><span class="n">g</span> <span class="n">grunt</span><span class="o">-</span><span class="n">cli</span>
100 102
 </pre></div>
101 103
 </div>
102 104
 <p>After installing grunt, the files can be built using the following command:</p>
103
-<div class="code sh highlight-default"><div class="highlight"><pre><span class="o">./</span><span class="n">manage</span><span class="o">.</span><span class="n">sh</span> <span class="n">build_grunt</span>
105
+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="o">./</span><span class="n">manage</span><span class="o">.</span><span class="n">sh</span> <span class="n">build_grunt</span>
104 106
 </pre></div>
105 107
 </div>
106 108
 </div>

+ 5
- 3
dev/search_api.html Zobrazit soubor

@@ -6,7 +6,7 @@
6 6
   <head>
7 7
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 8
     
9
-    <title>Search API &mdash; searx 0.9.0 documentation</title>
9
+    <title>Search API &#8212; searx 0.10.0 documentation</title>
10 10
     
11 11
     <link rel="stylesheet" href="../_static/style.css" type="text/css" />
12 12
     <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
14 14
     <script type="text/javascript">
15 15
       var DOCUMENTATION_OPTIONS = {
16 16
         URL_ROOT:    '../',
17
-        VERSION:     '0.9.0',
17
+        VERSION:     '0.10.0',
18 18
         COLLAPSE_INDEX: false,
19 19
         FILE_SUFFIX: '.html',
20 20
         HAS_SOURCE:  true
@@ -23,7 +23,9 @@
23 23
     <script type="text/javascript" src="../_static/jquery.js"></script>
24 24
     <script type="text/javascript" src="../_static/underscore.js"></script>
25 25
     <script type="text/javascript" src="../_static/doctools.js"></script>
26
-    <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
26
+    <link rel="index" title="Index" href="../genindex.html" />
27
+    <link rel="search" title="Search" href="../search.html" />
28
+    <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
27 29
     <link rel="next" title="Plugins" href="plugins.html" />
28 30
     <link rel="prev" title="Engine overview" href="engine_overview.html" />
29 31
    

+ 14
- 12
dev/translation.html Zobrazit soubor

@@ -6,7 +6,7 @@
6 6
   <head>
7 7
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 8
     
9
-    <title>Translation &mdash; searx 0.9.0 documentation</title>
9
+    <title>Translation &#8212; searx 0.10.0 documentation</title>
10 10
     
11 11
     <link rel="stylesheet" href="../_static/style.css" type="text/css" />
12 12
     <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
14 14
     <script type="text/javascript">
15 15
       var DOCUMENTATION_OPTIONS = {
16 16
         URL_ROOT:    '../',
17
-        VERSION:     '0.9.0',
17
+        VERSION:     '0.10.0',
18 18
         COLLAPSE_INDEX: false,
19 19
         FILE_SUFFIX: '.html',
20 20
         HAS_SOURCE:  true
@@ -23,7 +23,9 @@
23 23
     <script type="text/javascript" src="../_static/jquery.js"></script>
24 24
     <script type="text/javascript" src="../_static/underscore.js"></script>
25 25
     <script type="text/javascript" src="../_static/doctools.js"></script>
26
-    <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
26
+    <link rel="index" title="Index" href="../genindex.html" />
27
+    <link rel="search" title="Search" href="../search.html" />
28
+    <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
27 29
     <link rel="prev" title="Plugins" href="plugins.html" />
28 30
    
29 31
   
@@ -43,13 +45,13 @@
43 45
 <p>run these commands in the root directory of searx</p>
44 46
 <div class="section" id="add-new-language">
45 47
 <h2>Add new language<a class="headerlink" href="#add-new-language" title="Permalink to this headline">¶</a></h2>
46
-<div class="code shell highlight-default"><div class="highlight"><pre><span class="n">pybabel</span> <span class="n">init</span> <span class="o">-</span><span class="n">i</span> <span class="n">messages</span><span class="o">.</span><span class="n">pot</span> <span class="o">-</span><span class="n">d</span> <span class="n">searx</span><span class="o">/</span><span class="n">translations</span> <span class="o">-</span><span class="n">l</span> <span class="n">it</span>
48
+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">pybabel</span> <span class="n">init</span> <span class="o">-</span><span class="n">i</span> <span class="n">messages</span><span class="o">.</span><span class="n">pot</span> <span class="o">-</span><span class="n">d</span> <span class="n">searx</span><span class="o">/</span><span class="n">translations</span> <span class="o">-</span><span class="n">l</span> <span class="n">it</span>
47 49
 </pre></div>
48 50
 </div>
49 51
 </div>
50 52
 <div class="section" id="update-po-files">
51 53
 <h2>Update .po files<a class="headerlink" href="#update-po-files" title="Permalink to this headline">¶</a></h2>
52
-<div class="code shell highlight-default"><div class="highlight"><pre><span class="o">./</span><span class="n">utils</span><span class="o">/</span><span class="n">update</span><span class="o">-</span><span class="n">translations</span><span class="o">.</span><span class="n">sh</span>
54
+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="o">./</span><span class="n">utils</span><span class="o">/</span><span class="n">update</span><span class="o">-</span><span class="n">translations</span><span class="o">.</span><span class="n">sh</span>
53 55
 </pre></div>
54 56
 </div>
55 57
 <p>You may have errors here. In that case, edit the
@@ -59,7 +61,7 @@
59 61
 </div>
60 62
 <div class="section" id="compile-translations">
61 63
 <h2>Compile translations<a class="headerlink" href="#compile-translations" title="Permalink to this headline">¶</a></h2>
62
-<div class="code shell highlight-default"><div class="highlight"><pre><span class="n">pybabel</span> <span class="nb">compile</span> <span class="o">-</span><span class="n">d</span> <span class="n">searx</span><span class="o">/</span><span class="n">translations</span>
64
+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">pybabel</span> <span class="nb">compile</span> <span class="o">-</span><span class="n">d</span> <span class="n">searx</span><span class="o">/</span><span class="n">translations</span>
63 65
 </pre></div>
64 66
 </div>
65 67
 </div>
@@ -67,9 +69,9 @@
67 69
 <h2>Transifex stuff<a class="headerlink" href="#transifex-stuff" title="Permalink to this headline">¶</a></h2>
68 70
 <div class="section" id="init-project">
69 71
 <h3>Init Project<a class="headerlink" href="#init-project" title="Permalink to this headline">¶</a></h3>
70
-<div class="code shell highlight-default"><div class="highlight"><pre><span class="n">tx</span> <span class="n">init</span> <span class="c"># Transifex instance: https://www.transifex.com/asciimoo/searx/</span>
72
+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">tx</span> <span class="n">init</span> <span class="c1"># Transifex instance: https://www.transifex.com/asciimoo/searx/</span>
71 73
 
72
-<span class="n">tx</span> <span class="nb">set</span> <span class="o">--</span><span class="n">auto</span><span class="o">-</span><span class="n">local</span> <span class="o">-</span><span class="n">r</span> <span class="n">searx</span><span class="o">.</span><span class="n">messagespo</span> <span class="s">&#39;searx/translations/&lt;lang&gt;/LC_MESSAGES/messages.po&#39;</span> \
74
+<span class="n">tx</span> <span class="nb">set</span> <span class="o">--</span><span class="n">auto</span><span class="o">-</span><span class="n">local</span> <span class="o">-</span><span class="n">r</span> <span class="n">searx</span><span class="o">.</span><span class="n">messagespo</span> <span class="s1">&#39;searx/translations/&lt;lang&gt;/LC_MESSAGES/messages.po&#39;</span> \
73 75
 <span class="o">--</span><span class="n">source</span><span class="o">-</span><span class="n">lang</span> <span class="n">en</span> <span class="o">--</span><span class="nb">type</span> <span class="n">PO</span> <span class="o">--</span><span class="n">source</span><span class="o">-</span><span class="n">file</span> <span class="n">messages</span><span class="o">.</span><span class="n">pot</span> <span class="o">--</span><span class="n">execute</span>
74 76
 </pre></div>
75 77
 </div>
@@ -78,27 +80,27 @@
78 80
 </div>
79 81
 <div class="section" id="get-translations">
80 82
 <h3>Get translations<a class="headerlink" href="#get-translations" title="Permalink to this headline">¶</a></h3>
81
-<div class="code shell highlight-default"><div class="highlight"><pre><span class="n">tx</span> <span class="n">pull</span> <span class="o">-</span><span class="n">a</span>
83
+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">tx</span> <span class="n">pull</span> <span class="o">-</span><span class="n">a</span>
82 84
 </pre></div>
83 85
 </div>
84 86
 <p><a class="reference external" href="http://docs.transifex.com/client/pull">http://docs.transifex.com/client/pull</a></p>
85 87
 </div>
86 88
 <div class="section" id="upload-source-file">
87 89
 <h3>Upload source File<a class="headerlink" href="#upload-source-file" title="Permalink to this headline">¶</a></h3>
88
-<div class="code shell highlight-default"><div class="highlight"><pre><span class="n">tx</span> <span class="n">push</span> <span class="o">-</span><span class="n">s</span>
90
+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">tx</span> <span class="n">push</span> <span class="o">-</span><span class="n">s</span>
89 91
 </pre></div>
90 92
 </div>
91 93
 </div>
92 94
 <div class="section" id="upload-all-translation">
93 95
 <h3>Upload all Translation<a class="headerlink" href="#upload-all-translation" title="Permalink to this headline">¶</a></h3>
94
-<div class="code shell highlight-default"><div class="highlight"><pre><span class="n">tx</span> <span class="n">push</span> <span class="o">-</span><span class="n">s</span> <span class="o">-</span><span class="n">t</span>
96
+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">tx</span> <span class="n">push</span> <span class="o">-</span><span class="n">s</span> <span class="o">-</span><span class="n">t</span>
95 97
 </pre></div>
96 98
 </div>
97 99
 </div>
98 100
 </div>
99 101
 <div class="section" id="upload-specifc-translation">
100 102
 <h2>upload specifc Translation<a class="headerlink" href="#upload-specifc-translation" title="Permalink to this headline">¶</a></h2>
101
-<div class="code shell highlight-default"><div class="highlight"><pre><span class="n">tx</span> <span class="n">push</span> <span class="o">-</span><span class="n">t</span> <span class="o">-</span><span class="n">l</span> <span class="n">tr</span>
103
+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">tx</span> <span class="n">push</span> <span class="o">-</span><span class="n">t</span> <span class="o">-</span><span class="n">l</span> <span class="n">tr</span>
102 104
 </pre></div>
103 105
 </div>
104 106
 <p><a class="reference external" href="http://docs.transifex.com/client/push">http://docs.transifex.com/client/push</a></p>

+ 5
- 3
genindex.html Zobrazit soubor

@@ -7,7 +7,7 @@
7 7
   <head>
8 8
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9 9
     
10
-    <title>Index &mdash; searx 0.9.0 documentation</title>
10
+    <title>Index &#8212; searx 0.10.0 documentation</title>
11 11
     
12 12
     <link rel="stylesheet" href="_static/style.css" type="text/css" />
13 13
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15 15
     <script type="text/javascript">
16 16
       var DOCUMENTATION_OPTIONS = {
17 17
         URL_ROOT:    './',
18
-        VERSION:     '0.9.0',
18
+        VERSION:     '0.10.0',
19 19
         COLLAPSE_INDEX: false,
20 20
         FILE_SUFFIX: '.html',
21 21
         HAS_SOURCE:  true
@@ -24,7 +24,9 @@
24 24
     <script type="text/javascript" src="_static/jquery.js"></script>
25 25
     <script type="text/javascript" src="_static/underscore.js"></script>
26 26
     <script type="text/javascript" src="_static/doctools.js"></script>
27
-    <link rel="top" title="searx 0.9.0 documentation" href="index.html" />
27
+    <link rel="index" title="Index" href="#" />
28
+    <link rel="search" title="Search" href="search.html" />
29
+    <link rel="top" title="searx 0.10.0 documentation" href="index.html" />
28 30
    
29 31
   
30 32
   <link media="only screen and (max-device-width: 480px)" href="_static/small_flask.css" type= "text/css" rel="stylesheet" />

+ 6
- 3
index.html Zobrazit soubor

@@ -6,7 +6,7 @@
6 6
   <head>
7 7
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 8
     
9
-    <title>Welcome to searx &mdash; searx 0.9.0 documentation</title>
9
+    <title>Welcome to searx &#8212; searx 0.10.0 documentation</title>
10 10
     
11 11
     <link rel="stylesheet" href="_static/style.css" type="text/css" />
12 12
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
14 14
     <script type="text/javascript">
15 15
       var DOCUMENTATION_OPTIONS = {
16 16
         URL_ROOT:    './',
17
-        VERSION:     '0.9.0',
17
+        VERSION:     '0.10.0',
18 18
         COLLAPSE_INDEX: false,
19 19
         FILE_SUFFIX: '.html',
20 20
         HAS_SOURCE:  true
@@ -23,7 +23,9 @@
23 23
     <script type="text/javascript" src="_static/jquery.js"></script>
24 24
     <script type="text/javascript" src="_static/underscore.js"></script>
25 25
     <script type="text/javascript" src="_static/doctools.js"></script>
26
-    <link rel="top" title="searx 0.9.0 documentation" href="#" />
26
+    <link rel="index" title="Index" href="genindex.html" />
27
+    <link rel="search" title="Search" href="search.html" />
28
+    <link rel="top" title="searx 0.10.0 documentation" href="#" />
27 29
     <link rel="next" title="Search syntax" href="user/search_syntax.html" />
28 30
    
29 31
   
@@ -72,6 +74,7 @@
72 74
 <ul>
73 75
 <li class="toctree-l1"><a class="reference internal" href="dev/install/installation.html">Installation</a></li>
74 76
 <li class="toctree-l1"><a class="reference internal" href="admin/api.html">Administration API</a></li>
77
+<li class="toctree-l1"><a class="reference internal" href="admin/api.html#embed-search-bar">Embed search bar</a></li>
75 78
 <li class="toctree-l1"><a class="reference internal" href="admin/filtron.html">How to protect an instance</a></li>
76 79
 </ul>
77 80
 </div>

binární
objects.inv Zobrazit soubor


+ 5
- 3
search.html Zobrazit soubor

@@ -6,7 +6,7 @@
6 6
   <head>
7 7
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 8
     
9
-    <title>Search &mdash; searx 0.9.0 documentation</title>
9
+    <title>Search &#8212; searx 0.10.0 documentation</title>
10 10
     
11 11
     <link rel="stylesheet" href="_static/style.css" type="text/css" />
12 12
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
14 14
     <script type="text/javascript">
15 15
       var DOCUMENTATION_OPTIONS = {
16 16
         URL_ROOT:    './',
17
-        VERSION:     '0.9.0',
17
+        VERSION:     '0.10.0',
18 18
         COLLAPSE_INDEX: false,
19 19
         FILE_SUFFIX: '.html',
20 20
         HAS_SOURCE:  true
@@ -24,7 +24,9 @@
24 24
     <script type="text/javascript" src="_static/underscore.js"></script>
25 25
     <script type="text/javascript" src="_static/doctools.js"></script>
26 26
     <script type="text/javascript" src="_static/searchtools.js"></script>
27
-    <link rel="top" title="searx 0.9.0 documentation" href="index.html" />
27
+    <link rel="index" title="Index" href="genindex.html" />
28
+    <link rel="search" title="Search" href="#" />
29
+    <link rel="top" title="searx 0.10.0 documentation" href="index.html" />
28 30
   <script type="text/javascript">
29 31
     jQuery(function() { Search.loadIndex("searchindex.js"); });
30 32
   </script>

+ 1
- 1
searchindex.js
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 5
- 3
user/search_syntax.html Zobrazit soubor

@@ -6,7 +6,7 @@
6 6
   <head>
7 7
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 8
     
9
-    <title>Search syntax &mdash; searx 0.9.0 documentation</title>
9
+    <title>Search syntax &#8212; searx 0.10.0 documentation</title>
10 10
     
11 11
     <link rel="stylesheet" href="../_static/style.css" type="text/css" />
12 12
     <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
14 14
     <script type="text/javascript">
15 15
       var DOCUMENTATION_OPTIONS = {
16 16
         URL_ROOT:    '../',
17
-        VERSION:     '0.9.0',
17
+        VERSION:     '0.10.0',
18 18
         COLLAPSE_INDEX: false,
19 19
         FILE_SUFFIX: '.html',
20 20
         HAS_SOURCE:  true
@@ -23,7 +23,9 @@
23 23
     <script type="text/javascript" src="../_static/jquery.js"></script>
24 24
     <script type="text/javascript" src="../_static/underscore.js"></script>
25 25
     <script type="text/javascript" src="../_static/doctools.js"></script>
26
-    <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
26
+    <link rel="index" title="Index" href="../genindex.html" />
27
+    <link rel="search" title="Search" href="../search.html" />
28
+    <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
27 29
     <link rel="next" title="Installation" href="../dev/install/installation.html" />
28 30
     <link rel="prev" title="Welcome to searx" href="../index.html" />
29 31