Commit graph

269 commits

Author SHA1 Message Date
Mary Jinglewski
d818d0b546 Remove .html to fix install link
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2020-03-04 13:06:22 -05:00
Keka Ichinose
ff18fae3f5 removed beta from waivers link in sidebar nav
Signed-off-by: Keka Ichinose <rikoomi@hotmail.com>
2020-03-03 16:23:36 -08:00
Mary Jinglewski
63f646e453 Nav changes and Final Pass for this PR
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2020-01-14 16:33:58 -05:00
Stuart Preston
2a0cb537e3
Reflecting the correct status of the project.
Signed-off-by: Stuart Preston <stuart@chef.io>
2019-12-16 22:05:59 +00:00
kagarmoe
d309c89fcf Removes broken search button and icon
Signed-off-by: kagarmoe <kgarmoe@chef.io>
2019-12-03 10:45:20 -08:00
Ryan Davis
1750139dbb Revamp www rakefile and friends to make pushing doco easier.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-06 18:26:14 -08:00
chefjiajia
07f49a411b
Remove LCR Roadtrip annoucement on homepage 2019-10-31 13:32:02 -07:00
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
Ryan Davis
9e5643d254
Merge pull request #4515 from SalmonKing72/master
Fix issue 4514 - update header z-index preventing header overlaying main navigation
2019-09-26 14:43:41 -07:00
Mary Jinglewski
be5e8d0a33 Edits and adding to website menu
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2019-09-26 16:56:06 -04: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
Tim Gates
f1e88ca65f
Fix simple typo: becuase -> because
Obvious Fix.
2019-09-13 09:30:00 +10: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
a4f4fe5231 chefstyle -a; https://github.com/chef/chefstyle/pull/74
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-08 17:22:50 -07:00
Clinton Wolfe
cc6faa49ce
Create Inputs documentation page (#4185)
Create Inputs documentation page
2019-06-12 13:26:39 -04:00
Ryan Davis
a5309ea392 blindly applied chefstyle -a
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-11 18:52:03 -07:00
Miah Johnson
5b047dd836 rubocop
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:46:22 -07:00
Miah Johnson
6671f7f960 Our site uses InSpec to generate some docs, ensure license is accepted
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:46:22 -07:00
Clinton Wolfe
0bd3941aaa outline of inputs doc
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-05 10:57:00 -04: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
11b8da3283
Merge branch 'master' into mj/encoding 2019-05-08 12:59:55 -07:00
Miah Johnson
dafd91898d
Merge branch 'master' into changeInSpecText 2019-05-08 12:32:04 -07:00
Miah Johnson
659b4b373a Remove # encoding: utf8 magic comments
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-07 16:06:23 -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
Clinton Wolfe
20ffbffb01 Document teh credential sets features and config file format
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-27 15:14:27 -05: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
Dominik Richter
9f920d5586
RFC inspec style guide (#3356)
* 🚶 start style guide

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2018-09-27 09:12:36 -07:00
Miah Johnson
6281629efc Ran npm update and then manually added https-proxy-agent and (#3343)
`url-parse` with the updated versions to package.json.
Updated lockfile.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2018-08-30 17:10:10 -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
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