aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/api
diff options
context:
space:
mode:
authorzsloan2024-07-01 19:40:07 +0000
committerzsloan2024-07-01 19:40:07 +0000
commit0ba243e6ed4af57c8638bfe8a81ec5551589d96a (patch)
treee2cc2c9828fe30ba920435e5517421eb8c65eba7 /gn2/wqflask/api
parentdeb8d7241f1ca05865fababc2799ead9a684f8be (diff)
downloadgenenetwork2-0ba243e6ed4af57c8638bfe8a81ec5551589d96a.tar.gz
Link to global search syntax document as markdown on github
Diffstat (limited to 'gn2/wqflask/api')
-rw-r--r--gn2/wqflask/api/markdown.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/gn2/wqflask/api/markdown.py b/gn2/wqflask/api/markdown.py
index 580b9ac0..aa7dd3c4 100644
--- a/gn2/wqflask/api/markdown.py
+++ b/gn2/wqflask/api/markdown.py
@@ -24,6 +24,7 @@ links_blueprint = Blueprint("links_blueprint", __name__)
policies_blueprint = Blueprint("policies_blueprint", __name__)
facilities_blueprint = Blueprint("facilities_blueprint", __name__)
news_blueprint = Blueprint("news_blueprint", __name__)
+xapian_syntax_blueprint = Blueprint("xapian_syntax_blueprint", __name__)
blogs_blueprint = Blueprint("blogs_blueprint", __name__)
@@ -117,6 +118,13 @@ def news():
rendered_markdown=render_markdown("general/news/news.md")), 200
+@xapian_syntax_blueprint.route('/')
+def xapian():
+ return render_template(
+ "search-syntax.html",
+ rendered_markdown=render_markdown("general/search/xapian_syntax.md")), 200
+
+
@environments_blueprint.route("/")
def environments():