Official website of the WebdriverIO project
To deploy the website to the server, you will need the following dependencies installed on the machine
- NodeJS
- SASS (
gem install sass) - Compass (
gem install compass) - Hexo v3.1 (
npm install hexo-cli -g) - YUI compressor (
brew install yuicompressor) - only required for deployment
First download the repository:
$ git clone [email protected]:webdriverio/webdriver.io.gitNext install dependencies:
$ npm install -g hexo-cli
$ npm installNow build page with latest webdriverio docs
$ hexo wdio buildand generate the assets using Compass
$ hexo wdio compassThat's it. You can now run the server with:
$ hexo serverTo generate the markdown pages and static files run the following command:
$ hexo wdio build all
$ hexo deployIt installs all dependencies, generates the markdown files from the current WebdriverIO version on NPM, renders all templates to static html files and generates and minifies assets. All necessary files should be located in a single directory called public. Last but not least let the domain point to this directory. That's it.
Make sure you have the documentation content copied into the source directory. We keep all documentation within the main repository (github.com/webdriverio/webdriverio). Just run hexo wdio getDocs and restart the server.