main.html
This file
Path
docs/overrides/main.html
29 lines · 915 bytes · HTML
Last changed by
📝 Add Jina's QA Bot to the docs to help people that want to ask quick questions (#368)Sebastián Ramírezbefore adoption51646df
History of this fileTake it
📝 Add Jina's QA Bot to the docs to help people that want to ask quick questions (#368)Sebastián Ramírezbefore adoption51646df
lines 1–29why, one step back1{% extends "base.html" %}2{%- block scripts %}3{{ super() }}4<script src="https://cdn.jsdelivr.net/npm/qabot@0.4"></script>5<script>6 // This prevents the global search from interfering with qa-bot's internal text input.7 document.addEventListener('DOMContentLoaded', () => {8 document.querySelectorAll('qa-bot').forEach((x) => {9 x.addEventListener('keydown', (event) => {10 event.stopPropagation();11 });12 });13 });14</script>15<qa-bot 16 server="https://tiangolo-typer.docsqa.jina.ai" 17 theme="infer" 18 title="Typer Bot"19 description="Typer, build great CLIs. Easy to code. Based on Python type hints."20 style="font-size: 0.8rem"21>22 <dl>23 <dt>You can ask questions about Typer. Try:</dt>24 <dd>How can I terminate a program?</dd>25 <dd>How to launch applications?</dd>26 <dd>How to add help to CLI argument?</dd>27 </dl>28</qa-bot>29{%- endblock %}