From 86b009807809fe080ee6e5d9697af4846bf007e8 Mon Sep 17 00:00:00 2001 From: Anthony Whitford Date: Sun, 10 Nov 2013 11:01:31 -0800 Subject: [PATCH] Resolved bugs reported in Issue 947. Also added SNAPSHOT suffix to the version by default. --- src/sphinx/Howto/metadata.rst | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/sphinx/Howto/metadata.rst b/src/sphinx/Howto/metadata.rst index e54aed0d9..7b2a1ff5b 100644 --- a/src/sphinx/Howto/metadata.rst +++ b/src/sphinx/Howto/metadata.rst @@ -9,8 +9,6 @@ A project should define :key:`name` and :key:`version`. These will be used in v :type: setting :title: Set the project name - name := "demo" - :: name := "Your project name" @@ -22,17 +20,17 @@ For published projects, this name is normalized to be suitable for use as an art :type: setting :title: Set the project version - version := "1.0" - :: - version := "1.0" + version := "1.0-SNAPSHOT" .. howto:: :id: organization :type: setting :title: Set the project organization +:: + organization := "org.example" By convention, this is a reverse domain name that you own, typically one specific to your project. It is used as a namespace for projects. @@ -41,9 +39,9 @@ A full/formal name can be defined in the :key:`organizationName` setting. This :: - organization := "Example, Inc." + organizationName := "Example, Inc." - organizationHomepage := "org.example" + organizationHomepage := Some(url("http://example.org")) .. howto:: :id: other @@ -59,5 +57,5 @@ A full/formal name can be defined in the :key:`organizationName` setting. This description := "A build tool for Scala." - licenses += "GPLv2" -> "http://www.gnu.org/licenses/gpl-2.0.html" + licenses += "GPLv2" -> url("http://www.gnu.org/licenses/gpl-2.0.html")