Skip to content

Latest commit

 

History

History
84 lines (58 loc) · 2.5 KB

1.installation.md

File metadata and controls

84 lines (58 loc) · 2.5 KB

Installation

Setting up beautiful documentation with Docus is one command away 🤙

Docus is a pre-configured Nuxt application, with Windi CSS and Nuxt Content.

System Requirements

  • Node.js 12 or later
  • MacOS, Windows, and Linux are supported

Quick start

GitHub Template

Start your documentation in a new GitHub repository by using our GitHub template:

::button-link{size="medium" blank href="https://github.com/nuxtlabs/docus-starter/generate"} Create a repo with the Docus starter ::

Download locally

You can download the starter locally using degit. This allows you to add documentation to your existing repository.

npx degit nuxtlabs/docus-starter#main docs

This command will create a new folder named docs/ and download the Docus starter inside.

Vercel Template

Vercel lets you set up the starter on your favorite Git provider (GitHub, GitLab or Bitbucket) - and deploy for free.

::button-link{blank href="https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Fnuxtlabs%2Fdocus-starter"} Create and deploy using Vercel ::

See it in action:

::video-player{loop playsinline controls} sources:


::

Directory Structure

The directory structure of a minimal Docus project is the following:

| content/
---| index.md
---| settings.json
| static/
---| icon.png
---| preview.png
| nuxt.config.js
| package.json

Start docus

Start docus in development mode:

yarn dev

The development server will listen on http://localhost:4000

Checkout the Deployment section when you are ready to publish your documentation.