Skip to content
Myr

main.html

This file

Path

docs/overrides/main.html

29 lines · 912 bytes · HTML

Last changed by

🔧 Add pre-commit config and formatting (#392)Sebastián Ramírezbefore adoptiona1ee411

History of this file

Take 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–14why, one step back
1{% 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>

🔧 Add pre-commit config and formatting (#392)Sebastián Ramírezbefore adoptiona1ee411

lines 15–17why, one step back
15<qa-bot
16 server="https://tiangolo-typer.docsqa.jina.ai"17 theme="infer"

📝 Add Jina's QA Bot to the docs to help people that want to ask quick questions (#368)Sebastián Ramírezbefore adoption51646df

lines 18–29why, one step back
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 %}