Getting started

You install the R theme by running an npx command.

Before you begin#

  • Install NodeJS.
  • Install Yarn.

For more information, see Docusaurus Requirements.

Initialize a site project#

  1. In a terminal application, navigate to the directory where you want to create your site.
    Example: Enter cd desktop.
  2. Enter npx @docusaurus/init@latest init [<my_site>] [https://github.com/rafalkaron/r-docusaurus-theme.git],
    where <my_site> is the name of your site. For example my-dino.

Run the development server#

  1. In a terminal application, navigate to your site project directory.
    Example: Enter cd my-dino.
  2. Enter yarn run start.

Next steps#