summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess2015-10-22 00:20:27 -0400
committerJoey Hess2015-10-22 00:20:27 -0400
commitbf25cb287bcec0b85f64c90a88a4556291efe74a (patch)
treed1c7cc0f372527d3010b9dca1f487187e977d28a /doc
parentf26c062550d97051933c0dd8ea32bbaec5848f55 (diff)
make api links point to latest version
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/Supported_OS/comment_1_f324bed708305e2667bd00f80544dd90._comment2
-rw-r--r--doc/writing_properties.mdwn8
2 files changed, 5 insertions, 5 deletions
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 <http://hackage.haskell.org/package/propellor-1.0.0/docs/Propellor-Types-OS.html>.
+The first step for adding a new OS will be to modify <http://hackage.haskell.org/package/propellor/docs/Propellor-Types-OS.html>.
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.