From bf25cb287bcec0b85f64c90a88a4556291efe74a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 22 Oct 2015 00:20:27 -0400 Subject: make api links point to latest version --- .../comment_1_f324bed708305e2667bd00f80544dd90._comment | 2 +- doc/writing_properties.mdwn | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/forum/Supported_OS/comment_1_f324bed708305e2667bd00f80544dd90._comment b/doc/forum/Supported_OS/comment_1_f324bed708305e2667bd00f80544dd90._comment index 3a2055ea..5c03304b 100644 --- a/doc/forum/Supported_OS/comment_1_f324bed708305e2667bd00f80544dd90._comment +++ b/doc/forum/Supported_OS/comment_1_f324bed708305e2667bd00f80544dd90._comment @@ -15,7 +15,7 @@ like this: (Just (System (Debian _) _)) -> ensureProperty fooDebian (Just (System (Ubuntu _) _)) -> ensureProperty fooUbuntu -The first step for adding a new OS will be to modify . +The first step for adding a new OS will be to modify . Compilation will then warn about all OS parameterized properties that need to be updated to support your added OS, and it can be taken from there. diff --git a/doc/writing_properties.mdwn b/doc/writing_properties.mdwn index c7183e09..9a700ac3 100644 --- a/doc/writing_properties.mdwn +++ b/doc/writing_properties.mdwn @@ -4,17 +4,17 @@ you'll want to write a property of your own. This isn't hard. Often propellor has some properties you can use to build the property you want. Need to modify the content of a file? Use any of the properties in -[Propellor.Property.File](http://hackage.haskell.org/package/propellor-2.2.1/docs/Propellor-Property-File.htm) -Need to run some commands? Use [Propellor.Property.Cmd](http://hackage.haskell.org/package/propellor-2.2.1/docs/Propellor-Property-Cmd.html). +[Propellor.Property.File](http://hackage.haskell.org/package/propellor/docs/Propellor-Property-File.htm) +Need to run some commands? Use [Propellor.Property.Cmd](http://hackage.haskell.org/package/propellor/docs/Propellor-Property-Cmd.html). To combine properties, the easiest way is to use `requires`. someproperty `requires` otherproperty -[Propellor.Property.List](http://hackage.haskell.org/package/propellor-2.2.1/docs/Propellor-Property-List.html) +[Propellor.Property.List](http://hackage.haskell.org/package/propellor/docs/Propellor-Property-List.html) has a `propertyList` combinator that's also useful. -[Propellor.Property](http://hackage.haskell.org/package/propellor-2.2.1/docs/Propellor-Property.html) +[Propellor.Property](http://hackage.haskell.org/package/propellor/docs/Propellor-Property.html) has some other functions to modify Properties in useful ways. For example, `check` makes a Property call an `IO Bool` to check if the Property needs be run. -- cgit v1.2.3