Skip to content

Commit b7ae1d2

Browse files
authored
Replace broken chatbot with fixed link to endpoint (#1373)
Instead of rebuilding the chatbot to a static asset and integrating when we need it, there's a new endpoint we can just link to directly. The chatbot UI has updated somewhat to a full-screen (identical to the chatbot here: https://docs.nvidia.com/) <img width="1671" height="833" alt="image" src="https://github.com/user-attachments/assets/fbb16eb5-a6ba-4b5d-aafb-8bd551427562" /> Signed-off-by: Jared Wilber <jwilber@nvidia.com>
1 parent 485a861 commit b7ae1d2

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

docs/docs/assets/javascript/chatbot.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

docs/mkdocs.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ extra_css:
4646
- assets/css/jupyter-themes.css
4747
- assets/css/chatbot.css
4848

49-
extra_javascript:
50-
- assets/javascript/chatbot.js
51-
5249
plugins:
5350
- search
5451
- gen-files:

docs/overrides/main.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,16 @@
3030
// Otherwise, keep the original outdated banner visible (default behavior)
3131
</script>
3232
{% endblock %}
33-
3433
{% block styles %} {{ super() }}
3534
<link rel="stylesheet" href="{{ 'assets/css/chatbot.css' | url }}" />
36-
{% endblock %} {% block scripts %} {{ super() }}
37-
<script src="{{ 'assets/javascripts/chatbot.js' | url }}"></script>
38-
{% endblock %} {% block content %} {{ super() }}
35+
{% endblock %}
36+
37+
{% block scripts %}
38+
{{ super() }}
39+
<script src="https://d4j85rjepgcta.cloudfront.net/nvidiadocs/chatbot.js"></script>
40+
{% endblock %}
41+
42+
{% block content %}
43+
{{ super() }}
3944
<div id="chatbot"></div>
4045
{% endblock %}

0 commit comments

Comments
 (0)