Explorar el Código

generated files of parent

Noemi Vanyi hace 8 años
padre
commit
c3b770be0c
Se han modificado 12 ficheros con 73 adiciones y 46 borrados
  1. 10
    5
      _static/basic.css
  2. 26
    2
      _static/doctools.js
  3. 0
    2
      _static/pygments.css
  4. 3
    3
      _static/searchtools.js
  5. 2
    2
      _static/websupport.js
  6. 14
    14
      dev/plugins.html
  7. 5
    5
      dev/search_api.html
  8. 4
    4
      genindex.html
  9. 4
    4
      index.html
  10. BIN
      objects.inv
  11. 4
    4
      search.html
  12. 1
    1
      searchindex.js

+ 10
- 5
_static/basic.css Ver fichero

@@ -4,7 +4,7 @@
4 4
  *
5 5
  * Sphinx stylesheet -- basic theme.
6 6
  *
7
- * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
7
+ * :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS.
8 8
  * :license: BSD, see LICENSE for details.
9 9
  *
10 10
  */
@@ -52,6 +52,8 @@ div.sphinxsidebar {
52 52
     width: 230px;
53 53
     margin-left: -100%;
54 54
     font-size: 90%;
55
+    word-wrap: break-word;
56
+    overflow-wrap : break-word;
55 57
 }
56 58
 
57 59
 div.sphinxsidebar ul {
@@ -83,10 +85,6 @@ div.sphinxsidebar #searchbox input[type="text"] {
83 85
     width: 170px;
84 86
 }
85 87
 
86
-div.sphinxsidebar #searchbox input[type="submit"] {
87
-    width: 30px;
88
-}
89
-
90 88
 img {
91 89
     border: 0;
92 90
     max-width: 100%;
@@ -187,6 +185,13 @@ div.genindex-jumpbox {
187 185
 
188 186
 /* -- general body styles --------------------------------------------------- */
189 187
 
188
+div.body p, div.body dd, div.body li, div.body blockquote {
189
+    -moz-hyphens: auto;
190
+    -ms-hyphens: auto;
191
+    -webkit-hyphens: auto;
192
+    hyphens: auto;
193
+}
194
+
190 195
 a.headerlink {
191 196
     visibility: hidden;
192 197
 }

+ 26
- 2
_static/doctools.js Ver fichero

@@ -4,7 +4,7 @@
4 4
  *
5 5
  * Sphinx JavaScript utilities for all documentation.
6 6
  *
7
- * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
7
+ * :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS.
8 8
  * :license: BSD, see LICENSE for details.
9 9
  *
10 10
  */
@@ -124,6 +124,7 @@ var Documentation = {
124 124
     this.fixFirefoxAnchorBug();
125 125
     this.highlightSearchWords();
126 126
     this.initIndexTable();
127
+    
127 128
   },
128 129
 
129 130
   /**
@@ -252,6 +253,29 @@ var Documentation = {
252 253
     });
253 254
     var url = parts.join('/');
254 255
     return path.substring(url.lastIndexOf('/') + 1, path.length - 1);
256
+  },
257
+
258
+  initOnKeyListeners: function() {
259
+    $(document).keyup(function(event) {
260
+      var activeElementType = document.activeElement.tagName;
261
+      // don't navigate when in search box or textarea
262
+      if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT') {
263
+        switch (event.keyCode) {
264
+          case 37: // left
265
+            var prevHref = $('link[rel="prev"]').prop('href');
266
+            if (prevHref) {
267
+              window.location.href = prevHref;
268
+              return false;
269
+            }
270
+          case 39: // right
271
+            var nextHref = $('link[rel="next"]').prop('href');
272
+            if (nextHref) {
273
+              window.location.href = nextHref;
274
+              return false;
275
+            }
276
+        }
277
+      }
278
+    });
255 279
   }
256 280
 };
257 281
 
@@ -260,4 +284,4 @@ _ = Documentation.gettext;
260 284
 
261 285
 $(document).ready(function() {
262 286
   Documentation.init();
263
-});
287
+});

+ 0
- 2
_static/pygments.css Ver fichero

@@ -4,10 +4,8 @@
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 */
8 7
 .highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */
9 8
 .highlight .cp { color: #007020 } /* Comment.Preproc */
10
-.highlight .cpf { color: #408090; font-style: italic } /* Comment.PreprocFile */
11 9
 .highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */
12 10
 .highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */
13 11
 .highlight .gd { color: #A00000 } /* Generic.Deleted */

+ 3
- 3
_static/searchtools.js Ver fichero

@@ -2,9 +2,9 @@
2 2
  * searchtools.js_t
3 3
  * ~~~~~~~~~~~~~~~~
4 4
  *
5
- * Sphinx JavaScript utilties for the full-text search.
5
+ * Sphinx JavaScript utilities for the full-text search.
6 6
  *
7
- * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
7
+ * :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS.
8 8
  * :license: BSD, see LICENSE for details.
9 9
  *
10 10
  */
@@ -623,7 +623,7 @@ var Search = {
623 623
    * helper function to return a node containing the
624 624
    * search summary for a given text. keywords is a list
625 625
    * of stemmed words, hlwords is the list of normal, unstemmed
626
-   * words. the first one is used to find the occurance, the
626
+   * words. the first one is used to find the occurrence, the
627 627
    * latter for highlighting it.
628 628
    */
629 629
   makeSearchSummary : function(text, keywords, hlwords) {

+ 2
- 2
_static/websupport.js Ver fichero

@@ -2,9 +2,9 @@
2 2
  * websupport.js
3 3
  * ~~~~~~~~~~~~~
4 4
  *
5
- * sphinx.websupport utilties for all documentation.
5
+ * sphinx.websupport utilities for all documentation.
6 6
  *
7
- * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
7
+ * :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS.
8 8
  * :license: BSD, see LICENSE for details.
9 9
  *
10 10
  */

+ 14
- 14
dev/plugins.html Ver fichero

@@ -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.8.0 documentation</title>
9
+    <title>Plugins &mdash; searx 0.9.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.8.0',
17
+        VERSION:     '0.9.0',
18 18
         COLLAPSE_INDEX: false,
19 19
         FILE_SUFFIX: '.html',
20 20
         HAS_SOURCE:  true
@@ -23,7 +23,7 @@
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.8.0 documentation" href="../index.html" />
26
+    <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
27 27
     <link rel="next" title="Translation" href="translation.html" />
28 28
     <link rel="prev" title="Search API" href="search_api.html" />
29 29
    
@@ -45,20 +45,20 @@
45 45
 searx.</p>
46 46
 <div class="section" id="example-plugin-py">
47 47
 <h2>example_plugin.py<a class="headerlink" href="#example-plugin-py" title="Permalink to this headline">¶</a></h2>
48
-<div class="code python highlight-python"><div class="highlight"><pre><span class="n">name</span> <span class="o">=</span> <span class="s1">&#39;Example plugin&#39;</span>
49
-<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>
50
-<span class="n">default_on</span> <span class="o">=</span> <span class="bp">False</span>  <span class="c1"># disable by default</span>
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>
51 51
 
52
-<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>
53
-<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>
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 54
 
55 55
 
56
-<span class="c1"># attach callback to the post search hook</span>
57
-<span class="c1">#  request: flask request object</span>
58
-<span class="c1">#  ctx: the whole local context of the post search hook</span>
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>
59 59
 <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="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>
61
-    <span class="k">return</span> <span class="bp">True</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 62
 </pre></div>
63 63
 </div>
64 64
 </div>
@@ -109,7 +109,7 @@ parallel)</li>
109 109
       <div class="clearer"></div>
110 110
     </div>
111 111
     <div class="footer">
112
-      &copy; Copyright 2015, Adam Tauber.
112
+      &copy; Copyright 2015-2016, Adam Tauber.
113 113
     </div>
114 114
   </body>
115 115
 </html>

+ 5
- 5
dev/search_api.html Ver fichero

@@ -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.8.0 documentation</title>
9
+    <title>Search API &mdash; searx 0.9.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.8.0',
17
+        VERSION:     '0.9.0',
18 18
         COLLAPSE_INDEX: false,
19 19
         FILE_SUFFIX: '.html',
20 20
         HAS_SOURCE:  true
@@ -23,7 +23,7 @@
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.8.0 documentation" href="../index.html" />
26
+    <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
27 27
     <link rel="next" title="Plugins" href="plugins.html" />
28 28
     <link rel="prev" title="Engine overview" href="engine_overview.html" />
29 29
    
@@ -61,7 +61,7 @@
61 61
 </thead>
62 62
 <tbody valign="top">
63 63
 <tr class="row-even"><td><code class="docutils literal"><span class="pre">q</span></code></td>
64
-<td>The search query, see <a class="reference internal" href="../user/search_syntax.html"><em>Search syntax</em></a></td>
64
+<td>The search query, see <a class="reference internal" href="../user/search_syntax.html"><span class="doc">Search syntax</span></a></td>
65 65
 <td>required</td>
66 66
 </tr>
67 67
 <tr class="row-odd"><td><code class="docutils literal"><span class="pre">categories</span></code></td>
@@ -107,7 +107,7 @@
107 107
       <div class="clearer"></div>
108 108
     </div>
109 109
     <div class="footer">
110
-      &copy; Copyright 2015, Adam Tauber.
110
+      &copy; Copyright 2015-2016, Adam Tauber.
111 111
     </div>
112 112
   </body>
113 113
 </html>

+ 4
- 4
genindex.html Ver fichero

@@ -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.8.0 documentation</title>
10
+    <title>Index &mdash; searx 0.9.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.8.0',
18
+        VERSION:     '0.9.0',
19 19
         COLLAPSE_INDEX: false,
20 20
         FILE_SUFFIX: '.html',
21 21
         HAS_SOURCE:  true
@@ -24,7 +24,7 @@
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.8.0 documentation" href="index.html" />
27
+    <link rel="top" title="searx 0.9.0 documentation" href="index.html" />
28 28
    
29 29
   
30 30
   <link media="only screen and (max-device-width: 480px)" href="_static/small_flask.css" type= "text/css" rel="stylesheet" />
@@ -73,7 +73,7 @@
73 73
       <div class="clearer"></div>
74 74
     </div>
75 75
     <div class="footer">
76
-      &copy; Copyright 2015, Adam Tauber.
76
+      &copy; Copyright 2015-2016, Adam Tauber.
77 77
     </div>
78 78
   </body>
79 79
 </html>

+ 4
- 4
index.html Ver fichero

@@ -6,7 +6,7 @@
6 6
   <head>
7 7
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 8
     
9
-    <title>Privacy-respecting free metasearch engine &mdash; searx 0.8.0 documentation</title>
9
+    <title>Privacy-respecting free metasearch engine &mdash; searx 0.9.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.8.0',
17
+        VERSION:     '0.9.0',
18 18
         COLLAPSE_INDEX: false,
19 19
         FILE_SUFFIX: '.html',
20 20
         HAS_SOURCE:  true
@@ -23,7 +23,7 @@
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.8.0 documentation" href="#" />
26
+    <link rel="top" title="searx 0.9.0 documentation" href="#" />
27 27
     <link rel="next" title="Search syntax" href="user/search_syntax.html" />
28 28
    
29 29
   
@@ -105,7 +105,7 @@
105 105
       <div class="clearer"></div>
106 106
     </div>
107 107
     <div class="footer">
108
-      &copy; Copyright 2015, Adam Tauber.
108
+      &copy; Copyright 2015-2016, Adam Tauber.
109 109
     </div>
110 110
   </body>
111 111
 </html>

BIN
objects.inv Ver fichero


+ 4
- 4
search.html Ver fichero

@@ -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.8.0 documentation</title>
9
+    <title>Search &mdash; searx 0.9.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.8.0',
17
+        VERSION:     '0.9.0',
18 18
         COLLAPSE_INDEX: false,
19 19
         FILE_SUFFIX: '.html',
20 20
         HAS_SOURCE:  true
@@ -24,7 +24,7 @@
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.8.0 documentation" href="index.html" />
27
+    <link rel="top" title="searx 0.9.0 documentation" href="index.html" />
28 28
   <script type="text/javascript">
29 29
     jQuery(function() { Search.loadIndex("searchindex.js"); });
30 30
   </script>
@@ -93,7 +93,7 @@
93 93
       <div class="clearer"></div>
94 94
     </div>
95 95
     <div class="footer">
96
-      &copy; Copyright 2015, Adam Tauber.
96
+      &copy; Copyright 2015-2016, Adam Tauber.
97 97
     </div>
98 98
   </body>
99 99
 </html>

+ 1
- 1
searchindex.js
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero