Commit graph

150 commits

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