inspec/www
hannah-radish 9bf72b4fa1 Bug fixes + New Elements
** Fixed 404 pages on mobile
** Colored links when on correct page for Nav (probably, a better way
to handle this..but it works for now)
** Changed horizontal parallax to vertical
** Per Kaiv’s request slowed down grid animation
** Per Kaiv’s request added a little “code snippet” preview when plus
icon on homepage is clicked.
2017-01-22 18:50:12 -08:00
..
data Cross-browser support for Moz, safari, google 2017-01-20 10:26:47 +01:00
lib Cross-browser support for Moz, safari, google 2017-01-20 10:26:47 +01:00
source Bug fixes + New Elements 2017-01-22 18:50:12 -08:00
tutorial Adds junit to the inspec help exec 2016-11-30 01:17:44 -06:00
.gitignore rake to render all docs to www/ correctly with links 2016-09-26 06:21:05 +02:00
config.rb introducing a specific docs layout for all docs pages 2017-01-20 10:28:38 +01:00
config.ru Fixup rubocop violation in www/ 2016-09-13 15:11:48 +01:00
Gemfile switch to redcarpet for rendering 2016-09-26 06:21:05 +02:00
Gemfile.lock switch to redcarpet for rendering 2016-09-26 06:21:05 +02:00
README.md Clarify instructions on releasing inspec.io 2016-12-22 13:52:50 +01:00

InSpec homepage

Development

Get all dependencies:

bundle install

To run it live run:

bundle exec middleman server

For the online tutorial, take a look at www/tutorial.

Building

To build the site to a local static folder (without tutorial):

bundle exec middleman build

To build everything including the online tutorial:

bundle exec rake www:build

Releasing

To build everything and push a new version of the website, be in the root folder of this repository and run:

bundle install
bundle exec rake www

It will clear everything and build from scratch and create a local gh-pages branch with a static version of the website. Before pushing, it will ask you if you are happy with it.

Please verify the site now! To host the current folder you can run:

ruby -run -e httpd . -p 8000

Open your browser to localhost:8000.

If you are happy, you can confirm the site and let the release task push it live.