Skip to content

Commit 1ed0f61

Browse files
authored
Remove blog rss and add gitter (#82)
close #81
1 parent 8cb2989 commit 1ed0f61

File tree

4 files changed

+27
-13
lines changed

4 files changed

+27
-13
lines changed

website/docusaurus.config.js

+19-6
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,29 @@ module.exports = {
9191
editUrl:
9292
'https://github.com/simplexspatial/osm4scala/edit/master/website/',
9393
},
94-
// blog: {
95-
// showReadingTime: true,
96-
// // Please change this to your repo.
97-
// editUrl:
98-
// 'https://github.com/facebook/docusaurus/edit/master/website/blog/',
99-
// },
94+
blog: {
95+
feedOptions: {
96+
type: null,
97+
},
98+
// showReadingTime: true,
99+
// // Please change this to your repo.
100+
// editUrl:
101+
// 'https://github.com/facebook/docusaurus/edit/master/website/blog/',
102+
},
100103
theme: {
101104
customCss: require.resolve('./src/css/custom.css'),
102105
},
103106
},
104107
],
105108
],
109+
scripts: [
110+
'gitter_conf.js',
111+
{
112+
src: 'https://sidecar.gitter.im/dist/sidecar.v1.js',
113+
async: true,
114+
defer: true
115+
},
116+
],
106117
};
118+
119+

website/src/css/custom.css

+5
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@
2323
margin: 0 calc(-1 * var(--ifm-pre-padding));
2424
padding: 0 var(--ifm-pre-padding);
2525
}
26+
27+
28+
.gitter-chat-embed {
29+
z-index: 10000;
30+
}

website/src/pages/markdown-page.md

-7
This file was deleted.

website/static/gitter_conf.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
((window.gitter = {}).chat = {}).options = {
2+
room: 'osm4scala/talk',
3+
};

0 commit comments

Comments
 (0)