Skip to content

Commit

Permalink
Merge pull request scala#3180 from dotty-staging/chat-in-docs
Browse files Browse the repository at this point in the history
Add chat widget in the docs
  • Loading branch information
smarter authored Sep 26, 2017
2 parents 7aa71f0 + 4bad8c9 commit 2b9d346
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc-tool/resources/_layouts/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,12 @@
}
});
</script>

<script>
((window.gitter = {}).chat = {}).options = {
room: 'lampepfl/dotty'
};
</script>
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>
</body>
</html>
4 changes: 4 additions & 0 deletions doc-tool/resources/css/dottydoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -270,3 +270,7 @@ aside.success {
border-left: 3px solid #36bf1d;
background-color: #ebfddd;
}

.gitter-open-chat-button {
background-color: gray;
}

0 comments on commit 2b9d346

Please sign in to comment.