Skip to content

shiffman/ml5-website

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ml5 Website

This website is built with Docusaurus.

Docusaurus is an open-source library, built with React, to create and maintain documentation websites.

Contributing

The website source is in the source branch. The site is served from master.

Almost all the content for the website can be found in markdown under the docs/ folder at the root level of the repository.

The naming convention we are using is the following:

  • Examples are named: examples-[name of example].md
  • API Reference files are named: api-[Class].md
  • Glossary: glossary-[type].md

When you add a new page, remember to add the page id to the respective category in the website/sidebars.json file.

If you wish to help develop the website, first you'll need to install the necessary dependencies for Docusaurus.

Clone this repo and

git clone https://github.com/ml5js/ml5-website.git
cd ml5-website
cd website/
npm install

And then start the development server from inside the website/ directory:

npm run start

This will start a server that reloads when changes are made to the website source code.

To build the website run this script from the website/ directory:

npm run build

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 48.5%
  • HTML 27.2%
  • CSS 24.3%