Commits

Michael Granger committed a46e4ca

Documentation fixes I (of course) only noticed after releasing

  • Participants
  • Parent commits d6b1c2f

Comments (0)

Files changed (2)

 	self.hg_sign_tags = true if self.respond_to?( :hg_sign_tags )
 	self.check_history_on_release = true if self.respond_to?( :check_history_on_release= )
 
-	self.rdoc_locations << "deveiate:/usr/local/www/public/code/#{remote_rdoc_dir}"
+	self.rdoc_locations << "deveiate:/usr/local/www/public/code/ruby-#{remote_rdoc_dir}"
 end
 
 ENV['VERSION'] ||= hoespec.spec.version.to_s

File lib/wordnet/lexicon.rb

 #
 # == Creating a Lexicon
 #
-# To create a Lexicon, point it at a database using [Sequel database connection
-# criteria]{http://sequel.rubyforge.org/rdoc/files/doc/opening_databases_rdoc.html}:
+# To create a Lexicon, point it at a database using {Sequel database connection
+# criteria}[http://sequel.rubyforge.org/rdoc/files/doc/opening_databases_rdoc.html]:
 #
 #     lex = WordNet::Lexicon.new( 'postgres://localhost/wordnet30' )
 #     # => #<WordNet::Lexicon:0x7fd192a76668 postgres://localhost/wordnet30>
 # If you're using a database that supports using regular expressions (e.g.,
 # PostgreSQL), you can use that to select one with a matching definition:
 #
-#    lex[ :language, %r:name.*discipline: ]
+#    lex[ :language, /name.*discipline/ ]
 #    # => #<WordNet::Synset:0x7ffa78f235a8 {106304059} 'language, nomenclature,
 #    #       terminology' (noun): [noun.communication] a system of words used
 #    #       to name things in a particular discipline>