Skip to content

Commit 097a956

Browse files
ckipp01olsdavis
authored andcommitted
migrate gitter links to discord
This follows up the announcement made on https://www.scala-lang.org/blog/2021/12/21/discord.html that Discord is now the official Scala chat.
1 parent 0e1205c commit 097a956

File tree

6 files changed

+4
-45
lines changed

6 files changed

+4
-45
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Dotty
22
=====
33
[![Dotty CI](https://github.com/lampepfl/dotty/workflows/Dotty/badge.svg?branch=master)](https://github.com/lampepfl/dotty/actions?query=branch%3Amaster)
4-
[![Join the chat at https://gitter.im/scala/scala](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/scala/scala?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
4+
[![Join the chat at https://discord.com/invite/scala](https://img.shields.io/discord/632150470000902164)](https://img.shields.io/discord/632150470000902164)
55

66
* [Homepage](https://dotty.epfl.ch)
77
* [Documentation](https://dotty.epfl.ch/docs)
@@ -18,7 +18,7 @@ Building a Local Distribution
1818
Code of Conduct
1919
===============
2020
Dotty uses the [Scala Code of Conduct](https://www.scala-lang.org/conduct.html)
21-
for all communication and discussion. This includes both GitHub, Gitter chat and
21+
for all communication and discussion. This includes both GitHub, Discord and
2222
other more direct lines of communication such as email.
2323

2424
How to Contribute

docs/_layouts/main.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,3 @@
88
<div id="content-wrapper">
99
{{ content }}
1010
</div>
11-
<script>
12-
((window.gitter = {}).chat = {}).options = {
13-
room: 'scala/scala'
14-
};
15-
</script>
16-
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>

docs/css/dottydoc.css

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -211,21 +211,6 @@ aside.success {
211211
background-color: #ebfddd;
212212
}
213213

214-
/* gitter chat */
215-
.gitter-open-chat-button {
216-
background-color: grey;
217-
}
218-
.gitter-open-chat-button:focus, .gitter-open-chat-button:hover {
219-
background-color: var(--primary);
220-
}
221-
.gitter-open-chat-button:focus {
222-
box-shadow: 0 0 8px var(--primary);
223-
}
224-
.gitter-chat-embed {
225-
top: 40px; /* 50px (navbar) - 10px (aside's margin) */
226-
bottom: -10px;
227-
}
228-
229214
/* media queries for bigger screens (dottydoc is mobile-first) */
230215
@media (min-width: 576px) {
231216
.byline .author {
@@ -252,20 +237,6 @@ aside.success {
252237
}
253238
}
254239

255-
.gitter-open-chat-button {
256-
writing-mode: vertical-lr;
257-
text-orientation: upright;
258-
right: 0px;
259-
bottom: 100px;
260-
padding: 0.5em 0.25em 0.5em 0.25em;
261-
border-bottom-left-radius: .5em;
262-
border-top-right-radius: 0em;
263-
}
264-
265-
.gitter-open-chat-button.is-collapsed {
266-
transform: translateX(120%);
267-
}
268-
269240
header {
270241
position: static !important;
271242
width: 100% !important;

docs/css/frontpage.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,6 @@ pre, code {
119119
line-height: 1.75em;
120120
}
121121

122-
/* gitter chat */
123-
.gitter-chat-embed {
124-
top: 0;
125-
bottom: 0;
126-
}
127-
128122
aside {
129123
margin: 0;
130124
padding: 0;

project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ object Build {
329329
"-project-logo", "docs/logo.svg",
330330
"-social-links:" +
331331
"github::https://github.com/lampepfl/dotty," +
332-
"gitter::https://gitter.im/scala/scala," +
332+
"discord::https://discord.com/invite/scala," +
333333
"twitter::https://twitter.com/scala_lang",
334334
// contains special definitions which are "transplanted" elsewhere
335335
// and which therefore confuse Scaladoc when accessed from this pkg

project/scripts/cmdScaladocTests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dist/target/pack/bin/scaladoc \
3030
"-skip-by-regex:.+\.internal($|\..+)" \
3131
"-skip-by-regex:.+\.impl($|\..+)" \
3232
-project-logo docs/logo.svg \
33-
-social-links:github::https://github.com/lampepfl/dotty,gitter::https://gitter.im/scala/scala,twitter::https://twitter.com/scala_lang \
33+
-social-links:github::https://github.com/lampepfl/dotty,discord::https://discord.com/invite/scala,twitter::https://twitter.com/scala_lang \
3434
-Ygenerate-inkuire \
3535
"-skip-by-id:scala.runtime.stdLibPatches" \
3636
"-skip-by-id:scala.runtime.MatchCase" \

0 commit comments

Comments
 (0)