Files
cypress/docs
2017-08-31 14:04:16 -04:00
..
2017-08-28 22:25:18 -04:00
2017-08-28 22:25:18 -04:00
2017-08-28 22:25:18 -04:00
2017-08-25 16:57:24 -04:00
2017-08-28 22:25:18 -04:00
2017-08-09 15:51:04 -04:00
2017-08-09 16:11:01 -04:00
2017-06-11 18:26:31 -04:00
2017-08-28 22:25:18 -04:00
2017-08-29 13:15:43 -04:00
2017-08-28 22:25:18 -04:00
2017-07-04 21:20:24 -04:00

Cypress Documentation

The code for Cypress' Documentation including Guides, API, Examples, Dashboard & FAQ.

Contributing

Please see our Documentation Contributing Guideline

Installing Dependencies

npm install

npm run build

Starting the server

npm start

Visit http://localhost:2222/

Writing Docs

Links are all handled through our cypress.on api.

Link all pages but their name (property key) in source/_data/sidebar.yml

Linting

Danger 📛: because we are minifying client side code using Hexo plugin which in turn calls uglify, the code should be strictly ES5. Thus everything inside the theme should be linted with ES5 settings and not upgraded to ES6.

Deploying

Preferred: deploy from CI

Look at circle.yml file in the root of the repo. It should have deploy-docs-staging and deploy-docs-production jobs, which only are triggered for right branch and only after tests pass.

Should not be required: manual deploy

npm run deploy

Look at scripts in cy_scripts folder for deployment steps.