mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-22 05:27:00 +02:00
wip init
This commit is contained in:
parent
9017fb9b1d
commit
2b37b51b36
12 changed files with 221 additions and 0 deletions
|
@ -239,6 +239,7 @@ export default async function createConfigAsync() {
|
|||
],
|
||||
themes: ['live-codeblock', ...dogfoodingThemeInstances],
|
||||
plugins: [
|
||||
'showcase',
|
||||
[
|
||||
'./src/plugins/changelog/index.js',
|
||||
{
|
||||
|
|
12
website/src/components/Showcase.js
Normal file
12
website/src/components/Showcase.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
/* eslint-disable @docusaurus/no-untranslated-text */
|
||||
import React from 'react';
|
||||
|
||||
export default function ShowcaseComponent(props) {
|
||||
return <div>Your friends are : {props.content.author}</div>;
|
||||
}
|
4
website/src/showcase/authors.json
Normal file
4
website/src/showcase/authors.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"author": "John Doe",
|
||||
"title": "My first blog post"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue