From 8003305cafc680914d16de455ad5ac53e6a75f0b Mon Sep 17 00:00:00 2001 From: Mary Jinglewski Date: Tue, 4 Jun 2019 13:44:41 -0400 Subject: [PATCH] Fixing docs so Warning note appears Signed-off-by: Mary Jinglewski --- docs/resources/registry_key.md.erb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/resources/registry_key.md.erb b/docs/resources/registry_key.md.erb index c0e05fdc5..c3b492b2d 100644 --- a/docs/resources/registry_key.md.erb +++ b/docs/resources/registry_key.md.erb @@ -61,9 +61,8 @@ or may be enclosed in a double-quoted string with an extra backslash as an escap "HKCU\\SOFTWARE\\path\\to\\key\\Themes" -

-Please make sure that you use backslashes instead of forward slashes. Forward slashes will not work for registry keys. -

+**Warning**: Please make sure that you use backslashes instead of forward slashes. Forward slashes will not work for registry keys. + # The following will not work: # describe registry_key('HKLM/SOFTWARE/Microsoft/NET Framework Setup/NDP/v4/Full/1033') do @@ -158,9 +157,8 @@ The `name` matcher tests the value for the specified registry setting: its('name') { should eq 'value' } -

-Any name with a dot will not work as expected: its('explorer.exe') { should eq 'test' }. For details, see https://github.com/inspec/inspec/issues/1281 -

+**Warning**: Any name with a dot will not work as expected: its('explorer.exe') { should eq 'test' }. For details, see https://github.com/inspec/inspec/issues/1281 + # instead of: # its('explorer.exe') { should eq 'test' }