Commit graph

158 commits

Author SHA1 Message Date
Bryan McLellan
98c28ac256 Fix building the website
- compass is now built in to middleman 4, including the old middleman-compass gem only creates issues with the dep graph
- deal with .css.scss files being ignored by splitting into separate .css and .scss files. (https://github.com/middleman/middleman-sprockets/issues/127)

Closes #4613

Signed-off-by: Bryan McLellan <btm@loftninjas.org>
2019-10-30 17:36:03 -04:00
Ryan Davis
23be7f8e9f
Merge pull request #4625 from inspec/zenspider/website-search-button
Fix the search button wiring.
2019-10-21 12:37:00 -07:00
Ryan Davis
b852d32dd5 Fix the search button wiring.
I'm not a slim guy, but I think this is just a nesting issue.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-21 11:52:52 -07:00
Ryan Davis
689231aa9e Fixing hamburger and unclickable download buttons / search boxen.
Signed-off-by: Ryan Davis <ryand-ruby@zenspider.com>
Paired: @seajamied
2019-10-17 15:34:13 -07:00
SalmonKing72
fdb551ad57 z-index issue for header to prevent content from overlaying the main nav for both mobile and desktop layouts 2019-09-24 22:22:10 -04:00
Ryan Davis
e068ef134c
Merge pull request #4440 from shaunyap/master
update LCR Roadtrip announcement to 13 cities
2019-09-03 12:05:49 -07:00
Shaun Yap
48338fe722 update LCR Roadtrip announcement to 13 cities
Signed-off-by: Shaun Yap <shaunyap@gmail.com>
2019-09-03 10:43:54 -07:00
Bryan McLellan
ff87f62af5 Use new logo branding
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
2019-08-29 18:13:21 -04:00
Shaun Yap
d1bea994db change announcement to LCR Road Trip
Signed-off-by: Shaun Yap <sy@Shauns-MacBook-Pro.local>
2019-08-09 13:45:05 -07:00
Keka Ichinose
5a39574423 changed legal refs to point to chef.io proper
Signed-off-by: Keka Ichinose <rikoomi@hotmail.com>
2019-07-30 12:39:56 -07:00
Miah Johnson
2a1b1d8e88 Remove all leading newlines.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-31 11:43:44 -07:00
Clinton Wolfe
d1a21f2aa2 Update gem install instructions on website downloads page
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-05-30 10:47:35 -04:00
Ryan Davis
10c7924758 Make the API header stay at the top of the page so URLS w/ #slugs work.
Right now the header being fixed to the window obscures the section
header for any API doco we provide. Not friendly to the user.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-18 16:54:08 -07:00
Mary Jinglewski
f4eca9b2bf Include info about Chef License Requirements
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2019-05-15 16:31:59 -04:00
Miah Johnson
dafd91898d
Merge branch 'master' into changeInSpecText 2019-05-08 12:32:04 -07:00
mjingle
c2b6104ea5
Update www/source/index.html.slim
Co-Authored-By: zenspider <ryand-github@zenspider.com>
2019-05-07 12:17:05 -07:00
mjingle
a327323b65
Update www/source/index.html.slim
Co-Authored-By: zenspider <ryand-github@zenspider.com>
2019-05-07 12:16:31 -07:00
Ryan Davis
1a2429bcf8 Bump website from 3.0 to 4.
Specifically using "4" so we don't have to bump on every minor
release.

I mish-mashed the bullet points from 2 different sources. It is
probably wrong or confusing and I'd like extra scrutiny there.

I don't remember slim AT ALL and probably got some stuff wrong.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-03 14:38:06 -07:00
Unknown
5c1467dfe9 Update software name from InSpec to Chef Inspec
Signed-off-by: IanMadd <maddaus@protonmail.com>
2019-04-29 15:16:56 -04:00
Dominik Richter
ad9a7120d0 www: remove jquery sticky on the sidebar (#3623)
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2018-11-26 09:12:22 -05:00
Kimberly Garmoe
6859d766df Fix line wrapping on homebrew button on downloads page (#3589)
Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-11-07 19:50:07 -05:00
Kimberly Garmoe
12d4b22ffd Makes whole brew command visible (#3584)
* Makes whole brew command visible
* replaces shadow & margin

Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-11-07 13:22:40 -05:00
Jared Quick
2bbcdbde9b
Inspec 3.0 (#3512)
* Remove deprecated yumrepo. (#3435)

* Remove deprecations for cli `--format` and metadata.rb (#3452)

* Remove deprecated database_helpers stderr/stdout methods.
Update deprecation text for processes/apache.

* Remove deprecations for `--format` and metadata.rb
Remove deprecated `format` code.
Remove deprecated code test and change json-config format test to use
reporter.
Remove deprecated metadata.rb code
Remove deprecation notice for old supports syntax.
Deprecate metadata.rb from source_reader
Remove rubocop disables as they are no longer required for this code block.
Remove deprecated legacy metadata.rb mock profiles.
Remove deprecated metadata.rb profile tests.
Remove deprecated yumrepo test.

* Allow inspec-3.0 branch to be tested.
* Allow appveyor to test inspec-3.0 branch
* Change runner tests to use reporter rather than format.
Remove deprecated `supports: linux` tests.

* Remove skip from inherited profiles from showing up in reporting (breaking change) (#3332)

* Skip loading dependency profiles if they are unsupported on the current
platform.

Skip loading dependencies if they are unsupported on the current
platform.

Wrap our log and next in a conditional checking if the platform is
supported.

Change a `if !` into a `unless`

Check if the backend is a Train Mock Connection and if so say that the
profile does support the platform.

While iterating through tests being loaded skip when the platform is
unsupported.

We now log a WARN when a profile is skipped due to unsupported platform,
so lets check that.

Modified existing test to log that there are 0 skipped tests, instead of
2.

Add functional test that loads profile-support-skip with a json reporter
to check that our controls are not loaded and that stderr contains our
warning.

* Rather than iterating through each test return before recursion if the platform is
unsupported.

* Resolve tests using a supported platform different from testing platform

Add a control to `test/unit/mock/profiles/complete-profile` that would
work on any OS with a Internet connection. This allows the profile
to execute on any OS with success. `filesystem_spec.rb` was a control
that would only work on Linux and some BSD's.

We want profile tests to consistently work across development and testing
platforms, and not get 'skipped' in some cases.  Travis-CI tests on Linux,
Inspec Dev team uses Linux and MacOS, Appveyor tests on Windows

Also Updated `file_provider_test.rb` for `complete-profile` content changes.

If you `MockLoader.load_profile` on a unsupported platform you might not
hit the usual skip. Lets handle situations where the tests array in
Profile#load_checks_params could be nil.

* Use safe navigation rather than checking if tests is nil.
Update tests to point to unsupported_inspec and account for WARN changes.
Make unsupported_inspec profile support os-family 'unsupported_inspec'

* Fix skip bug when using include/require controls. (#3487)

* Fix skip bug when using include/require controls.
* fix test and feedback.

* Remove need for UUID detection for Automate report (#3507)
* Add json metadata for skipped profiles (#3495)

* Add skip metadata to json reports
* Unify skip messages.
* Update with status field.
* Add testing.
* Fix tests.
* lint
* Add skip exit codes for profile skips.
* Update website for 3.0 launch

Add `plugins` to sidebar.
Change 2.0 -> 3.0 in slim files.
Update 3.0 features list.
* Fix comments
* Update float to numeric.
* Change Float to numeric.
* updated feature list and impact doc
* Change "What's new in InSpec 3.0" -> "Announcing InSpec 3.0"
* Bump VERSION to 3.0.0 (#3511)

* Remove 3.0 testing checks.

* Fix azure link.
2018-10-15 18:25:27 -04:00
Jerry Aldrich
0b0a0a4d48 Change Inspec to InSpec where appropriate (#3494)
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-10-15 12:09:46 -04:00
Miah Johnson
bb208ddafb Remove demo directory. (#3475)
Remove demo from Rakefile
Remove demo from html
Remove 'TRY DEMO' from site header.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2018-10-10 08:21:38 -04:00
Tim Smith
df4f1682d0 Fix the brew command to install inspec (#3335)
InSpec was pulled from the casks a while ago. We have our own setup now,
but the command to pull from there is a bit different. Also OSX should
be macOS.

Signed-off-by: Tim Smith <tsmith@chef.io>
2018-08-30 09:16:28 -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
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
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
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
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
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
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
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