Commit graph

3117 commits

Author SHA1 Message Date
Dominik Richter
695680a581 www: stop build process if any shell commands fail
use `sh` instead of `system`; `sh` fails, system just returns `nil` and saves the status...
2016-09-28 16:40:15 +02:00
Steven Danna
fd04d5bf7a
Ignore lockfiles in example profiles
These get generated if you run the tests manually sometimes and clutter
up git-status.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-28 13:49:06 +01:00
Christoph Hartmann
fe83884417 Merge pull request #1181 from chef/tp/learn-links
tp/learn links
2016-09-28 11:48:02 +02:00
tpetchel
bfa6e06411 Update tutorial links
* We’re gradually moving the tutorials under /tutorials.
2016-09-27 22:02:52 -04:00
tpetchel
e2f878eaee Fix a few typos 2016-09-27 22:02:20 -04:00
victoria jeffrey
c66a2fad03 Merge pull request #1175 from jerryaldrichiii/remove-default-parameter-usage
Remove default parameter in `updateInstructions()`
2016-09-27 16:00:03 -04:00
David Wrede
9283f19b6e Changing headings to align with SEO best practices
Signed-off-by: David Wrede <dwrede@chef.io>
2016-09-27 12:03:23 -07:00
Jerry Aldrich III
3ed5803f50 Remove default parameter in updateInstructions()
Some browsers do not support the use of default parameters. Moving the
logic that sets `step` to null if undefined into the function body
allows those browsers to render the tutorial correctly.
2016-09-27 14:48:36 -04:00
Dominik Richter
368a38c04d Merge pull request #1178 from chef/vj/fix-dep-on-term-ansicolor
move inquirer to deploy
2016-09-27 20:30:42 +02:00
Victoria Jeffrey
4baf1ae99c move inquirer to deploy 2016-09-27 14:23:32 -04:00
Victoria Jeffrey
47c6427082 print profile info before test results (inherited profiles) 2016-09-27 10:39:35 -04:00
Maggie Walker
da63276070 Merge pull request #1174 from chef/mw/fix-docs-nav
Website: Fix docs nav functionality and optimize for mobile
2016-09-26 13:59:48 -07:00
Maggie Walker
051b00e6bc Set constant for 2016-09-26 13:05:06 -07:00
Maggie Walker
08b1a5da88 Website: Fix docs nav functionality and optimize for mobile
A few minor styling fixes for the docs nav for mobile, refactoring
the markup to remove unneeded parent elements, and fixing a
bug where the nav overlapped with the footer if the window was
too short.
2016-09-26 12:46:56 -07:00
Christopher Webber
38e851cf0d Merge pull request #1172 from chef/cwebber/segment
Adds segment
2016-09-26 10:40:21 -07:00
Christopher Webber
9398c16ac9
Adds segment
We want the ability to add basic analytics to the site, this enables the
use of Segment.

Signed-off-by: Christopher Webber <cwebber@chef.io>
2016-09-26 10:31:55 -07:00
Dominik Richter
929dce8b87 Merge pull request #1168 from chef/dr/www/wording
www: fix wording
2016-09-26 18:18:17 +02:00
Dominik Richter
e8b960db94 www: fix wording 2016-09-26 18:08:10 +02:00
Dominik Richter
49f156ee0e Merge pull request #1167 from chef/ap/profiles-docs
Update dependency documentation and mention the lockfile
2016-09-26 17:55:38 +02:00
Alex Pop
9ce4ebb3a0 update dependency documentation and mention the lockfile 2016-09-26 16:31:06 +01:00
Christoph Hartmann
6113bb82a8 1.0.0 2016-09-26 15:59:54 +02:00
Dominik Richter
058cd116ed Merge pull request #1163 from chef/chris-rock/tutorial
website / tutorial interaction
2016-09-26 15:50:47 +02:00
Christoph Hartmann
e31b56cf24 handle resize between app and tutorial 2016-09-26 15:42:46 +02:00
Christoph Hartmann
46d193ebfe set code color for tutorial 2016-09-26 15:42:46 +02:00
Dominik Richter
d00198819f Merge pull request #1164 from chef/chris-rock/omnibus_images
update omnibus images
2016-09-26 15:42:28 +02:00
Christoph Hartmann
59c44f86cd update omnibus images 2016-09-26 15:29:27 +02:00
Christoph Hartmann
843a299553 Merge pull request #1160 from chef/ssd/require_controls_fix
Fix require_controls DSL method
2016-09-26 15:28:39 +02:00
Christoph Hartmann
549649e07a Merge pull request #1162 from chef/dr/www-community-page-links
fix buttons on community page
2016-09-26 15:26:56 +02:00
Steven Danna
7aa4c6da8e Fix require_controls DSL method
Previous, require_controls was including all controls from the named
profile, despite the documented behavior being that it only includes
controls explicitly pulled in by the user.  The cause was two-fold:

1) A previous refactor meant that we weren't removing the rule from the
correct context, and

2) We weren't descending down the dependency tree when filtering rules.

This commit fixes the require_controls DSL method and adds a test to
help prevent future regressions.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-26 15:20:56 +02:00
Dominik Richter
44ba4ccbad fix buttons on community page
part of https://github.com/chef/inspec/issues/1114
2016-09-26 15:18:45 +02:00
Christoph Hartmann
0ed416a25f Merge pull request #1161 from chef/dr/css-styling-community
fix alignment of community buttons
2016-09-26 15:17:59 +02:00
Dominik Richter
4f98fb8a5a fix alignment of community buttons
... and center them, see https://github.com/chef/inspec/issues/1114\#issuecomment-249526810
2016-09-26 15:06:24 +02:00
Christoph Hartmann
01b3440681 Merge pull request #1158 from chef/ssd/require-resource-doc
Document the require_resource function
2016-09-26 13:17:11 +02:00
Steven Danna
3507c970a9
Document the require_resource function
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-26 11:53:33 +01:00
Christoph Hartmann
5cbd6ebaf3 Merge pull request #1154 from chef/dr/readme-link
fix outdated link in readme
2016-09-26 12:50:45 +02:00
Dominik Richter
b085151166 fix outdated link in readme
Kudos @rhass for finding this!
Fixes https://github.com/chef/inspec/issues/1136
2016-09-26 12:24:01 +02:00
Christoph Hartmann
a0330a5024 Merge pull request #1157 from chef/dr/css-doc-search
fix css in docs search
2016-09-26 12:23:19 +02:00
Dominik Richter
debfa6ade9 fix css in docs search
Handles https://github.com/chef/inspec/issues/1114\#issuecomment-249525984
2016-09-26 12:18:37 +02:00
Christoph Hartmann
7030f9b856 Merge pull request #1156 from chef/dr/release-www
update www readme for releasing the site
2016-09-26 12:13:36 +02:00
Dominik Richter
ba3ffc850d update www readme for releasing the site
it got much simpler this morning; this is 3am-safe now (unless you added garbage to the site, in which case there is nothing we can do... This automation protects you from human mistakes during the build and release process only).
2016-09-26 12:05:25 +02:00
Christoph Hartmann
d4c12b4037 Merge pull request #1155 from chef/ssd/sysinfo_typo
Fix minor typo in sys_info documentation
2016-09-26 12:04:43 +02:00
Steven Danna
57ff8c5e3c
Fix minor typo in sys_info documentation
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-26 10:56:16 +01:00
Christoph Hartmann
66337be2af Merge pull request #1141 from chef/ssd/version-1-lockfile
Bump lockfile version to 1.0
2016-09-26 11:14:55 +02:00
Steven Danna
f23a0d1098
Bump lockfile version to 1.0
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-26 09:51:04 +01:00
Christoph Hartmann
3072c4c91d Merge pull request #1153 from chef/dr/www-cleanup
fix minor website bugs
2016-09-26 10:50:17 +02:00
Dominik Richter
0e7ca5cc3d build docs for www/ 2016-09-26 07:03:37 +02:00
Dominik Richter
0748160570 fix tutorials link on docs index 2016-09-26 06:58:41 +02:00
Dominik Richter
32066d3e53 embed all responses into the tutorial 2016-09-26 06:53:01 +02:00
Dominik Richter
9474d02c83 stop scrolling, it messes with the homepage 2016-09-26 06:42:05 +02:00
Dominik Richter
aa35ac1ffa fix link to tutorials 2016-09-26 06:42:05 +02:00