Skip to content

Commit 5d2ad85

Browse files
committed
Update links
1 parent 34490c3 commit 5d2ad85

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ haml-coderay
44
[![Build Status](https://secure.travis-ci.org/blom/haml-coderay.png)](https://travis-ci.org/blom/haml-coderay)
55

66
* [Homepage](https://github.com/blom/haml-coderay)
7-
* [Documentation](http://rdoc.info/gems/haml-coderay)
7+
* [Documentation](http://rubydoc.info/gems/haml-coderay)
88

99
[CodeRay][1] filter for [Haml][2]. Specify which [language][3] to highlight
1010
with a shebang followed by the language name:
@@ -30,6 +30,6 @@ Installation
3030
gem install haml-coderay
3131

3232
[1]: http://coderay.rubychan.de/
33-
[2]: http://haml-lang.com/
34-
[3]: http://rdoc.info/gems/coderay/CodeRay/Scanners
35-
[4]: http://rdoc.info/gems/coderay/CodeRay/Encoders
33+
[2]: http://haml.info/
34+
[3]: http://rubydoc.info/gems/coderay/CodeRay/Scanners
35+
[4]: http://rubydoc.info/gems/coderay/CodeRay/Encoders

lib/haml-coderay.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# end
1414
#
1515
# @see Haml::Filters::CodeRay_raw
16-
# @see http://haml-lang.com/docs/yardoc/Haml/Filters.html
17-
# @see http://coderay.rubychan.de/doc/classes/CodeRay/Scanners.html
16+
# @see http://rubydoc.info/gems/haml/Haml/Filters
17+
# @see http://rubydoc.info/gems/coderay/CodeRay/Scanners
1818
module Haml::Filters::CodeRay
1919
include Haml::Filters::Base
2020
lazy_require "coderay"
@@ -25,13 +25,13 @@ module Haml::Filters::CodeRay
2525

2626
# Encoder (_default_: {ENCODER}).
2727
#
28-
# @see http://coderay.rubychan.de/doc/classes/CodeRay/Encoders.html
28+
# @see http://rubydoc.info/gems/coderay/CodeRay/Encoders
2929
attr_accessor :encoder
3030
self.encoder ||= ENCODER
3131

3232
# Encoder options (_default_: {ENCODER_OPTIONS}).
3333
#
34-
# @see http://coderay.rubychan.de/doc/classes/CodeRay/Encoders.html
34+
# @see http://rubydoc.info/gems/coderay/CodeRay/Encoders
3535
attr_accessor :encoder_options
3636
self.encoder_options ||= ENCODER_OPTIONS
3737

@@ -46,7 +46,7 @@ def prepare(text)
4646
# @param [String] text text to render
4747
# @return [String] rendered text
4848
#
49-
# @see http://coderay.rubychan.de/doc/classes/CodeRay.html#M000008
49+
# @see http://rubydoc.info/gems/coderay/CodeRay.scan
5050
def render(text)
5151
::CodeRay.scan(*prepare(text)).send(encoder, encoder_options)
5252
end

0 commit comments

Comments
 (0)