Commit graph

222 commits

Author SHA1 Message Date
Clinton Wolfe
fa0a6c9794 Ability to render contrib resource pack docs on main website (#3184)
* Sketch out contrib doc fetcher
* Read contrib config file
* Fetch contrib resource packs from git
* Copy in resource pack docs from contrib
* Task to cleanup copied-in files
* Attach contrib resource pack docs fetching to main website doc generation
* Refactor - rename vars in resource overview task for clarity
* Generate resource overview page using info from contrib
* Fix issue in which AWS and Azure resources were ending up under OS
* Trigger contrib doc cleanup after doc build
* Comment out the contrib.yaml for now
* Disable contrib tasks if git is not available
* Rubocop issues
* Allow .md as doc file ending
* Fix for files ending in md having a relative link
* Omit 'resources' from section labels to save width
* Rubocoooooooooooppppp

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-08-02 11:43:46 -04:00
Christian Nunciato
331d4545ce Add link to cookie policy (#3240)
This change adds a link to the Chef cookie policy, and updates a Chef URL to use https.

Signed-off-by: Christian Nunciato <chris@nunciato.org>
2018-07-25 15:56:01 -04:00
Miah Johnson
8b4d365114 Fix node dependency issue for website build (#3049)
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2018-05-16 14:07:34 -04:00
Subramani Ramanathan
2dfad8ad31 Updating Copy To Clipboard for ruby users (#3054)
Signed-off-by: Subramani Ramanathan <subramani95@gmail.com>
2018-05-16 13:19:57 -04:00
Gary
1677be6d42 Amended Syntax to correct formatting (#2911) 2018-04-06 09:14:41 -04:00
Adam Moss
6cc94b554a fix(homebrew): correct homebrew installation command (#2832)
Signed-off-by: Adam Moss <adam.moss@bcs.org.uk>
2018-03-19 12:53:05 -04:00
Rob Campbell
ee35518882 Updates tutorial author last name from "Hedgepath" to "Hedgepeth" (#2802)
Signed-off-by: Rob Campbell <rcampbell@chef.io>
2018-03-08 16:03:27 -05:00
hannah-radish
0994c63d48 Usability testing fixes (#2755)
* Usability testing fixes

Signed-off-by: hannah-radish <hmaddy@chef.io>

* Bug fixes

Signed-off-by: hannah-radish <hmaddy@chef.io>
2018-03-07 12:25:54 +01:00
Julian C. Dunn
b9d06d7413 Fix infrastructure code example and typo in parse_config_file reference (#2708)
* Fix infrastructure code example and typo in parse_config_file reference.

Signed-off-by: Julian C. Dunn <jdunn@chef.io>
2018-02-23 16:57:59 -05:00
Julian C. Dunn
0982ed53ba Always make sure the copyright footer has the correct year (#2707)
* Always make sure the copyright footer has the correct year

Signed-off-by: Julian C. Dunn <jdunn@chef.io>
2018-02-23 15:33:33 -05:00
hannah-radish
53b80c3706 InSpec SEO (#2725)
* Alt tags and meta descriptions

* add sitemap support

* Sitemap Priority

Signed-off-by: hannah-radish <hmaddy@chef.io>

* Jerry's feedback

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2018-02-21 16:42:55 -08:00
Franklin Webber
eaee24a143 Fixes the paths for assets loading for javascript and stylesheets (#2710)
* The paths were relative and that was causing problems on non-index pages.
* jquery apparently needs to be loaded before the menumaker.

Signed-off-by: Franklin Webber <franklin@chef.io>
2018-02-20 15:53:05 -05:00
hannah-radish
26e6fbf6d2 Fix links on docs page (#2716)
* Fix links on docs page

Signed-off-by: hannah-radish <hmaddy@chef.io>
2018-02-20 14:41:58 -05:00
hannah-radish
f9452b022a fix mobile (#2706)
* Maybe fixed mobile?

* Removed slide-right

* Change slide-right

* Bullshit commit

* add package-lock to demo

* Png fallbacks

* Small changes

* position: relative on z-index

* Overflow-x: hidden
2018-02-19 18:52:43 -08:00
hannah-radish
3b41a5d7cf HM Mobile IE (#2705)
* Mobile media queries

* Dominik's slider broke

* slide groups fix

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>

* Optimization changes
2018-02-19 17:04:16 -08:00
Dominik Richter
275772050e
move /tutorial to /demo (#2700)
* move /tutorial to /demo

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>

* update netlify to build demo

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>

* fix gulp run path

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>

* ignore rubocop on www/demo

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2018-02-19 16:57:19 -08:00
hannah-radish
959f1e2ee0 HM website optimization (#2699)
* Font awesome

* Scroll to resources - done

* Overwriting swift type styles

* Fixed links

* Remove DL bin

* lint

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>

* lint

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>

* Add new breakpoints
2018-02-19 13:14:01 -08:00
Dominik Richter
964f9c7891
www: fix sidebar stickiness (#2698)
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2018-02-19 12:24:05 -08:00
hannah-radish
8d958fd244 Revert download button (#2684) 2018-02-17 13:46:59 -08:00
hannah-radish
bea3d15b4c Hannah Review1 (#2683)
* Smaller triangle - slowed down grid animation

* Remove slide-up from community footer - adjust slider speed

* Beginning of tutorials

* Added links

* Tutorials sliders
2018-02-17 10:27:10 -08:00
Christoph Hartmann
4641978716 Update InSpec website (#2681)
* New styles

* Fundamental styles for home page

* Legal pages

* Community page, downloads page, tutorials page

* Docs page

* Content toggle and github badge

* Add code - highlighter

* Copy button

* Sliding content animation

* fix particle animatino on downloads page

* Scroll-to-top button

* docs sidebar links

* innocent comments on resources

* Fancy code animation

* Small update to diamond

* whatever slider

* Slider styles

* initial selection if no sliders are there

* add netifly config

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>

* inspec for provisioners

* fix incorrect text on aws ssm

* fix layout javascript

post-rebase

* resource grouping in docs

* introduce groups in docs/resources

* fix minor spelling issues and move download button in new features section

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>

* pass linting

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2018-02-17 07:44:42 -08:00
Jared Quick
686b028886 Add reporters reference page (#2617)
* Add reporters reference page.

Signed-off-by: Jared Quick <jquick@chef.io>

* Cleanup reporters page with suggestions.

Signed-off-by: Jared Quick <jquick@chef.io>

* Reorder reporters.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-13 21:27:42 +01:00
Kimberly Garmoe
f32bcdb74d Adds glossary.md file (#2450)
* Adds glossary.md file

Signed-off-by: kgarmoe <kgarmoe@chef.io>

* Adds glossary to sidebar and updates page formatting

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Changes glossary layout

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Replaces errant tic

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Requested changes

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Clarifies filter clause

Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-02-08 10:00:51 +01:00
Adam Leff
2ff96d8c9a Web text update for tutorials by Annie Hedgpeth (#2502)
Quick clarification update to the text to ensure it's clear which
tutorials were provided by Annie.

Signed-off-by: Adam Leff <adam@leff.co>
2018-01-31 13:19:02 +01:00
Thomas Petchel
1295d27f2f Improve links to Learn Chef Rally (#2476)
* Style div elements beneath list items

Signed-off-by: Thomas Petchel <tpetchel@gmail.com>

* Improve links to Learn Chef Rally

Signed-off-by: tpetchel <tpetchel@gmail.com>
2018-01-31 07:01:55 -05:00
Adam Leff
769c78636b Update left-hand nav link to point to Downloads (#2448)
The Get InSpec link points to the donwloads.chef.io page rather than
our local downloads page.

Signed-off-by: Adam Leff <adam@leff.co>
2018-01-16 14:25:21 -08:00
Adam Leff
4b9acb4800 Bump Rubocop to 0.49.1 (#2323)
* Bump Rubocop to 0.49.1

This change bumps Rubocop to 0.49.1. There have been a lot of changes
since 0.39.0 and this PR is hopefully a nice compromise of turning off
certain cops and updating our codebase to take advantage of new Ruby
2.3 methods and operators.

Signed-off-by: Adam Leff <adam@leff.co>

* Set end-of-line format to line-feed only, avoid Windows-related CRLF issues

Signed-off-by: Adam Leff <adam@leff.co>
2017-11-21 08:49:41 +01:00
Adam Leff
884204f1ef
Updated "code" style on website (#2298)
The existing style was a bit harsh, especially with a lot of code
blocks in a row. This lightens it a bit to be more focused on the
monospace aspect rather than offsetting code with different backgrounds.

Signed-off-by: Adam Leff <adam@leff.co>
2017-11-08 16:41:06 -05:00
Adam Leff
f2be9a035f Update segment tag on inspec.io website (#2263)
* Update segment tag on inspec.io website

Signed-off-by: Adam Leff <adam@leff.co>

* Remove redundant include of segment.js

Signed-off-by: Adam Leff <adam@leff.co>
2017-10-26 16:37:38 -04:00
Jason McDonald
8968fb0ea7 Add Segment tag to enable Google Analytics (#2220)
Signed off by: Jason McDonald <jason@chef.io>
2017-10-05 16:18:47 -07:00
Jerry Aldrich III
19ecd6eeeb Add instructions for building docs/ child pages (#2194)
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2017-10-05 13:17:06 -04:00
mikeoliverandroid
a60606dbfa fixing a pair of obvious broken links. (#2211) 2017-10-04 11:31:47 -07:00
hannah-radish
9cfc86d2ab Resource documentation update (#2207)
Light formatting changes, change order of example and matchers, slight
color changes

Signed-off-by: hannah-radish <hmaddy@chef.io>
2017-10-03 17:35:10 -04:00
Mark Harrison
914fed115e Add with_toc_data option to markdown renderer (#2109)
This adds 'id="foo"' attributes to headers, which lets you link directly
to a specific section of the documentation.

Signed-off-by: Mark Harrison <mark@mivok.net>
2017-08-31 14:43:42 -04:00
Adam Leff
c92a7d5e58 Revamp profile inheritance/dependency documentation (#2081)
Reuse blog post content on profile inheritance for web site
based on feedback from colleagues and community members.

Signed-off-by: Adam Leff <adam@leff.co>
2017-08-17 16:11:11 +02:00
Adam Leff
185786b49a Remove www Gemfile.lock (#2082)
No reason to keep the Gemfile.lock in the www directory under source
control. It adds extra steps to the www release process after an InSpec
release because the release process will fail of the git working tree
is not clean (and since the www Rake tasks rely on InSpec stuff, the
Gemfile.lock will be perpetually out of date).

Signed-off-by: Adam Leff <adam@leff.co>
2017-08-17 16:08:55 +02:00
Knut Hühne
1e8ce74613 disable particle animation if users prefer reduced motion (#2023)
Signed-off-by: Knut Hühne <knut@k-nut.eu>
2017-07-28 21:21:40 -07:00
Adam Leff
c29648a623 Release v1.31.1 (#1996)
Signed-off-by: Adam Leff <adam@leff.co>
2017-07-06 16:29:20 -04:00
Adam Leff
dd3457537e Release v1.31.0 (#1994)
Signed-off-by: Adam Leff <adam@leff.co>
2017-07-06 14:07:16 -04:00
Maggie Walker
c351d27334 Remove Google Custom Search and replace with Swiftype (#1992)
Since Google Custom Search is EOL-ing, we are replacing it with
Swiftype. This adds the necessary markup and JS to make that happen,
as well as some CSS overrides to make it fit with the styling on
the site.

Signed-off-by: Maggie Walker <magwalk@gmail.com>
2017-07-05 17:56:54 -04:00
Adam Leff
0d74a7dc50 Release v1.30.0 (#1978)
Signed-off-by: Adam Leff <adam@leff.co>
2017-06-29 15:19:16 -04:00
Adam Leff
81e617e1ad Release v1.29.0 (#1955)
Signed-off-by: Adam Leff <adam@leff.co>
2017-06-22 15:16:19 -04:00
pete higgins
6207f06c77 Remove relative path from Gemfile. (#1913)
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
2017-06-09 07:51:43 -04:00
pete higgins
54c306f211 Fix code block CSS. (#1912)
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
2017-06-09 07:36:47 -04:00
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