This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir criando-site-lp-docs-docusaurus | |
cd criando-site-lp-docs-docusaurus | |
docusaurus-init | |
cd criando-site-lp-docs-docusaurus/website | |
npm start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//demais configurações | |
const siteConfig = { | |
title: 'Post sobre docusaurus', | |
tagline: 'Um site sobre o docusaurus', | |
//restante dos atributos de configurações | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//restante dos atributos de configurações | |
/* Colors for website */ | |
colors: { | |
primaryColor: '#2e8555', | |
secondaryColor: '#388b5d', | |
}, | |
//restante dos atributos de configurações |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//restante dos atributos de configurações | |
/* path to images for header/footer */ | |
headerIcon: 'img/docusaurus.svg', | |
footerIcon: 'img/docusaurus.svg', | |
favicon: 'img/docusaurus.ico', | |
//restante dos atributos de configurações |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//restante dos atributos de configurações | |
// This copyright info is used in /core/Footer.js and blog RSS/Atom feeds. | |
copyright: `Copyright © ${new Date().getFullYear()} Post sobre docusaurus`, | |
//restante dos atributos de configurações |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copyright (c) 2017-present, Facebook, Inc. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE file in the root directory of this source tree. | |
*/ | |
const React = require('react'); | |
const CompLibrary = require('../../core/CompLibrary.js'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// restante das configurações do arquivo website/siteConfig.js | |
//Social Media Config | |
facebookAppId: '', | |
facebookComments: '', | |
facebookPixelId: '', | |
twitter: true, | |
twitterUsername: 'paulodutrainfo' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: Iniciando com o Docusaurus | |
author: Paulo Dutra | |
authorURL: http://paulodutrainfo.com.br | |
authorFBID: 100002918863369 | |
--- | |
Exemplo de post utilizando o docusaurus | |
<!--truncate--> |