Tutorial Intro
Let's discover Docusaurus in less than 5 minutes.
Getting Started
Get started by creating a new site.
Or try Docusaurus immediately with docusaurus.new.
Generate a new site
- Generate a new Docusaurus site using the classic template:
npm init docusaurus@latest my-website classic
- Install the package
npm i @ifood/docusaurus-theme
- Push the theme to the themes array in
docusaurus.config.js
...
projectName: 'docusaurus', // Usually your repo name.
themes: [
'@ifood/docusaurus-theme'
],
presets: [
...
Start your site
Run the development server:
cd my-website
npx docusaurus start
Your site starts at http://localhost:3000
.
Open docs/intro.md
and edit some lines: the site reloads automatically and displays your changes.