Skip to content

guess-js/guess-js.github.io

Repository files navigation

Website of Guess.js

This repository contains the source code for guessjs.com.

Developing

npm i -g gatsby
git clone [email protected]:guess-js/guessjs.com && cd guessjs.com
npm i
gatsby develop

Deployment

For deployment, you need the guess repository in a sibling directory of the docs in order to generate API documentation:

git clone [email protected]:guess-js/guess
git clone [email protected]:guess-js/guessjs.com && cd guessjs.com
npm i
npm run build
git add .
git commit -am 'Publishing the docs'
git push origin master

Adding a Guide

To add a guide, create a markdown file in the content directory. To add a link to the guide in the "Docs" page, edit src/components/docs-layout/index.js and add a new entry in the renderSidebar method.

License

MIT