RandomSec/docs
Kush Trivedi 070d16517b
feat: Move to Yarn Package Manager (#2564)
* fix: Discrepancies in lock.json after setting up docs

* Move to yarn engine from npm

* ignore lock.json
2020-04-20 13:31:52 +02:00
..
core Initial structure for Docusaurus docs, for #2273 2020-04-03 16:22:47 +02:00
src Apply suggestions from Thad's review 2020-04-09 15:25:19 +02:00
static Initial structure for Docusaurus docs, for #2273 2020-04-03 16:22:47 +02:00
.gitignore feat: Move to Yarn Package Manager (#2564) 2020-04-20 13:31:52 +02:00
package.json Set up docs deployment process with Netlify (#2567) 2020-04-20 12:17:38 +02:00
README.md Set up docs deployment process with Netlify (#2567) 2020-04-20 12:17:38 +02:00
sidebars.json Flesh out the documentation for the key/value columnize operation. 2020-04-09 14:42:49 +02:00
siteConfig.js Set up docs deployment process with Netlify (#2567) 2020-04-20 12:17:38 +02:00
yarn.lock feat: Move to Yarn Package Manager (#2564) 2020-04-20 13:31:52 +02:00

How to build these docs

We use Docusaurus for our docs. Assuming you have Node.js installed (which includes npm), you can install Docusaurus with:

You will need to install Yarn before you can build the site.

npm install -g yarn

Once you have installed yarn, navigate to docs directory & set-up the dependencies.

cd docs
yarn

Once this is done, generate the docs with:

yarn build

You can also spin a local web server to serve the docs for you, with auto-refresh when you edit the source files, with:

yarn start