Commit graph

161 commits

Author SHA1 Message Date
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