diff --git a/app.py b/app.py index 2772677..8192c07 100644 --- a/app.py +++ b/app.py @@ -55,6 +55,10 @@ def about(): def developers(): return render_template("developers.html") +@app.route("/docs") +def docs(): + return render_template("docs.html") + @app.errorhandler(404) def error404(error): return render_template("error404.html"), 404 diff --git a/templates/docs.html b/templates/docs.html new file mode 100644 index 0000000..70fd7f9 --- /dev/null +++ b/templates/docs.html @@ -0,0 +1,41 @@ += extends "layout.html" + += block title + docs += endblock + += block body +
+ bitshift is a search-engine optimized for source code: beyond supporting searches with the full range of ASCII + symbols, the engine understands code, allowing users to query for metadata, like time of creation/last + modification, programming language, and even symbols like function names and variables. Basic use boils down to + general and advanced searches. + +
+ To perform a "general search," simply place your cursor in the search bar on our home page and begin typing; when + you stop typing for a short period of time, we'll automtically execute a query for you. As you scroll down the + results page, the front-end will query our server and seamlessly load more and more results. +
+ ++ General searches, though, are limited. To allow users to make the best of our engine, we created an advanced + search form that allows the creation of complex queries. + +
+
+ +