forked from apache/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
contributing.js
35 lines (28 loc) · 955 Bytes
/
contributing.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
const React = require('react');
const CompLibrary = require('../../core/CompLibrary');
const MarkdownBlock = CompLibrary.MarkdownBlock; /* Used to read markdown */
const Container = CompLibrary.Container;
const GridBlock = CompLibrary.GridBlock;
const CWD = process.cwd();
const siteConfig = require(`${CWD}/siteConfig.js`);
const contributing = require('fs').readFileSync(`${CWD}/contributing.md`, 'utf8')
class Contributing extends React.Component {
render() {
return (
<div className="pageContainer">
<Container className="mainContainer documentContainer postContainer">
<div className="post">
<header className="postHeader">
<h1>Contributing to Apache Pulsar</h1>
<hr />
</header>
<MarkdownBlock>
{contributing}
</MarkdownBlock>
</div>
</Container>
</div>
);
}
}
module.exports = Contributing;