mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-13 08:12:48 +02:00
feat: prototype blog & docs generation on dev
This commit is contained in:
parent
187a46d9b6
commit
221023fd51
12 changed files with 181 additions and 37 deletions
11
lib/core/blog/index.js
Normal file
11
lib/core/blog/index.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
import React from 'react';
|
||||
import MarkdownBlock from '../markdown';
|
||||
|
||||
class Docs extends React.Component {
|
||||
render() {
|
||||
const {content, siteConfig} = this.props;
|
||||
return <MarkdownBlock siteConfig={siteConfig}>{content}</MarkdownBlock>;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Docs;
|
Loading…
Add table
Add a link
Reference in a new issue