Commit graph

249 commits

Author SHA1 Message Date
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
Dominik Richter
af92ae559f rake to render all docs to www/ correctly with links 2016-09-26 06:21:05 +02:00
Dominik Richter
7e7b42735a introduce separate nav for docs in www/ 2016-09-26 06:21:05 +02:00
Maggie Walker
6beb847349 Add basic code styling for docs 2016-09-23 16:14:01 -07:00
Maggie Walker
11d66e5303 Fix typo in button 2016-09-23 16:13:45 -07:00
Maggie Walker
cb74d6d481 Update download button to link to downloads 2016-09-23 15:27:11 -07:00
Maggie Walker
68defd334b Make 'overview' in nav link to homepage 2016-09-23 15:20:40 -07:00
Maggie Walker
116a7ee8c2 Heading copy edit 2016-09-23 15:16:47 -07:00
Maggie Walker
50724f42e7 Remove background image from homepage hero banner 2016-09-23 15:02:44 -07:00
Maggie Walker
a4d48bd5fd Add favicon 2016-09-23 14:51:01 -07:00
Maggie Walker
69eb0ea288 Add missing links to nav 2016-09-23 14:47:15 -07:00
Steven Danna
c20f032e81
Truncate long filename. Temporary fix
This is a temporary fix that somehow needs to be integrated into the
command generator

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-23 20:38:56 +01:00
Dominik Richter
19039b2ba1 bugfix: there is one more button to start the online demo 2016-09-23 18:07:38 +02:00
Dominik Richter
62fff7d445 bugfix: css properties need units
just 0 works without ;)
2016-09-23 16:01:18 +02:00
Dominik Richter
959509fd70 embed tutorial inside the website 2016-09-23 16:01:18 +02:00
Dominik Richter
5b4cb3375b scope css styling for the online tutorial 2016-09-23 15:49:54 +02:00
Dominik Richter
0b744587fa prevent naming conflicts in www/tutorial 2016-09-23 15:49:54 +02:00
Dominik Richter
2e3d287f7d bugfix: build all online tutorial assets 2016-09-23 15:31:18 +02:00
Dominik Richter
c7d9563432 add build tasks for www/tutorial 2016-09-23 15:27:34 +02:00
Dominik Richter
ddd42278c3 Merge pull request #1132 from chef/dr/rake-www
add build tasks for www
2016-09-23 00:12:02 +02:00
Dominik Richter
d842771b68 add build tasks for www 2016-09-22 23:51:30 +02:00
Maggie Walker
013511fd7f Edit links on /tutorials 2016-09-22 13:55:14 -07:00
Maggie Walker
c54c852d20 Copy edit on community page 2016-09-22 13:30:16 -07:00
Maggie Walker
fa047bc364 Add active animation to primary/secondary buttons 2016-09-22 18:00:33 +02:00
Maggie Walker
a266baceaa Wrap full tutorial title text in link
Makes the full title clickable but keeps the tutorial titles in
a span so they look like regular body text.
2016-09-22 18:00:33 +02:00
Maggie Walker
4d7e7180e1 Give nav higher z-index so it doesn't overlap with page content 2016-09-22 18:00:33 +02:00
Maggie Walker
6e23b8eed9 Make icon blocks on homepage use 2 column layout on mobile 2016-09-22 18:00:33 +02:00
Maggie Walker
e1367b714b Ensure icon blocks clear only on homepage 2016-09-22 18:00:33 +02:00
Dominik Richter
dba8638e3a ignore auto-generated docs 2016-09-22 16:47:54 +02:00
Dominik Richter
5aa03ba875 reorder and fix sidebar contents for docs 2016-09-22 15:15:40 +02:00
Christoph Hartmann
4dd827b414 update command results 2016-09-21 22:14:38 +02:00
Christoph Hartmann
76fc43fd36 update simulator generator script 2016-09-21 22:09:55 +02:00
Christoph Hartmann
6fc201458f add font-awesome icons 2016-09-21 22:09:55 +02:00
Christoph Hartmann
bc2ac4a80a refactor terminal 2016-09-21 22:09:55 +02:00
Christoph Hartmann
b8cc700495 listen on ctrl+c events for tutorial web server 2016-09-21 22:04:17 +02:00
Maggie Walker
9b629154ad Fix file path on trademark policy page 2016-09-21 10:39:33 -07:00
Maggie Walker
78fb43f122 Add licensing page 2016-09-21 10:39:33 -07:00
Maggie Walker
2810c78b44 Add trademark policy page 2016-09-21 10:39:33 -07:00
Maggie Walker
ceab5da1ea Add terms and conditions page 2016-09-21 10:39:33 -07:00
Maggie Walker
60c9920a75 Add privacy policy page 2016-09-21 10:39:33 -07:00
Dominik Richter
15753aec16 add readme to www-build 2016-09-21 18:16:09 +02:00
Maggie Walker
d9677c9af3 Add main site footer 2016-09-21 10:43:33 +02:00
Maggie Walker
d9d59bd4f1 Add community page content and styles 2016-09-20 15:22:06 -07:00
Maggie Walker
a401012a64 Add tutorials page content and styles 2016-09-20 13:45:31 -07:00
Maggie Walker
4c56c4b533 Fix typo 2016-09-20 12:58:14 -07:00
Maggie Walker
b7d1f933be Add homepage content and styles 2016-09-20 11:51:41 -07:00
Maggie Walker
f79ec02efc Add main site navigation
Also includes integration of Font awesome icons.
2016-09-20 09:23:34 -07:00
Maggie Walker
6c8a5c392f Activate sprockets, downgrade to working version of jQuery
The 3.1.0 version of jQuery that we had previously included was
throwing errors; this downgrades to the version of jQuery that
was shipped with the version of Foundation that is in the project.
2016-09-20 09:23:34 -07:00
Maggie Walker
015d2c028a Add basic button styling 2016-09-20 09:23:34 -07:00
Maggie Walker
3cab7637c7 Fix typos in font paths 2016-09-20 09:23:34 -07:00
Maggie Walker
5299a8d141 Add global site settings for color and font families 2016-09-20 09:23:33 -07:00
Maggie Walker
8eaa6956cf Add custom fonts
Add Roboto for body copy and Jaapokki/Jaapokki alternates for
headings.
2016-09-20 09:23:33 -07:00
Maggie Walker
8efd59016c Add jQuery/Foundation, remove old styles
Resetting the styles to the new site baseline using jQuery and
Foundation (using a custom build of Foundation to get only the
pieces that we need).
2016-09-20 09:23:33 -07:00
Victoria Jeffrey
895954f1f5 fix counting on instructions 2016-09-20 00:15:55 +02:00
Dominik Richter
b3fd0c046b uglify wepack content, kudos @chris-rock 2016-09-19 08:14:36 +01:00
Dominik Richter
f09797875c Merge pull request #1087 from chef/vj/update-resp
update responses
2016-09-16 20:13:12 +02:00
Victoria Jeffrey
f7de1f6862 fix inspec shell handling 2016-09-16 12:44:14 -04:00
Victoria Jeffrey
72db9675fe update responses 2016-09-16 10:01:39 -04:00
Christoph Hartmann
f54fa7bbdf optimize command simulator auto-generation 2016-09-16 14:27:16 +02:00
Dominik Richter
650e025a7a Merge pull request #1075 from chef/dr/build-demo
add gulp build pipeline to online demo
2016-09-14 19:24:06 +02:00
Christoph Hartmann
d8d3375f9b add mocked inspec 2016-09-14 17:58:10 +02:00
Dominik Richter
74ed7be3eb add gulp build pipeline to online demo 2016-09-14 15:37:36 +02:00
Dominik Richter
119719366a add tutorials page 2016-09-14 03:58:43 +02:00
Dominik Richter
fea79e970a add small overview on the intro page 2016-09-14 03:48:43 +02:00
Victoria Jeffrey
645f997ac1 format instructions, css fixes, fix scrolling 2016-09-13 18:38:04 -04:00
Victoria Jeffrey
101d24fc7e update responses 2016-09-13 16:54:39 -04:00
Steven Danna
6e60362d56
Fixup rubocop violation in www/
- Missing encoding comments in ruby files

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-13 15:11:48 +01:00
Dominik Richter
ed178293ab Merge pull request #1063 from chef/dr/www
add homepage skeleton
2016-09-12 21:17:48 +02:00
Dominik Richter
9eb3711bbd add homepage 2016-09-12 21:01:40 +02:00
Victoria Jeffrey
d22749dc29 fix webpack start script 2016-09-12 08:42:31 -04:00
Victoria Jeffrey
66e54b675f load content into demo and handle shell commands 2016-09-12 09:39:16 +02:00
Christoph Hartmann
cbaf4d1fe9 add webpack configuration 2016-09-07 18:24:50 +02:00
Victoria Jeffrey
9d32685ccb switch from systemjs to webpack 2016-09-07 18:24:50 +02:00
Victoria Jeffrey
7f47f61f43 make the demo better!! 2016-09-07 17:53:50 +02:00
Dominik Richter
6b07f3337a add demo yml contents
Closes https://github.com/chef/inspec/issues/954
2016-09-06 13:30:06 +02:00
Victoria Jeffrey
24c30e0603 handle next and prev commands 2016-09-01 22:33:41 +01:00
Victoria Jeffrey
58cf016410 add ability to up-arrow thru commands, a couple css fixes 2016-09-01 22:33:41 +01:00
Victoria Jeffrey
679ae64be2 integrate xterm for shell emulation 2016-09-01 22:33:41 +01:00
Victoria Jeffrey
1ea965080a initial commit 2016-09-01 22:33:41 +01:00