Git Product home page Git Product logo

fastify-website's Introduction

Fastify Website

This website is built using Docusaurus 2, a modern static website generator.

Local Development

Installation

npm install

Setup

Before we start the development server we will need to fetch some of the docs from Fastify Repo. This requires Github CLI to be installed which can be found here.

After installing GitHub CLI ensure you are logged in by running;

gh auth login

Once Github CLI is setup you can proceed to run the build below command that will setup your project locally.

npm run build:website

The command will:

  • Download all the Fastify's releases from GitHub
  • Process each release to generate the versioned Docusaurus documentation
  • Generate the static website

During this process:

  • versions.json is generated when building the website

By running npm run serve, you will load locally the production build from the /build folder.

Run

$ npm start

This command starts a local development server and opens up a browser window.
Most changes are reflected live without having to restart the server.

Note that only the documentations listed in the versions.json file will be available.
So, if you have a long version list, your local enviroment will be slowed down.

Deployment

The website is deployed to GitHub pages using the gh-pages branch when a merge to main is done.

Good to know

  • Read here for the specs
  • If the markdown file from the main repo has a # Title, the title will be used as the sidebar label
  • The /docs/latest/ URL is implemented by a named version of the most recent version
  • The /docs/master/ URL is implemented by redirecting to the /docs/latest/ URL

fastify-website's People

Contributors

eomm avatar dependabot[bot] avatar xhale1 avatar hassanbahati avatar uzlopak avatar climba03003 avatar shogunpanda avatar fanciulli avatar kyle-villeneuve avatar augustinmauroy avatar aradwann avatar kostyazgara avatar luisorbaiceta avatar mcollina avatar micheleriva avatar yamanidev avatar pablovilas avatar rozzilla avatar yashkc2025 avatar kadoshita avatar yurist38 avatar zrosenbauer avatar huckels avatar kidsysco avatar 10xlacroixdrinker avatar jsumners avatar james-kaguru avatar gurgunday avatar giovym avatar rubiagatra avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.