123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
-
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>How to contribute — searx 0.12.0 documentation</title>
- <link rel="stylesheet" href="../_static/style.css" type="text/css" />
- <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
- <script type="text/javascript" src="../_static/documentation_options.js"></script>
- <script type="text/javascript" src="../_static/jquery.js"></script>
- <script type="text/javascript" src="../_static/underscore.js"></script>
- <script type="text/javascript" src="../_static/doctools.js"></script>
- <link rel="index" title="Index" href="../genindex.html" />
- <link rel="search" title="Search" href="../search.html" />
- <link rel="next" title="Engine overview" href="engine_overview.html" />
- <link rel="prev" title="Development Quickstart" href="quickstart.html" />
-
-
- <link media="only screen and (max-device-width: 480px)" href="../_static/small_flask.css" type= "text/css" rel="stylesheet" />
- <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
-
- </head><body>
-
- <div class="document">
- <div class="documentwrapper">
- <div class="bodywrapper">
- <div class="body" role="main">
-
- <div class="section" id="how-to-contribute">
- <h1>How to contribute<a class="headerlink" href="#how-to-contribute" title="Permalink to this headline">¶</a></h1>
- <div class="section" id="prime-directives-privacy-hackability">
- <h2>Prime directives: Privacy, Hackability<a class="headerlink" href="#prime-directives-privacy-hackability" title="Permalink to this headline">¶</a></h2>
- <p>Searx has two prime directives, privacy-by-design and hackability. The
- hackability comes in three levels:</p>
- <ul class="simple">
- <li>support of search engines</li>
- <li>plugins to alter search behaviour</li>
- <li>hacking searx itself</li>
- </ul>
- <p>Note the lack of “world domination” among the directives.
- Searx has no intention of wide mass-adoption, rounded
- corners, etc. The prime directive “privacy” deserves a separate
- chapter, as it’s quite uncommon unfortunately.</p>
- <div class="section" id="privacy-by-design">
- <h3>Privacy-by-design<a class="headerlink" href="#privacy-by-design" title="Permalink to this headline">¶</a></h3>
- <p>Searx was born out of the need for a privacy-respecting search tool
- which can be extended easily to maximize both its search and its
- privacy protecting capabilities.</p>
- <p>A few widely used features work differently or turned off by default or not implemented
- at all as a consequence of privacy-by-design.</p>
- <p>If a feature reduces the privacy preserving aspects of searx, it
- should be switched off by default or should not implemented at all.
- There are plenty of search engines already providing such features.
- If a feature reduces the protection of searx, users must be
- informed about the effect of choosing to enable it. Features
- that protect privacy but differ from the expectations of the
- user should also be explained.</p>
- <p>Also, if you think that something works weird with searx,
- it’s might be because of the tool you use is designed in a way to interfere with
- the privacy respect. Submitting a bugreport to the vendor of the tool that
- misbehaves might be a good feedback to reconsider the disrespect to
- its customers (e.g. GET vs POST requests in various browsers).</p>
- <p>Remember the other prime directive of searx is to be hackable, so if the
- above privacy concerns do not fancy you, simply fork it.</p>
- <p>Happy hacking.</p>
- </div>
- </div>
- <div class="section" id="code">
- <h2>Code<a class="headerlink" href="#code" title="Permalink to this headline">¶</a></h2>
- <p>In order to submit a patch, please follow the steps below:</p>
- <ul class="simple">
- <li>Follow coding conventions.<ul>
- <li>PEP8 standards apply, except the convention of line length</li>
- <li>Maximum line length is 120 characters</li>
- </ul>
- </li>
- <li>Check if your code breaks existing tests. If so, update the tests or fix your code.</li>
- <li>If your code can be unit-tested, add unit tests.</li>
- <li>Add yourself to the AUTHORS file.</li>
- <li>Create a pull request.</li>
- </ul>
- <p>For more help on getting started with searx development, see <a class="reference internal" href="quickstart.html#devquickstart"><span class="std std-ref">Development Quickstart</span></a>.</p>
- </div>
- <div class="section" id="translation">
- <h2>Translation<a class="headerlink" href="#translation" title="Permalink to this headline">¶</a></h2>
- <p>Translation currently takes place on
- <a class="reference external" href="https://transifex.com/projects/p/searx">transifex</a>.</p>
- <p><strong>Please, do not update translation files in the repo.</strong></p>
- </div>
- <div class="section" id="documentation">
- <h2>Documentation<a class="headerlink" href="#documentation" title="Permalink to this headline">¶</a></h2>
- <p>The documentation is built using Sphinx. So in order to be able to generate the required
- files, you have to install it on your system. (It can be installed easily using pip.)</p>
- <ol class="arabic simple">
- <li>Checkout the gh-pages branch.</li>
- <li>Edit the rst file you wish to update. Or create a new rst file and place it under the appropriate folder.</li>
- <li>Build the documentation using Sphinx.</li>
- <li>Add the updated and created files of these extension:<ul>
- <li>.rst</li>
- <li>.html</li>
- <li>.txt</li>
- </ul>
- </li>
- </ol>
- <ol class="arabic simple" start="6">
- <li>Create a pull request.</li>
- </ol>
- </div>
- </div>
-
-
- </div>
- </div>
- </div>
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
- <div class="sphinxsidebarwrapper">
- <h3><a href="../index.html">Table Of Contents</a></h3>
- <ul>
- <li><a class="reference internal" href="#">How to contribute</a><ul>
- <li><a class="reference internal" href="#prime-directives-privacy-hackability">Prime directives: Privacy, Hackability</a><ul>
- <li><a class="reference internal" href="#privacy-by-design">Privacy-by-design</a></li>
- </ul>
- </li>
- <li><a class="reference internal" href="#code">Code</a></li>
- <li><a class="reference internal" href="#translation">Translation</a></li>
- <li><a class="reference internal" href="#documentation">Documentation</a></li>
- </ul>
- </li>
- </ul>
- <div class="sidebar_container body">
- <h1>Searx</h1>
- <ul>
- <li><a href="../index.html">Home</a></li>
- <li><a href="https://github.com/asciimoo/searx">Source</a></li>
- <li><a href="../blog/blog.html">Blog</a></li>
- <li><a href="https://github.com/asciimoo/searx/wiki">Wiki</a></li>
- <li><a href="https://github.com/asciimoo/searx/wiki/Searx-instances">Public instances</a></li>
- </ul>
- <hr />
- <ul>
- <li><a href="https://twitter.com/Searx_engine">Twitter</a></li>
- </ul>
- </div>
- <div role="note" aria-label="source link">
- <h3>This Page</h3>
- <ul class="this-page-menu">
- <li><a href="../_sources/dev/contribution_guide.rst.txt"
- rel="nofollow">Show Source</a></li>
- </ul>
- </div>
- <div id="searchbox" style="display: none" role="search">
- <h3>Quick search</h3>
- <div class="searchformwrapper">
- <form class="search" action="../search.html" method="get">
- <input type="text" name="q" />
- <input type="submit" value="Go" />
- <input type="hidden" name="check_keywords" value="yes" />
- <input type="hidden" name="area" value="default" />
- </form>
- </div>
- </div>
- <script type="text/javascript">$('#searchbox').show(0);</script>
- </div>
- </div>
- <div class="clearer"></div>
- </div>
- <div class="footer">
- © Copyright 2015-2017, Adam Tauber.
- </div>
- </body>
- </html>
|