]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
:sparkles: Add Gitter chat to docs (#1061)
authorAakash Nand <14219201+aakashnand@users.noreply.github.com>
Fri, 27 Mar 2020 14:32:15 +0000 (23:32 +0900)
committerGitHub <noreply@github.com>
Fri, 27 Mar 2020 14:32:15 +0000 (15:32 +0100)
* implemented chat feature using sidecar from starlette docs

* :fire: Use external Gitter sidecar JS

* :sparkles: Re-implement Gitter chat after multi-lang

* :fire: Remove moved file

Co-authored-by: Aakash Nand <aakashnand@nttv6.jp>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
docs/en/docs/js/chat.js [new file with mode: 0644]
docs/en/mkdocs.yml

diff --git a/docs/en/docs/js/chat.js b/docs/en/docs/js/chat.js
new file mode 100644 (file)
index 0000000..debdef4
--- /dev/null
@@ -0,0 +1,3 @@
+((window.gitter = {}).chat = {}).options = {
+    room: 'tiangolo/fastapi'
+};
index eb3b54e9481cddaf0fe3fb061f2fdf193cf2dd57..6fbaf960cdab33f8ae40f69acfc026dd1ecc0ed6 100644 (file)
@@ -145,3 +145,5 @@ extra_javascript:
 - https://unpkg.com/mermaid@8.4.6/dist/mermaid.min.js
 - js/termynal.js
 - js/custom.js
+- js/chat.js
+- https://sidecar.gitter.im/dist/sidecar.v1.js