Commit graph

228 commits

Author SHA1 Message Date
Adam Leff
170fca3908
Release v1.27.0
Signed-off-by: Adam Leff <adam@leff.co>
2017-06-06 11:46:54 -04:00
Adam Leff
1c6e314024
Adding ChefDK and rubygems link
Signed-off-by: Adam Leff <adam@leff.co>
2017-06-06 10:27:52 -04:00
Adam Leff
7ac59265f8
Add a downloads page
Having a dedicated downloads page will allow us to better communicate
different ways of downloading InSpec and also provide links to helpful
documentation.

Signed-off-by: Adam Leff <adam@leff.co>
2017-06-06 10:18:46 -04:00
Adam Leff
efc6623168
Removing ChefConf banner from website
ChefConf 2017 has come and gone... time to remove
the banner.

Signed-off-by: Adam Leff <adam@leff.co>
2017-05-31 07:38:23 -04:00
Adam Leff
e06359fc40
Release 1.25.1
Signed-off-by: Adam Leff <adam@leff.co>
2017-05-19 21:22:30 -04:00
Adam Leff
87e3c6c3a9
Release InSpec 1.25.0
Signed-off-by: Adam Leff <adam@leff.co>
2017-05-17 13:36:15 -04:00
Adam Leff
e551a7c4e8
Hide event blurb on main page
There are no pending events other than ChefConf, so I'm hiding
the upcoming event blurb section for now.

Signed-off-by: Adam Leff <adam@leff.co>
2017-05-10 16:57:20 -04:00
Adam Leff
1cecf4f9f0 Merge pull request #1766 from rrxtns/master
Remove stale /docs/tutorials - update index.html
2017-05-09 16:28:02 -04:00
Adam Leff
d85dfae1a0 updating www gemfile with new inspec release 2017-05-04 15:10:09 -04:00
Don O'Neill
dd53bb9b7d Remove stale /docs/tutorials - update index.html
-- remove stale /docs/tutorials
-- updated HREF on index to direct to correct tutorial

Signed-off-by: Don O'Neill <sntxrr+github@gmail.com>
2017-05-04 11:06:42 -07:00
hannah-radish
7d1e892938 Hi-jacking the website to feature VJ and I's talk
Signed-off-by: hannah-radish <hmaddy@chef.io>
2017-05-02 15:59:04 -07:00
Stephan Renatus
222dd6107f [www] fix typo
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2017-05-02 11:46:01 +02:00
Adam Leff
d95d666bc9
Fix ServerSpec migration doc rendering
RedCarpet table rendering was not enabled, and we need to treat
the resource names as code to avoid resources with two underscores
from being rendered as partial italics.

Signed-off-by: Adam Leff <adam@leff.co>
2017-05-01 15:18:49 -05:00
Adam Leff
d022faea81
Add rake task for flushing Fastly cache
inspec.io is now hosted by Fastly which operates as a caching reverse
proxy. This change adds a Rake task that will flush the cache at Fastly
if the API key and Service ID are set in the appropriate environment
variables.

Flushing the cache is not required, so this will not error out if the
environment variables aren't provided; the cache will eventually clear
on its own. This will simply speed along the process as needed.

Signed-off-by: Adam Leff <adam@leff.co>
2017-04-28 14:22:00 -04:00
Adam Leff
872574f661
Update GH Pages CNAME
GH pages is now an origin server with a new FQDN, "origin.inspec.io"

Signed-off-by: Adam Leff <adam@leff.co>
2017-04-27 14:48:32 -04:00
Adam Leff
ce4d0d2481
[www] update event on main page
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-26 17:59:54 -04:00
Adam Leff
c6e3b38e6d
[www] Update www Gemfile.lock
The Gemfile.lock in the www directory needs to be updated since
the last InSpec release. We should probably do this as part of
the normal InSpec release process.

You need to `bundle install` before releasing the web stuff,
and the www rake tasks will fail if your git repo is unclean.

Signed-off-by: Adam Leff <adam@leff.co>
2017-04-21 13:54:35 -04:00
hannah-radish
1e2378a391 Fix type-o in control code
source: https://twitter.com/mindful_monk/status/854692556625653762
Signed-off-by: hannah-radish <hmaddy@chef.io>
2017-04-19 10:02:04 -07:00
Adam Leff
4e466b9b1c
Fix capitalization of InSpec in header
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-12 14:19:34 -04:00
Adam Leff
87435a04ae
Fix events button
The events button URL was pointing to Discourse rather than events.chef.io. Whoops.

Signed-off-by: Adam Leff <adam@leff.co>
2017-04-12 14:17:57 -04:00
Nathen Harvey
13af1b1885 Minor tweaks to the wording on the Community page
Signed-off-by: Nathen Harvey <nharvey@chef.io>
2017-04-12 14:02:49 -04:00
Adam Leff
10e26f40ff [www] WIP: revamping the community page with events, blog, and discourse
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-12 14:02:49 -04:00
Adam Leff
a1b7e3167e [www] Adding a website acceptance environment
If changes are detected in the docs or www directory, a website
build will be generated that pushes up to Netlify. This will allow
teams to validate web changes without requiring pulling down the
branch and building locally.

Signed-off-by: Adam Leff <adam@leff.co>
2017-04-12 10:10:36 -04:00
Dominik Richter
7562138248 Merge pull request #1623 from chef/adamleff/http-resource-warning
[www] Add warning to the http resource documentation
2017-04-05 16:41:08 +02:00
Adam Leff
6b49303136
Add warning to the http resource documentation
Currently, the `http` resource only operates on the node on which
`inspec exec` is run, even if the user uses the `--target` flag.
This has caused some confusion in the community.

Until this can be fixed, this change adds a warning to the documentation.

Signed-off-by: Adam Leff <adam@leff.co>
2017-04-03 17:21:15 -04:00
Adam Leff
73d46f9c49
Replace Nokogiri with REXML in the JUnit formatter
In #1454, we welcomed a newly-revamped JUnit formatter which has
a dependency on Nokogiri. Unfortunately, this had led us to problems
getting InSpec included in Chef omnibus builds (see chef/chef#5937)
because Chef is using Ruby 2.4.1 and the Nokogiri maintainers have
not yet released a windows binary gem that supports Ruby 2.4.x.
This has led to breaking builds in Chef's CI platform and would
block the acceptance of chef/chef#5937.

This change replaces Nokogiri use with REXML instead. While REXML
can be slower than Nokogiri, it does not require native extensions
and is supported on all Chef platforms.

Signed-off-by: Adam Leff <adam@leff.co>
2017-04-03 14:51:48 -04:00
Adam Leff
beadeff679
[www] Fixing rake www:release task
After moving the www tasks into the www directory, the release
task needed to be updated to run certain commands from the repo
root such that the newly-built web content was in the repo root
of the gh-pages branch, rather than the www/ directory.

Also updating the www Gemfile.lock with the new inspec release.

Signed-off-by: Adam Leff <adam@leff.co>
2017-03-30 14:52:10 -04:00
Adam Leff
0cbedb1579
[www] Resurrect global message, promote ChefConf and NYC Meetup
The global message was removed during the redesign. Adding it back
to promote ChefConf. Also adding the upcoming NYC meetup to the
front screen.

Signed-off-by: Adam Leff <adam@leff.co>
2017-03-29 17:09:56 -04:00
Adam Leff
5a12cddc9c
Add docs for habitat CLI commands
Adding a dedicated page for the InSpec/Habitat integration which
explains what it is, and details the commands a user needs to use
the integration.

Signed-off-by: Adam Leff <adam@leff.co>
2017-03-28 13:59:38 -04:00
Adam Leff
65c95d243e Fixing www/docs rake tasks
This is a follow-up to #1585. The website-related Rake tasks have been
moved to a www-specific Rakefile which can be found in the www/
directory. Any web-release-related gems have been moved to the www
Gemfile as well.

This also included modifying the docs rake tasks to be path-
independent as they currently expect that Rake is being run from the
root of the repo.

Signed-off-by: Adam Leff <adam@leff.co>
2017-03-22 12:21:03 -04:00
Adam Leff
199cb160ea Move simulator gems to www
The simulator gems are not necessary for building InSpec, only the website.
This is currently causing issues in the Jenkins infrastructure due to
a downstream dependency of github-markup.

Signed-off-by: Adam Leff <adam@leff.co>
2017-03-21 16:11:56 -04:00
hannah-radish
1f49a9c21e Hide Event Feature on Homepage
Darn that snowstorm. Event is cancelled!

Signed-off-by: hannah-radish <hmaddy@chef.io>
2017-03-14 13:22:24 -07:00
hannah-radish
74a2a37a5a Updated Tutorial URL in Docs
Signed-off-by: Hannah Maddy <hmaddy@chef.io>
2017-03-03 17:51:20 -08:00
hannah-radish
23434f3606 Bug fixes for Inspec.io
- Added banner for webinars (present and future)
- CSS support for IE10, IE11, Edge
- Fixed URL bug for demo
- Fixed Edge browser resize bug
- Changes to relative path, update event info

Signed-off-by: Hannah Maddy <hmaddy@chef.io>
2017-03-03 12:25:33 -08:00
hannah-radish
9e513621fe HM - EmergencyFontFix
Allfont API unreachable so site crash. Removed font API till tomorrow
and added Helvetica, san-serif
2017-02-23 14:55:53 -08:00
Tom Duffield
1ea83f526c Address rubocop violations
Signed-off-by: Tom Duffield <tom@chef.io>
2017-02-08 16:49:16 -06:00
Adam Leff
78a5241eae Replace slack invite form on Community, fix surprise code example
The existing slack form on the community page doesn't function...
it's trying to post to the community-slack.chef.io site, but the actual
invite form doesn't actually live there but rather in a SlackIn app.
Also, we have some info we'd like new Slack users to receive, such as
etiquette tips and code-of-conduct information.

This change replaces the form with a link to the community-slack.chef.io
site. Also, I fixed a missing space in the surprise code example on
the main page.

Signed-off-by: Adam Leff <adam@leff.co>
2017-02-07 13:26:10 -05:00
Jerry Aldrich III
3675ff099f Make minor grammar/style changes to inspec.io
Signed-off-by: Jerry Aldrich III <jerry@chef.io>
2017-01-30 06:42:31 -06:00
Christoph Hartmann
1df1929feb Merge pull request #1422 from chef/www-copyright-year
update copyright of the year
2017-01-23 14:40:56 +01:00
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
Christoph Hartmann
0f93132aab update copyright of the year
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-01-20 13:13:37 +01:00
Christoph Hartmann
b200851a51 minor code-style fixes
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-01-20 10:28:38 +01:00
Hannah Maddy
1548fa331c Removed Margin Off of Search/a href to community.slack until widget is working 2017-01-20 10:28:38 +01:00
Hannah Maddy
fd4a2f2d8f introducing a specific docs layout for all docs pages 2017-01-20 10:28:38 +01:00
Hannah Maddy
3317c3fc5d Mobile Nav - cross browser support - general UI edits 2017-01-20 10:28:33 +01:00
Hannah Maddy
be65505e8e Removed large margin off of search 2017-01-20 10:28:32 +01:00
Hannah Maddy
5fe13f6a01 Layout changes in header/footer 2017-01-20 10:28:26 +01:00
Hannah Maddy
af80f543d1 Removed Unnecessary JS (old sticky docs side bar 2017-01-20 10:27:10 +01:00
Hannah Maddy
6d398e8df1 Nav/footer changes to support responsive 2017-01-20 10:27:05 +01:00
Hannah Maddy
1f294e5bfc Edits to nav to support responsive 2017-01-20 10:26:52 +01:00
Hannah Maddy
d8590b6d9c Cross-browser support for Moz, safari, google
To do: Media Queries
Highlight state when on page
2017-01-20 10:26:47 +01:00
Hannah Maddy
7fff31a5f4 Slack Invite Form 2017-01-20 10:26:42 +01:00
Hannah Maddy
bed1741b7b Tutorial Styles 2017-01-20 10:26:36 +01:00
Hannah Maddy
ab30724c64 Community Edits and progress bar 2017-01-20 10:26:30 +01:00
Hannah Maddy
4943bd7b7e Fixed HR bug 2017-01-20 10:26:22 +01:00
Hannah Maddy
72cbd0d39e New Inspec.io WIP
WIP : Community/Tutorials
NEED TO DO: Media Queries, Docs
2017-01-20 10:26:14 +01:00
Hannah Maddy
bd4a73cfb9 WIP New Inspec.io
Base SCSS, JS, fonts, images, HTML ported over to old inspec.io
tempting engine.
—To do:
Media queries, Header, footer, docs, tutorials
2017-01-20 10:22:51 +01:00
Nathen Harvey
1fc6ba7aac
Link to the 1.0 release webinar
The ChefConf CFP is now closed.  Link to the webinar recording from
October

Signed-off-by: Nathen Harvey <nharvey@chef.io>
2017-01-19 15:36:41 -05:00
Nathen Harvey
6d45ad6bf8
Maybe use better capitalization...
Signed-off-by: Nathen Harvey <nharvey@chef.io>
2017-01-06 19:26:02 -05:00
Nathen Harvey
d9ab199c8d
Solicit talks for ChefConf
People visiting the habitat.sh website should consider submitting a
talk for ChefConf.  The CFP closes on 18 Jan so this is a nice,
short-lived thing to highlight.

Signed-off-by: Nathen Harvey <nharvey@chef.io>
2017-01-06 19:22:35 -05:00
Dominik Richter
3d73b272a5 Clarify instructions on releasing inspec.io 2016-12-22 13:52:50 +01:00
Dominik Richter
f5c7b34c5d Merge pull request #1368 from chef/chris-rock/serverspec-migration
add guidance for Serverspec migration
2016-12-21 16:30:14 +01:00
tpetchel
a6f082db16 Fix Learn Chef tutorial link
Signed-off-by: tpetchel <tpetchel@gmail.com>
2016-12-16 16:27:35 -05:00
Christoph Hartmann
fd2e29da38 add guidance for Serverspec migration
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-12-15 18:14:05 +01:00
Franklin Webber
0274e02633 Adds additional tutorials created by Annie Hedgie
Her work continues for a few more days. This adds those articles to
the tutorials index.

Signed-off-by: Franklin Webber <franklin@chef.io>
2016-12-08 10:46:34 -06:00
Franklin Webber
9d30628213 Adds junit to the inspec help exec
While rebasing the branch where I was working on the cli formatter I
noticed the addition of junit. However, it was not in the help.

Signed-off-by: Franklin Webber <franklin@chef.io>
2016-11-30 01:17:44 -06:00
anniehedgpeth
69167cf173 fixed wrong dates
Signed-off-by: anniehedgpeth <annie.hedgpeth@gmail.com>
2016-11-01 15:25:29 -05:00
anniehedgpeth
b688994604 added tutorials for day 8 & 9
Signed-off-by: anniehedgpeth <annie.hedgpeth@gmail.com>
2016-11-01 15:05:59 -05:00
Ryan Keairns
d92077c19c Set the global message to display again (#1246)
* change global message on site

Signed-off-by: Ryan Keairns <rkeairns@chef.io>

* incrementing the message id to re-enable the display

Signed-off-by: Ryan Keairns <rkeairns@chef.io>
2016-10-25 15:04:41 -05:00
Ryan Keairns
2c0c627ddd change global message on site (#1244)
Signed-off-by: Ryan Keairns <rkeairns@chef.io>
2016-10-25 14:45:07 -05:00
Maggie Walker
37a7f3d35f Website: Fix typo in homepage code image 2016-10-10 09:33:04 -07:00
Victoria Jeffrey
4f1d085bf2 re-generate responses 2016-10-06 13:32:53 +02:00
Christoph Hartmann
95bad32c92 limit length of simulator files 2016-10-06 13:32:53 +02:00
Victoria Jeffrey
ab38319e3b fix backspace bug 2016-10-06 12:49:01 +02:00
Victoria Jeffrey
8b4b915845 es5, es6, and typings, ohmy! (fix safari es5/es6 bug) 2016-10-06 12:25:53 +02:00
Morley, Jonathan
efc7eba050 Add shell options 2016-09-30 15:18:14 -04:00
Maggie Walker
81f8e0e8bb Add global message to website
Adds a global message that will appear above the nav that can
be customized to advertise upcoming events.
2016-09-30 09:39:14 -07:00
Maggie Walker
7ecb1611d6 Fix buggy behavior in Docs nav 2016-09-30 09:39:14 -07:00
Victoria Jeffrey
2b712342b5 include control section in instructions 2016-09-30 13:38:30 +02:00
tpetchel
bfa6e06411 Update tutorial links
* We’re gradually moving the tutorials under /tutorials.
2016-09-27 22:02:52 -04: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
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
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
e8b960db94 www: fix wording 2016-09-26 18:08:10 +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
44ba4ccbad fix buttons on community page
part of https://github.com/chef/inspec/issues/1114
2016-09-26 15:18:45 +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
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
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
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
Dominik Richter
8d3d253bf0 add search 2016-09-26 06:21:05 +02:00
Dominik Richter
7d97ab6d6c compensate for the intro page of docs 2016-09-26 06:21:05 +02:00
Dominik Richter
98c8f35a60 switch to redcarpet for rendering
to support proper markdown functionality, see github markdown for reference
2016-09-26 06:21:05 +02:00
Dominik Richter
27fcb29394 point download page to the right destination 2016-09-26 06:21:05 +02:00
Dominik Richter
244944c798 update styling for docs 2016-09-26 06:21:05 +02:00