Docs

screenshot of Docs

Overview

The website mentioned in the content is built using Docusaurus 2, which is a modern static website generator. Docusaurus 2 allows for easy and efficient website development by generating static content that can be served using any static content hosting service.

Features

  • Modern static website generator: Docusaurus 2 utilizes modern techniques to generate static content for websites.
  • Development server: The website can be tested on a local development server with live updates.
  • Easy deployment: The website can be easily deployed using SSH or GitHub pages for hosting.

Local Development

  1. Start a local development server and open a browser window using the following command:
    docusaurus start
    
    This command will reflect most changes live without needing to restart the server.

Build

  1. Generate static content into the build directory using the following command:
    docusaurus build
    
    The static content can be served using any static content hosting service.

Deployment

Using SSH

  1. Deploy the website using SSH by following the steps below:
    • Step 1
    • Step 2
    • Step 3

Not using SSH

  1. If GitHub pages are used for hosting, the website can be built and pushed to the gh-pages branch using the following command:
    docusaurus deploy
    
    This command provides a convenient way to handle the deployment process.

Summary

The mentioned website is built using Docusaurus 2, a modern static website generator. It offers features such as easy deployment, a local development server for testing, and the ability to generate static content that can be served using any static content hosting service. The installation process involves starting a local development server and building the static content, and the deployment process can be done either using SSH or through GitHub pages.