Skip to main content

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

  1. Generate a new Docusaurus site using the classic template:
npm init docusaurus@latest my-website classic
  1. Install the package
npm i @ifood/docusaurus-theme
  1. 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.