From 6641fb20a2ac30392499c528ab7f3749ab4c1cb4 Mon Sep 17 00:00:00 2001 From: Noemi Vanyi Date: Sat, 9 Jul 2016 21:46:20 +0200 Subject: [PATCH 1/5] version bump to 0.9.0 && year to 2016 --- docs/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 30fe9031..b1392bab 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -49,7 +49,7 @@ master_doc = 'index' # General information about the project. project = u'searx' -copyright = u'2015, Adam Tauber' +copyright = u'2015-2016, Adam Tauber' author = u'Adam Tauber' # The version info for the project you're documenting, acts as replacement for @@ -57,9 +57,9 @@ author = u'Adam Tauber' # built documents. # # The short X.Y version. -version = '0.8.0' +version = '0.9.0' # The full version, including alpha/beta/rc tags. -release = '0.8.0' +release = '0.9.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. From c3b770be0c1ff02ce8bd96390d9b4d4219ee73b6 Mon Sep 17 00:00:00 2001 From: Noemi Vanyi Date: Sat, 9 Jul 2016 21:55:17 +0200 Subject: [PATCH 2/5] generated files of parent --- _static/basic.css | 15 ++++++++++----- _static/doctools.js | 28 ++++++++++++++++++++++++++-- _static/pygments.css | 2 -- _static/searchtools.js | 6 +++--- _static/websupport.js | 4 ++-- dev/plugins.html | 28 ++++++++++++++-------------- dev/search_api.html | 10 +++++----- genindex.html | 8 ++++---- index.html | 8 ++++---- objects.inv | Bin 201 -> 440 bytes search.html | 8 ++++---- searchindex.js | 2 +- 12 files changed, 73 insertions(+), 46 deletions(-) diff --git a/_static/basic.css b/_static/basic.css index 9fa77d88..2b513f0c 100644 --- a/_static/basic.css +++ b/_static/basic.css @@ -4,7 +4,7 @@ * * Sphinx stylesheet -- basic theme. * - * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @@ -52,6 +52,8 @@ div.sphinxsidebar { width: 230px; margin-left: -100%; font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; } div.sphinxsidebar ul { @@ -83,10 +85,6 @@ div.sphinxsidebar #searchbox input[type="text"] { width: 170px; } -div.sphinxsidebar #searchbox input[type="submit"] { - width: 30px; -} - img { border: 0; max-width: 100%; @@ -187,6 +185,13 @@ div.genindex-jumpbox { /* -- general body styles --------------------------------------------------- */ +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + a.headerlink { visibility: hidden; } diff --git a/_static/doctools.js b/_static/doctools.js index c7bfe760..81634956 100644 --- a/_static/doctools.js +++ b/_static/doctools.js @@ -4,7 +4,7 @@ * * Sphinx JavaScript utilities for all documentation. * - * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @@ -124,6 +124,7 @@ var Documentation = { this.fixFirefoxAnchorBug(); this.highlightSearchWords(); this.initIndexTable(); + }, /** @@ -252,6 +253,29 @@ var Documentation = { }); var url = parts.join('/'); return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + }, + + initOnKeyListeners: function() { + $(document).keyup(function(event) { + var activeElementType = document.activeElement.tagName; + // don't navigate when in search box or textarea + if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT') { + switch (event.keyCode) { + case 37: // left + var prevHref = $('link[rel="prev"]').prop('href'); + if (prevHref) { + window.location.href = prevHref; + return false; + } + case 39: // right + var nextHref = $('link[rel="next"]').prop('href'); + if (nextHref) { + window.location.href = nextHref; + return false; + } + } + } + }); } }; @@ -260,4 +284,4 @@ _ = Documentation.gettext; $(document).ready(function() { Documentation.init(); -}); +}); \ No newline at end of file diff --git a/_static/pygments.css b/_static/pygments.css index 8213e90b..57eadc03 100644 --- a/_static/pygments.css +++ b/_static/pygments.css @@ -4,10 +4,8 @@ .highlight .err { border: 1px solid #FF0000 } /* Error */ .highlight .k { color: #007020; font-weight: bold } /* Keyword */ .highlight .o { color: #666666 } /* Operator */ -.highlight .ch { color: #408090; font-style: italic } /* Comment.Hashbang */ .highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */ .highlight .cp { color: #007020 } /* Comment.Preproc */ -.highlight .cpf { color: #408090; font-style: italic } /* Comment.PreprocFile */ .highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */ .highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #A00000 } /* Generic.Deleted */ diff --git a/_static/searchtools.js b/_static/searchtools.js index efec3c43..066857ce 100644 --- a/_static/searchtools.js +++ b/_static/searchtools.js @@ -2,9 +2,9 @@ * searchtools.js_t * ~~~~~~~~~~~~~~~~ * - * Sphinx JavaScript utilties for the full-text search. + * Sphinx JavaScript utilities for the full-text search. * - * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @@ -623,7 +623,7 @@ var Search = { * helper function to return a node containing the * search summary for a given text. keywords is a list * of stemmed words, hlwords is the list of normal, unstemmed - * words. the first one is used to find the occurance, the + * words. the first one is used to find the occurrence, the * latter for highlighting it. */ makeSearchSummary : function(text, keywords, hlwords) { diff --git a/_static/websupport.js b/_static/websupport.js index 28d65db4..98e7f40b 100644 --- a/_static/websupport.js +++ b/_static/websupport.js @@ -2,9 +2,9 @@ * websupport.js * ~~~~~~~~~~~~~ * - * sphinx.websupport utilties for all documentation. + * sphinx.websupport utilities for all documentation. * - * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ diff --git a/dev/plugins.html b/dev/plugins.html index 83d33985..db63c5ef 100644 --- a/dev/plugins.html +++ b/dev/plugins.html @@ -6,7 +6,7 @@ - Plugins — searx 0.8.0 documentation + Plugins — searx 0.9.0 documentation @@ -14,7 +14,7 @@ - + @@ -45,20 +45,20 @@ searx.

example_plugin.py

-
name = 'Example plugin'
-description = 'This plugin extends the suggestions with the word "example"'
-default_on = False  # disable by default
+
name = 'Example plugin'
+description = 'This plugin extends the suggestions with the word "example"'
+default_on = False  # disable by default
 
-js_dependencies = tuple()  # optional, list of static js files
-css_dependencies = tuple()  # optional, list of static css files
+js_dependencies = tuple()  # optional, list of static js files
+css_dependencies = tuple()  # optional, list of static css files
 
 
-# attach callback to the post search hook
-#  request: flask request object
-#  ctx: the whole local context of the post search hook
+# attach callback to the post search hook
+#  request: flask request object
+#  ctx: the whole local context of the post search hook
 def post_search(request, ctx):
-    ctx['search'].suggestions.add('example')
-    return True
+    ctx['search'].suggestions.add('example')
+    return True
 
@@ -109,7 +109,7 @@ parallel)
\ No newline at end of file diff --git a/dev/search_api.html b/dev/search_api.html index f616c4cc..c84510dd 100644 --- a/dev/search_api.html +++ b/dev/search_api.html @@ -6,7 +6,7 @@ - Search API — searx 0.8.0 documentation + Search API — searx 0.9.0 documentation @@ -14,7 +14,7 @@ - + @@ -61,7 +61,7 @@ q -The search query, see Search syntax +The search query, see Search syntax required categories @@ -107,7 +107,7 @@
\ No newline at end of file diff --git a/genindex.html b/genindex.html index 39fa251d..7103651a 100644 --- a/genindex.html +++ b/genindex.html @@ -7,7 +7,7 @@ - Index — searx 0.8.0 documentation + Index — searx 0.9.0 documentation @@ -15,7 +15,7 @@ - + @@ -73,7 +73,7 @@
\ No newline at end of file diff --git a/index.html b/index.html index 1a07c58b..96f4ff8d 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ - Privacy-respecting free metasearch engine — searx 0.8.0 documentation + Privacy-respecting free metasearch engine — searx 0.9.0 documentation @@ -14,7 +14,7 @@ - + @@ -105,7 +105,7 @@
\ No newline at end of file diff --git a/objects.inv b/objects.inv index 15d8128d896eeaf9906e32278b1dab4e8e486dbd..41e76b1838a1337a11e1eb15ab275077a16a9b23 100644 GIT binary patch delta 334 zcmV-U0kQtc0k{K@I{`V7JUoAOlFLrRFc3xe`3g(04Ha8{y(#P!Us- zpF!T{?(X-J0=h$`l{0wuqgd7+1+2U8SI{W0`pTSUvkid zB8y_+pt6oj8GmW$1h!X0#M4R%xK{e1hfN8SOre4fq5j8X^*u0*OCyUzsb}aw>b3#p z*!%1Shy`w{OPSp0)*;A8IM0_dT#~Z;-@LLY`nd>WHW_?=4?Cj|kK&)klOr0mf gCPCU}r3J4c^A=3px$TwXn~`tb4S}TW4^8z^f;=szSdJV<|r$8 zg4kTS`6*bG7F6oOB%rE&^HWN5QlXlPQxl7lGf=fa#GtB!AqoN#(^I(s*+elJo4F}n diff --git a/search.html b/search.html index 32bbfbcb..0d944add 100644 --- a/search.html +++ b/search.html @@ -6,7 +6,7 @@ - Search — searx 0.8.0 documentation + Search — searx 0.9.0 documentation @@ -14,7 +14,7 @@ - + @@ -93,7 +93,7 @@
\ No newline at end of file diff --git a/searchindex.js b/searchindex.js index a16afc77..10c2f3ef 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({envversion:46,filenames:["dev/contribution_guide","dev/engine_overview","dev/install/installation","dev/plugins","dev/search_api","dev/translation","index","user/search_syntax"],objects:{},objnames:{},objtypes:{},terms:{"boolean":1,"break":0,"byte":1,"case":5,"char":[],"default":[],"function":[1,3,4],"import":2,"int":1,"new":[],"null":2,"return":[],"static":3,"switch":0,"true":[1,2,3],"while":[3,6],a2enmod:2,abbrev:7,abl:[0,1],about:[0,2,6],abov:[0,2],accept:7,access_log:2,activ:[2,4],adapt:1,add:[],addit:[1,2],addition:6,address:1,adopt:0,adress:1,after:5,agent:1,aggreg:6,all:[],allow:[2,7],alreadi:0,also:[0,2,7],alter:0,alwai:1,among:0,anonym:6,anoth:1,apache2:2,api_kei:1,app:2,appli:[0,2],applic:2,appreci:[],appropri:0,apt:2,arbitrari:1,arrai:1,asciimoo:[2,5],aspect:0,assign:1,attach:3,author:0,auto:5,avail:2,back:2,base:1,base_url:[1,2],bash:2,becaus:[0,1],behaviour:0,below:[0,2],better:[1,2,3],between:1,bin:2,born:0,both:[0,4],boundingbox:1,branch:0,browser:0,bugreport:0,build:[0,2],built:[0,1],calcul:[],call:3,callback:3,can:[0,1,2,3,5,6],capabl:0,care:[],categori:[1,4,7],certif:2,chainabl:7,chang:[2,5],chapter:0,charact:0,chdir:2,checkout:0,chmod:2,choos:[0,1],chown:2,citi:1,client:5,clone:2,collect:6,com:[1,2,5],combin:2,come:0,comma:4,command:[2,5],compon:3,concern:0,conf:2,config:[1,2],connect:6,consequ:0,construct:1,contain:[],content:[],context:3,convent:0,cooki:[1,6],corner:0,could:1,count:2,countri:1,coupl:2,cpu:2,creat:[0,2],css:3,css_depend:3,cthulhu:7,ctx:3,current:[],custom:[0,7],customlog:2,data:[1,6],date:1,datetim:1,ddg:7,debian:2,debug:2,decim:1,def:[1,3],default_on:3,demon:2,depend:[1,2],deploi:2,descript:[3,4],deserv:0,desir:1,dev:2,develop:[],deviat:[],differ:[0,1,3],digit:6,directori:5,disrespect:0,doc:5,dockerfil:2,doe:[1,6],doesn:[],domain:2,domin:0,don:[],duckduckgo:7,easili:0,edit:[0,2,5],educ:[],effect:0,embed:2,empti:[],en_u:1,enabl:[0,2],encrypt:6,engin:[],enough:[],enter:2,equival:4,error:5,error_log:2,essenti:2,etc:[0,2],everi:1,everyth:2,exampl:[],except:0,execut:5,exist:0,exit:2,expand:[],expect:0,explain:0,extend:[0,3],extens:0,extern:1,facil:[],fals:[2,3],fanci:0,featur:[],feedback:0,feel:3,few:[0,1],file:[],filenam:1,files:1,fill:[],fine:2,fix:0,flask:3,folder:[0,1],follow:[0,1],followsymlink:2,forget:[],fork:0,format:1,free:[],from:[],further:[],furthermor:1,geojson:1,get:[],gid:2,git:2,github:2,give:1,goal:[],goe:[],good:0,grant:2,hack:0,hackerspac:7,handler:2,happen:[],happi:0,have:[0,1,2,4,5],header:1,here:5,hex:2,highli:[],hour:2,hous:1,house_numb:1,howev:1,html:[0,1],http:[1,2,5,6],https_rewrit:3,hub:2,imag:[],img_src:1,implement:[],includ:2,inclus:7,index:2,inform:[0,1,2,6],ini:2,init:[],insert:[],insid:[1,3],instanc:[2,5],intent:0,interfer:0,internet:6,interpret:2,interpretor:2,iso:1,itself:0,js_depend:3,kei:1,known:[],lack:0,lang:5,language_support:1,lat:1,latitud:1,lc_messag:5,least:[],leech:1,leecher:1,length:0,level:0,libapache2:2,libffi:2,librari:[],libssl:2,libxslt:2,light:2,like:[1,2,3],line:0,list:[1,3,4,7],listen:2,local:[1,2,3,5],localhost:2,locat:2,lon:1,longitud:1,magnet_uri_schem:[],magnetlink:1,mai:5,main:[],make:[],manag:2,manner:[],map:[],mass:0,master:2,math:3,matter:1,max:1,maxim:0,maximis:[],maximum:[0,1],mayb:[],media:1,messag:5,messagespo:5,meta:[],method:[1,4],might:0,min:1,misbehav:0,mod:2,modif:[],modifi:[5,7],modul:2,more:[2,3],most:[],multibl:1,must:[0,1],name:[1,2,3,4],necessari:2,need:0,net:6,none:1,nor:6,normal:1,note:[0,2],number:[1,2,4],number_of_result:1,object:[1,3],observ:[],off:0,offer:6,often:1,okhin:2,on_result:3,onli:[],onlin:6,openssl:2,option:[1,2,3,4],order:0,org:1,organis:6,origin:2,osm:1,other:[0,1,6],otherwis:1,out:0,over:6,overwrit:[],overwritten:1,packag:2,page:[0,1,4,7],pageno:[1,4],pagenumb:1,parallel:3,param:1,paramt:1,parti:6,partli:1,patch:0,path:2,pep8:0,per:1,perform:1,perserv:[],pip:0,place:[0,1],pleas:0,plenti:0,plugin:[],point:[],port:2,possibl:2,post:[0,2,3,4],post_search:3,postcod:1,pot:5,pre:3,pre_search:3,prefer:7,prefix:7,preserv:0,preview:1,proce:2,profil:6,promot:6,protect:0,provid:[0,1],publish:1,publishedd:1,pull:[0,2,5],purpos:1,push:5,pybabel2:5,pybabel:[2,5],python2:5,python:2,pythonpath:2,quadratur:6,queri:[1,4,7],quit:0,qwer:7,rand:2,random:1,realli:[],recommend:1,reconsid:0,redefin:1,reduc:0,rememb:0,replac:3,repo:0,repositori:2,repres:1,request:[],requir:[0,1,3,4],respec:[],respect:[],restart:2,result:[],rewrit:2,right:[2,6],road:1,root:[2,5],round:0,rst:0,run:[2,3,5],same:1,script:5,script_nam:2,search:[],search_path:1,search_str:1,searx:[],secur:6,sed:2,see:[2,3,4,7],seed:1,seeder:1,select:7,self:6,separ:[0,4],seper:[],server_nam:2,servic:2,set:[],sethandl:2,setup:2,share:6,shortcut:1,should:[0,2],simpli:0,sinc:[],singl:2,site:[1,2],size:1,small:1,socket:2,softwar:6,solver:3,some:2,someth:0,sourc:[],special:1,specif:[1,2],specifi:[1,4],sphinx:0,ssl:[1,2,6],standard:[0,1],start:[1,2],stash:2,step:[0,2,5],store:[1,6],street:1,string:1,submit:0,sudo:2,suggest:3,support:[0,1,4],sure:2,syntax:[],system:0,take:0,taken:[],tell:1,templat:1,test:[0,2],text:1,thi:[1,2,3,5],thing:3,think:0,third:6,three:0,thu:[],thumbnail:1,thumbnail_src:1,time:1,timeout:1,titl:1,tld:2,tool:0,tor:6,torrentfil:1,toward:[],track:6,transifex:[],try_fil:2,tupl:3,turn:0,twice:2,two:0,txt:0,type:[1,5],ubuntu:2,uid:2,ultrasecretkei:2,uncommon:0,under:[0,1],unfortun:0,unit:0,univers:2,unix:2,unspecifi:1,updat:[],update_packag:2,upgrad:[],uri:2,urlencod:1,user:[0,1,2,6],useradd:2,usr:2,usual:2,util:5,uwsgi_modifier1:2,uwsgi_param:2,uwsgi_pass:2,uwsgisocket:2,valid:1,valu:1,variabl:1,variou:[0,3],vendor:0,verifi:1,via:7,virtual:2,virtualenv:2,wai:[0,1],want:[],warn:2,wathev:[],webapp:2,weird:0,welcom:[],what:[],whatev:2,when:1,where:[],which:[0,1,6],who:2,whole:[2,3],wide:0,width:[],wiki:[],wikipedia:7,wish:0,without:1,wonderfal:2,word:3,work:[0,1,2],worker:2,world:0,wsgi:2,www:5,yet:1,yml:[],you:[0,2,5,7],your:[0,2],yourself:0,zlib1g:2},titles:["How to contribute","Engine overview","Installation","Plugins","Search API","Translation","Privacy-respecting free metasearch engine","Search syntax"],titleterms:{"default":1,"new":5,"return":1,add:5,admin:[],all:5,apach:2,api:4,argument:1,basic:2,check:2,code:[0,1],compil:5,configur:[1,2],content:[1,2],contribut:0,current:3,design:0,develop:6,direct:0,disabl:2,docker:2,document:[0,6],endpoint:4,engin:[1,6],entri:3,exampl:[1,7],example_plugin:3,featur:6,file:[1,5],free:6,from:2,further:6,gener:1,get:5,hackabl:0,hook:3,host:2,how:[0,2],imag:1,implement:3,init:5,instal:2,languag:5,log:2,make:1,map:1,metasearch:6,nginx:2,onli:[],overrid:1,overview:1,paramet:4,pars:1,pass:1,plugin:3,point:3,prime:0,privaci:[0,6],project:5,read:6,request:1,respect:6,result:1,search:[4,7],searx:2,server:2,set:1,sourc:5,specifc:5,stuff:5,subdirectori:2,syntax:7,todo:3,torrent:1,transifex:5,translat:[0,5],updat:[2,5],upload:5,url:2,uwsgi:2,video:1,web:2,yml:1}}) \ No newline at end of file +Search.setIndex({envversion:49,filenames:["dev/plugins","dev/search_api","index"],objects:{},objnames:{},objtypes:{},terms:{"default":[0,1,2],"function":[0,1],"new":0,"return":0,"static":0,"true":0,"while":[0,2],about:2,activ:1,add:0,addition:2,aggreg:2,anonym:2,attach:0,better:0,both:1,call:0,callback:0,can:[0,2],categori:1,code:0,collect:2,comma:1,compon:0,connect:2,context:0,contribut:2,cooki:2,css:0,css_depend:0,ctx:0,data:2,def:0,default_on:0,descript:[0,1],differ:0,digit:2,disabl:0,document:0,doe:2,encrypt:2,engin:1,engine:2,equival:1,exampl:0,extend:0,fals:0,feel:0,file:0,flask:0,free:0,from:2,get:1,have:1,host:2,how:2,https:2,https_rewrit:0,inform:2,insid:0,installat:2,internet:2,js_depend:0,like:0,list:[0,1],local:0,math:0,method:1,more:0,name:[0,1],net:2,nor:2,number:1,object:0,offer:2,on_result:0,onlin:2,option:[0,1],organis:2,other:2,over:2,overview:2,page:1,pageno:1,parallel:0,parti:2,post:[0,1],post_search:0,pre:0,pre_search:0,profil:2,promot:2,quadratur:2,queri:1,quickstart:2,replac:0,request:0,requir:[0,1],result:[0,2],right:2,run:0,search:0,searx:[0,2],secur:2,see:[0,1],self:2,separ:1,share:2,softwar:2,solver:0,specifi:1,ssl:2,store:2,suggest:0,support:1,syntax:[1,2],thi:0,thing:0,third:2,tor:2,track:2,translat:2,tupl:0,user:2,variou:0,which:2,whole:0,word:0},titles:["Plugins","Search API","Privacy-respecting free metasearch engine"],titleterms:{api:1,current:0,develop:2,document:2,endpoint:1,engin:2,entri:0,example_plugin:0,featur:2,free:2,further:2,hook:0,implement:0,metasearch:2,paramet:1,plugin:0,point:0,privaci:2,read:2,respect:2,search:1,todo:0}}) \ No newline at end of file From 18a8e609b38198288449a84172d5cd4b2e443122 Mon Sep 17 00:00:00 2001 From: Noemi Vanyi Date: Sat, 9 Jul 2016 22:31:21 +0200 Subject: [PATCH 3/5] better API docs && more features in list --- docs/admin/api.rst | 78 +++++++++++++++++++++++++++++++++++++++++ docs/dev/plugins.rst | 34 +++++++++--------- docs/dev/search_api.rst | 19 ++++++---- docs/index.rst | 21 +++++++---- 4 files changed, 123 insertions(+), 29 deletions(-) create mode 100644 docs/admin/api.rst diff --git a/docs/admin/api.rst b/docs/admin/api.rst new file mode 100644 index 00000000..94508a28 --- /dev/null +++ b/docs/admin/api.rst @@ -0,0 +1,78 @@ +.. _adminapi: + +Administration API +------------------ + +Get configuration data +~~~~~~~~~~~~~~~~~~~~~~ + +.. code:: sh + + GET /config + +Sample response +``````````````` + +.. code:: sh + + { + "autocomplete": "", + "categories": [ + "map", + "it", + "images", + ], + "default_locale": "", + "default_theme": "oscar", + "engines": [ + { + "categories": [ + "map" + ], + "enabled": true, + "name": "openstreetmap", + "shortcut": "osm" + }, + { + "categories": [ + "it" + ], + "enabled": true, + "name": "arch linux wiki", + "shortcut": "al" + }, + { + "categories": [ + "images" + ], + "enabled": true, + "name": "google images", + "shortcut": "goi" + }, + { + "categories": [ + "it" + ], + "enabled": false, + "name": "bitbucket", + "shortcut": "bb" + }, + ], + "instance_name": "searx", + "locales": { + "de": "Deutsch (German)", + "en": "English", + "eo": "Esperanto (Esperanto)", + }, + "plugins": [ + { + "enabled": true, + "name": "HTTPS rewrite" + }, + { + "enabled": false, + "name": "Vim-like hotkeys" + } + ], + "safe_search": 0 + } diff --git a/docs/dev/plugins.rst b/docs/dev/plugins.rst index c51fdf0e..0f52af0d 100644 --- a/docs/dev/plugins.rst +++ b/docs/dev/plugins.rst @@ -1,11 +1,11 @@ Plugins ------- -Plugins can extend/replace functionality of various components inside +Plugins can extend or replace functionality of various components of searx. -example\_plugin.py -~~~~~~~~~~~~~~~~~~ +Example plugin +~~~~~~~~~~~~~~ .. code:: python @@ -24,22 +24,22 @@ example\_plugin.py ctx['search'].suggestions.add('example') return True -Currently implemented plugin entry points (a.k.a hooks) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Plugin entry points +~~~~~~~~~~~~~~~~~~~ -- Pre search hook (``pre_search``) -- Post search hook (``post_search``) -- Result hook (``on_result``) (is called if a new result is added (see - https\_rewrite plugin)) +Entry points (hooks) define when a plugin runs. Right now only three hooks are implemented. So feel free to implement a hook if it fits the behaviour of your plugin. -Feel free to add more hooks to the code if it is required by a plugin. +Pre search hook +``````````````` -TODO -~~~~ +Runs BEFORE the search request. Function to implement: ``pre_search`` -- Better documentation -- More hooks -- search hook (is called while searx is requesting results (for - example: things like math-solver), the different hooks are running - parallel) +Post search hook +```````````````` +Runs AFTER the search request. Function to implement: ``post_search`` + +Result hook +``````````` + +Runs when a new result is added to the result list. Function to implement: ``on_result`` diff --git a/docs/dev/search_api.rst b/docs/dev/search_api.rst index cd86fd71..59d3c825 100644 --- a/docs/dev/search_api.rst +++ b/docs/dev/search_api.rst @@ -1,13 +1,20 @@ Search API ========== -Search API endpoints: ``/``, ``/search`` -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +The search supports both ``GET`` and ``POST``. However, using ``GET`` the parameters of the request remain hidden. So it is advised to use ``GET`` for querying. -Endpoints have equivalent functionality. +Furthermore, two enpoints ``/`` and ``/search`` are available for querying. + +.. code:: sh + + GET / + +.. code:: sh + + GET /search Parameters -^^^^^^^^^^ +`````````` +------------------+----------------------------------------------------------------------------------------------------+-----------------------------+ | Name | Description | | @@ -18,7 +25,7 @@ Parameters +------------------+----------------------------------------------------------------------------------------------------+-----------------------------+ | ``engines`` | Comma separated list, specifies the active search engines | optional | +------------------+----------------------------------------------------------------------------------------------------+-----------------------------+ +| ``lang`` | Code of the language | optional (default: ``all``) | ++------------------+----------------------------------------------------------------------------------------------------+-----------------------------+ | ``pageno`` | Search page number | optional (default: ``1``) | +------------------+----------------------------------------------------------------------------------------------------+-----------------------------+ - -Both ``GET`` and ``POST`` methods are supported. diff --git a/docs/index.rst b/docs/index.rst index d6e21894..c24eff4d 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,7 +1,7 @@ -Privacy-respecting free metasearch engine -========================================= +Welcome to searx +================ -Searx is a free software internet metasearch engine which aggregates results from other search engines, while not storing information about its users. Searx does not track or profile its users, nor does it share its users' data with third parties. Additionally, searx can be used over Tor for online anonymity. +Searx is a free software internet metasearch engine which aggregates results from more than 70 engines, while not storing information about its users. Searx does not track or profile its users, nor does it share its users' data with third parties. Additionally, searx can be used over Tor for online anonymity. Features @@ -15,16 +15,26 @@ Features - Does not collect its users data - Offers secure, encrypted connections (HTTPS/SSL) - Hosted by organisations, such as La Quadrature du Net, which promote digital rights + - About 70 supported search engines + - Easy intergration with any search engine -Further reading ---------------- +User documentation +------------------ .. toctree:: :maxdepth: 1 user/search_syntax +Administrator documentation +--------------------------- + +.. toctree:: + :maxdepth: 1 + + dev/install/installation + admin/api Developer documentation ----------------------- @@ -34,7 +44,6 @@ Developer documentation dev/quickstart dev/contribution_guide - dev/install/installation dev/engine_overview dev/search_api dev/plugins From c086959da0e847ed80f991ae08e33fc1e4b66fe0 Mon Sep 17 00:00:00 2001 From: Noemi Vanyi Date: Sat, 9 Jul 2016 22:32:57 +0200 Subject: [PATCH 4/5] generated files of parent --- _sources/admin/api.txt | 78 ++++++++++++++++++ _sources/dev/plugins.txt | 34 ++++---- _sources/dev/search_api.txt | 19 +++-- _sources/index.txt | 21 +++-- admin/api.html | 146 ++++++++++++++++++++++++++++++++++ dev/contribution_guide.html | 10 +-- dev/engine_overview.html | 32 ++++---- dev/install/installation.html | 12 +-- dev/plugins.html | 38 ++++----- dev/quickstart.html | 10 +-- dev/search_api.html | 17 ++-- dev/translation.html | 28 +++---- index.html | 24 ++++-- searchindex.js | 2 +- user/search_syntax.html | 10 +-- 15 files changed, 367 insertions(+), 114 deletions(-) create mode 100644 _sources/admin/api.txt create mode 100644 admin/api.html diff --git a/_sources/admin/api.txt b/_sources/admin/api.txt new file mode 100644 index 00000000..94508a28 --- /dev/null +++ b/_sources/admin/api.txt @@ -0,0 +1,78 @@ +.. _adminapi: + +Administration API +------------------ + +Get configuration data +~~~~~~~~~~~~~~~~~~~~~~ + +.. code:: sh + + GET /config + +Sample response +``````````````` + +.. code:: sh + + { + "autocomplete": "", + "categories": [ + "map", + "it", + "images", + ], + "default_locale": "", + "default_theme": "oscar", + "engines": [ + { + "categories": [ + "map" + ], + "enabled": true, + "name": "openstreetmap", + "shortcut": "osm" + }, + { + "categories": [ + "it" + ], + "enabled": true, + "name": "arch linux wiki", + "shortcut": "al" + }, + { + "categories": [ + "images" + ], + "enabled": true, + "name": "google images", + "shortcut": "goi" + }, + { + "categories": [ + "it" + ], + "enabled": false, + "name": "bitbucket", + "shortcut": "bb" + }, + ], + "instance_name": "searx", + "locales": { + "de": "Deutsch (German)", + "en": "English", + "eo": "Esperanto (Esperanto)", + }, + "plugins": [ + { + "enabled": true, + "name": "HTTPS rewrite" + }, + { + "enabled": false, + "name": "Vim-like hotkeys" + } + ], + "safe_search": 0 + } diff --git a/_sources/dev/plugins.txt b/_sources/dev/plugins.txt index c51fdf0e..0f52af0d 100644 --- a/_sources/dev/plugins.txt +++ b/_sources/dev/plugins.txt @@ -1,11 +1,11 @@ Plugins ------- -Plugins can extend/replace functionality of various components inside +Plugins can extend or replace functionality of various components of searx. -example\_plugin.py -~~~~~~~~~~~~~~~~~~ +Example plugin +~~~~~~~~~~~~~~ .. code:: python @@ -24,22 +24,22 @@ example\_plugin.py ctx['search'].suggestions.add('example') return True -Currently implemented plugin entry points (a.k.a hooks) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Plugin entry points +~~~~~~~~~~~~~~~~~~~ -- Pre search hook (``pre_search``) -- Post search hook (``post_search``) -- Result hook (``on_result``) (is called if a new result is added (see - https\_rewrite plugin)) +Entry points (hooks) define when a plugin runs. Right now only three hooks are implemented. So feel free to implement a hook if it fits the behaviour of your plugin. -Feel free to add more hooks to the code if it is required by a plugin. +Pre search hook +``````````````` -TODO -~~~~ +Runs BEFORE the search request. Function to implement: ``pre_search`` -- Better documentation -- More hooks -- search hook (is called while searx is requesting results (for - example: things like math-solver), the different hooks are running - parallel) +Post search hook +```````````````` +Runs AFTER the search request. Function to implement: ``post_search`` + +Result hook +``````````` + +Runs when a new result is added to the result list. Function to implement: ``on_result`` diff --git a/_sources/dev/search_api.txt b/_sources/dev/search_api.txt index cd86fd71..59d3c825 100644 --- a/_sources/dev/search_api.txt +++ b/_sources/dev/search_api.txt @@ -1,13 +1,20 @@ Search API ========== -Search API endpoints: ``/``, ``/search`` -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +The search supports both ``GET`` and ``POST``. However, using ``GET`` the parameters of the request remain hidden. So it is advised to use ``GET`` for querying. -Endpoints have equivalent functionality. +Furthermore, two enpoints ``/`` and ``/search`` are available for querying. + +.. code:: sh + + GET / + +.. code:: sh + + GET /search Parameters -^^^^^^^^^^ +`````````` +------------------+----------------------------------------------------------------------------------------------------+-----------------------------+ | Name | Description | | @@ -18,7 +25,7 @@ Parameters +------------------+----------------------------------------------------------------------------------------------------+-----------------------------+ | ``engines`` | Comma separated list, specifies the active search engines | optional | +------------------+----------------------------------------------------------------------------------------------------+-----------------------------+ +| ``lang`` | Code of the language | optional (default: ``all``) | ++------------------+----------------------------------------------------------------------------------------------------+-----------------------------+ | ``pageno`` | Search page number | optional (default: ``1``) | +------------------+----------------------------------------------------------------------------------------------------+-----------------------------+ - -Both ``GET`` and ``POST`` methods are supported. diff --git a/_sources/index.txt b/_sources/index.txt index d6e21894..c24eff4d 100644 --- a/_sources/index.txt +++ b/_sources/index.txt @@ -1,7 +1,7 @@ -Privacy-respecting free metasearch engine -========================================= +Welcome to searx +================ -Searx is a free software internet metasearch engine which aggregates results from other search engines, while not storing information about its users. Searx does not track or profile its users, nor does it share its users' data with third parties. Additionally, searx can be used over Tor for online anonymity. +Searx is a free software internet metasearch engine which aggregates results from more than 70 engines, while not storing information about its users. Searx does not track or profile its users, nor does it share its users' data with third parties. Additionally, searx can be used over Tor for online anonymity. Features @@ -15,16 +15,26 @@ Features - Does not collect its users data - Offers secure, encrypted connections (HTTPS/SSL) - Hosted by organisations, such as La Quadrature du Net, which promote digital rights + - About 70 supported search engines + - Easy intergration with any search engine -Further reading ---------------- +User documentation +------------------ .. toctree:: :maxdepth: 1 user/search_syntax +Administrator documentation +--------------------------- + +.. toctree:: + :maxdepth: 1 + + dev/install/installation + admin/api Developer documentation ----------------------- @@ -34,7 +44,6 @@ Developer documentation dev/quickstart dev/contribution_guide - dev/install/installation dev/engine_overview dev/search_api dev/plugins diff --git a/admin/api.html b/admin/api.html new file mode 100644 index 00000000..43139771 --- /dev/null +++ b/admin/api.html @@ -0,0 +1,146 @@ + + + + + + + + Administration API — searx 0.9.0 documentation + + + + + + + + + + + + + + + + + + + +
+
+
+
+ +
+

Administration API

+
+

Get configuration data

+
GET /config
+
+
+
+

Sample response

+
{
+  "autocomplete": "",
+  "categories": [
+    "map",
+    "it",
+    "images",
+  ],
+  "default_locale": "",
+  "default_theme": "oscar",
+  "engines": [
+    {
+      "categories": [
+        "map"
+      ],
+      "enabled": true,
+      "name": "openstreetmap",
+      "shortcut": "osm"
+    },
+    {
+      "categories": [
+        "it"
+      ],
+      "enabled": true,
+      "name": "arch linux wiki",
+      "shortcut": "al"
+    },
+    {
+      "categories": [
+        "images"
+      ],
+      "enabled": true,
+      "name": "google images",
+      "shortcut": "goi"
+    },
+    {
+      "categories": [
+        "it"
+      ],
+      "enabled": false,
+      "name": "bitbucket",
+      "shortcut": "bb"
+    },
+  ],
+  "instance_name": "searx",
+  "locales": {
+    "de": "Deutsch (German)",
+    "en": "English",
+    "eo": "Esperanto (Esperanto)",
+  },
+  "plugins": [
+    {
+      "enabled": true,
+      "name": "HTTPS rewrite"
+    },
+    {
+      "enabled": false,
+      "name": "Vim-like hotkeys"
+    }
+  ],
+  "safe_search": 0
+}
+
+
+
+
+
+ + +
+
+
+ +
+
+ + + \ No newline at end of file diff --git a/dev/contribution_guide.html b/dev/contribution_guide.html index 3d070bf7..88860f9c 100644 --- a/dev/contribution_guide.html +++ b/dev/contribution_guide.html @@ -6,7 +6,7 @@ - How to contribute — searx 0.8.0 documentation + How to contribute — searx 0.9.0 documentation @@ -14,7 +14,7 @@ - - + + @@ -146,7 +146,7 @@ files, you have to install it on your system. (It can be installed easily using
\ No newline at end of file diff --git a/dev/engine_overview.html b/dev/engine_overview.html index d5eef0a0..0476f907 100644 --- a/dev/engine_overview.html +++ b/dev/engine_overview.html @@ -6,7 +6,7 @@ - Engine overview — searx 0.8.0 documentation + Engine overview — searx 0.9.0 documentation @@ -14,7 +14,7 @@ - + - + @@ -190,10 +190,10 @@ overrides are the following:

example code

-
# engine dependent config
-categories = ['general']
-paging = True
-language_support = True
+
# engine dependent config
+categories = ['general']
+paging = True
+language_support = True
 
@@ -313,17 +313,17 @@ used to specify a search request:

example code

-
# search-url
-base_url = 'https://example.com/'
-search_string = 'search?{query}&page={page}'
+
# search-url
+base_url = 'https://example.com/'
+search_string = 'search?{query}&page={page}'
 
-# do search-request
+# do search-request
 def request(query, params):
     search_path = search_string.format(
-        query=urlencode({'q': query}),
-        page=params['pageno'])
+        query=urlencode({'q': query}),
+        page=params['pageno'])
 
-    params['url'] = base_url + search_path
+    params['url'] = base_url + search_path
 
     return params
 
@@ -582,7 +582,7 @@ Currently the following media-types are supported:

\ No newline at end of file diff --git a/dev/install/installation.html b/dev/install/installation.html index 56fc8770..19043b62 100644 --- a/dev/install/installation.html +++ b/dev/install/installation.html @@ -6,7 +6,7 @@ - Installation — searx 0.8.0 documentation + Installation — searx 0.9.0 documentation @@ -14,7 +14,7 @@ - - - + + + @@ -332,7 +332,7 @@ docker run -d --name searx -p $PORT:8888 wonderfall/searx
\ No newline at end of file diff --git a/dev/plugins.html b/dev/plugins.html index db63c5ef..8fe6468d 100644 --- a/dev/plugins.html +++ b/dev/plugins.html @@ -41,10 +41,10 @@

Plugins

-

Plugins can extend/replace functionality of various components inside +

Plugins can extend or replace functionality of various components of searx.

-
-

example_plugin.py

+
+

Example plugin

name = 'Example plugin'
 description = 'This plugin extends the suggestions with the word "example"'
 default_on = False  # disable by default
@@ -62,25 +62,21 @@ searx.

-
-

Currently implemented plugin entry points (a.k.a hooks)

-
    -
  • Pre search hook (pre_search)
  • -
  • Post search hook (post_search)
  • -
  • Result hook (on_result) (is called if a new result is added (see -https_rewrite plugin))
  • -
-

Feel free to add more hooks to the code if it is required by a plugin.

+
+

Plugin entry points

+

Entry points (hooks) define when a plugin runs. Right now only three hooks are implemented. So feel free to implement a hook if it fits the behaviour of your plugin.

+
+

Pre search hook

+

Runs BEFORE the search request. Function to implement: pre_search

+
+
+

Post search hook

+

Runs AFTER the search request. Function to implement: post_search

+
+
+

Result hook

+

Runs when a new result is added to the result list. Function to implement: on_result

-
-

TODO

-
    -
  • Better documentation
  • -
  • More hooks
  • -
  • search hook (is called while searx is requesting results (for -example: things like math-solver), the different hooks are running -parallel)
  • -
diff --git a/dev/quickstart.html b/dev/quickstart.html index a1fa0091..7074f1d2 100644 --- a/dev/quickstart.html +++ b/dev/quickstart.html @@ -6,7 +6,7 @@ - Development Quickstart — searx 0.8.0 documentation + Development Quickstart — searx 0.9.0 documentation @@ -14,7 +14,7 @@ - + - + @@ -154,7 +154,7 @@ locally before creating a PR.

\ No newline at end of file diff --git a/dev/search_api.html b/dev/search_api.html index c84510dd..eb583b41 100644 --- a/dev/search_api.html +++ b/dev/search_api.html @@ -41,9 +41,13 @@

Search API

- diff --git a/dev/translation.html b/dev/translation.html index ce142422..c30f854c 100644 --- a/dev/translation.html +++ b/dev/translation.html @@ -6,7 +6,7 @@ - Translation — searx 0.8.0 documentation + Translation — searx 0.9.0 documentation @@ -14,7 +14,7 @@ - + @@ -43,13 +43,13 @@

run these commands in the root directory of searx

Add new language

-
pybabel init -i messages.pot -d searx/translations -l it
+
pybabel init -i messages.pot -d searx/translations -l it
 

Update .po files

-
./utils/update-translations.sh
+
./utils/update-translations.sh
 

You may have errors here. In that case, edit the @@ -59,7 +59,7 @@

Compile translations

-
pybabel compile -d searx/translations
+
pybabel compile -d searx/translations
 
@@ -67,10 +67,10 @@

Transifex stuff

Init Project

-
tx init # Transifex instance: https://www.transifex.com/asciimoo/searx/
+
tx init # Transifex instance: https://www.transifex.com/asciimoo/searx/
 
-tx set --auto-local -r searx.messagespo 'searx/translations/<lang>/LC_MESSAGES/messages.po' \
---source-lang en --type PO --source-file messages.pot --execute
+tx set --auto-local -r searx.messagespo 'searx/translations/<lang>/LC_MESSAGES/messages.po' \
+--source-lang en --type PO --source-file messages.pot --execute
 

http://docs.transifex.com/client/init/

@@ -78,27 +78,27 @@ tx set --auto-local -r searx.messagespo 'searx/translations/<lang>/LC_

Get translations

-

Upload source File

-
tx push -s
+
tx push -s
 

Upload all Translation

-
tx push -s -t
+
tx push -s -t
 

upload specifc Translation

-
tx push -t -l tr
+
tx push -t -l tr
 

http://docs.transifex.com/client/push

@@ -130,7 +130,7 @@ tx set --auto-local -r searx.messagespo 'searx/translations/<lang>/LC_
\ No newline at end of file diff --git a/index.html b/index.html index 96f4ff8d..f7315f0f 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ - Privacy-respecting free metasearch engine — searx 0.9.0 documentation + Welcome to searx — searx 0.9.0 documentation @@ -38,9 +38,9 @@
-
-

Privacy-respecting free metasearch engine

-

Searx is a free software internet metasearch engine which aggregates results from other search engines, while not storing information about its users. Searx does not track or profile its users, nor does it share its users’ data with third parties. Additionally, searx can be used over Tor for online anonymity.

+
+

Welcome to searx

+

Searx is a free software internet metasearch engine which aggregates results from more than 70 engines, while not storing information about its users. Searx does not track or profile its users, nor does it share its users’ data with third parties. Additionally, searx can be used over Tor for online anonymity.

Features

@@ -53,24 +53,34 @@
  • Does not collect its users data
  • Offers secure, encrypted connections (HTTPS/SSL)
  • Hosted by organisations, such as La Quadrature du Net, which promote digital rights
  • +
  • About 70 supported search engines
  • +
  • Easy intergration with any search engine
  • -
    -

    Further reading

    +
    +

    User documentation

    +
    +

    Administrator documentation

    + +

    Developer documentation

    • Development Quickstart
    • How to contribute
    • -
    • Installation
    • Engine overview
    • Search API
    • Plugins
    • diff --git a/searchindex.js b/searchindex.js index 10c2f3ef..81c01143 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({envversion:49,filenames:["dev/plugins","dev/search_api","index"],objects:{},objnames:{},objtypes:{},terms:{"default":[0,1,2],"function":[0,1],"new":0,"return":0,"static":0,"true":0,"while":[0,2],about:2,activ:1,add:0,addition:2,aggreg:2,anonym:2,attach:0,better:0,both:1,call:0,callback:0,can:[0,2],categori:1,code:0,collect:2,comma:1,compon:0,connect:2,context:0,contribut:2,cooki:2,css:0,css_depend:0,ctx:0,data:2,def:0,default_on:0,descript:[0,1],differ:0,digit:2,disabl:0,document:0,doe:2,encrypt:2,engin:1,engine:2,equival:1,exampl:0,extend:0,fals:0,feel:0,file:0,flask:0,free:0,from:2,get:1,have:1,host:2,how:2,https:2,https_rewrit:0,inform:2,insid:0,installat:2,internet:2,js_depend:0,like:0,list:[0,1],local:0,math:0,method:1,more:0,name:[0,1],net:2,nor:2,number:1,object:0,offer:2,on_result:0,onlin:2,option:[0,1],organis:2,other:2,over:2,overview:2,page:1,pageno:1,parallel:0,parti:2,post:[0,1],post_search:0,pre:0,pre_search:0,profil:2,promot:2,quadratur:2,queri:1,quickstart:2,replac:0,request:0,requir:[0,1],result:[0,2],right:2,run:0,search:0,searx:[0,2],secur:2,see:[0,1],self:2,separ:1,share:2,softwar:2,solver:0,specifi:1,ssl:2,store:2,suggest:0,support:1,syntax:[1,2],thi:0,thing:0,third:2,tor:2,track:2,translat:2,tupl:0,user:2,variou:0,which:2,whole:0,word:0},titles:["Plugins","Search API","Privacy-respecting free metasearch engine"],titleterms:{api:1,current:0,develop:2,document:2,endpoint:1,engin:2,entri:0,example_plugin:0,featur:2,free:2,further:2,hook:0,implement:0,metasearch:2,paramet:1,plugin:0,point:0,privaci:2,read:2,respect:2,search:1,todo:0}}) \ No newline at end of file +Search.setIndex({envversion:49,filenames:["dev/plugins","dev/search_api","index"],objects:{},objnames:{},objtypes:{},terms:{"default":[0,1,2],"function":0,"new":0,"return":0,"static":0,"true":0,"while":2,about:2,activ:1,add:0,addition:2,advis:1,after:0,aggreg:2,all:1,ani:2,anonym:2,attach:0,avail:1,before:0,behaviour:0,both:1,callback:0,can:[0,2],categori:1,code:1,collect:2,comma:1,compon:0,connect:2,context:0,contribut:2,cooki:2,css:0,css_depend:0,ctx:0,data:2,def:0,default_on:0,defin:0,descript:[0,1],digit:2,disabl:0,doe:2,easi:2,encrypt:2,engin:[],engine:2,enpoint:1,entry:0,extend:0,fals:0,feel:0,file:0,fit:0,flask:0,free:[],from:2,furthermor:1,get:1,hidden:1,host:2,how:2,howev:1,https:2,implement:0,inform:2,installat:2,intergr:2,internet:2,js_depend:0,lang:1,languag:1,list:[0,1],local:0,more:2,name:[0,1],net:2,nor:2,now:0,number:1,object:0,offer:2,on_result:0,onli:0,onlin:2,option:[0,1],organis:2,over:2,overview:2,page:1,pageno:1,parti:2,post_search:0,pre_search:0,profil:2,promot:2,quadratur:2,queri:1,quickstart:2,remain:1,replac:0,request:[0,1],requir:1,right:[0,2],run:0,searx:0,secur:2,see:1,self:2,separ:1,share:2,softwar:2,specifi:1,ssl:2,store:2,suggest:0,support:[1,2],syntax:[1,2],than:2,thi:0,third:2,three:0,tor:2,track:2,translat:2,tupl:0,two:1,variou:0,when:0,which:2,whole:0,word:0,your:0},titles:["Plugins","Search API","Welcome to searx"],titleterms:{administr:2,api:1,develop:2,doc:[],document:2,engin:[],entri:0,exampl:0,featur:2,free:[],hook:0,metasearch:[],paramet:1,plugin:0,point:0,post:0,pre:0,privaci:[],respect:[],result:0,search:[0,1],searx:2,user:2,welcom:2}}) \ No newline at end of file diff --git a/user/search_syntax.html b/user/search_syntax.html index b5e6133d..d0df6a1a 100644 --- a/user/search_syntax.html +++ b/user/search_syntax.html @@ -6,7 +6,7 @@ - Search syntax — searx 0.8.0 documentation + Search syntax — searx 0.9.0 documentation @@ -14,7 +14,7 @@ - - + + @@ -90,7 +90,7 @@ list of engines, categories and languages.

    \ No newline at end of file From 0789ba31a0f9996e2aa665fde91b5e53fdd148a0 Mon Sep 17 00:00:00 2001 From: Noemi Vanyi Date: Sat, 9 Jul 2016 23:01:00 +0200 Subject: [PATCH 5/5] disable breaking "searx" into multiple lines --- _static/style.css | 2 ++ docs/_themes/searx_theme/static/style.css_t | 2 ++ 2 files changed, 4 insertions(+) diff --git a/_static/style.css b/_static/style.css index facb30df..12dd187e 100644 --- a/_static/style.css +++ b/_static/style.css @@ -38,6 +38,8 @@ div.bodywrapper { div.sphinxsidebar { width: 220px; + word-wrap: normal !important; + overflow-wrap: normal !important; } hr { diff --git a/docs/_themes/searx_theme/static/style.css_t b/docs/_themes/searx_theme/static/style.css_t index 4a266671..0a312b76 100644 --- a/docs/_themes/searx_theme/static/style.css_t +++ b/docs/_themes/searx_theme/static/style.css_t @@ -38,6 +38,8 @@ div.bodywrapper { div.sphinxsidebar { width: {{ sidebar_width }}; + word-wrap: normal !important; + overflow-wrap: normal !important; } hr {