Add Gitter chat to docs (#1061)

* implemented chat feature using sidecar from starlette docs

* 🔥 Use external Gitter sidecar JS

*  Re-implement Gitter chat after multi-lang

* 🔥 Remove moved file

Co-authored-by: Aakash Nand <aakashnand@nttv6.jp>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Aakash Nand 2020-03-27 23:32:15 +09:00 committed by GitHub
parent 433d7862ea
commit 2738df3801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

3
docs/en/docs/js/chat.js Normal file
View File

@ -0,0 +1,3 @@
((window.gitter = {}).chat = {}).options = {
room: 'tiangolo/fastapi'
};

View 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