Skip to content

Commit

Permalink
馃敟 Remove Jina QA Bot as it has been discontinued
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Mar 13, 2024
1 parent 046d3e2 commit 8418e04
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions docs/overrides/main.html
Original file line number Diff line number Diff line change
@@ -1,29 +1 @@
{% extends "base.html" %}
{%- block scripts %}
{{ super() }}
<script src="https://cdn.jsdelivr.net/npm/qabot@0.4"></script>
<script>
// This prevents the global search from interfering with qa-bot's internal text input.
document.addEventListener('DOMContentLoaded', () => {
document.querySelectorAll('qa-bot').forEach((x) => {
x.addEventListener('keydown', (event) => {
event.stopPropagation();
});
});
});
</script>
<qa-bot
server="https://tiangolo-typer.docsqa.jina.ai"
theme="infer"
title="Typer Bot"
description="Typer, build great CLIs. Easy to code. Based on Python type hints."
style="font-size: 0.8rem"
>
<dl>
<dt>You can ask questions about Typer. Try:</dt>
<dd>How can I terminate a program?</dd>
<dd>How to launch applications?</dd>
<dd>How to add help to CLI argument?</dd>
</dl>
</qa-bot>
{%- endblock %}

0 comments on commit 8418e04

Please sign in to comment.