Skip to content

Commit 2cdb601

Browse files
committed
Do not link to ruby-doc.org
ruby-doc.org is a commercial site that serves ads, we have an official Ruby documentation hosting site at docs.ruby-lang.org. It's not well ranked in search engines but it's the only official host of Ruby documentation and it can't be hijacked by random folks to serve ads or potentially much more malicious content to unsuspecting folks looking at the Try Ruby playground.
1 parent 2fe9d84 commit 2cdb601

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/playground.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ description: Play around with Ruby programs
99
<div id="tryruby-content">
1010
<div class="playground-iframe-wrapper">
1111
<iframe
12-
src="https://www.ruby-doc.org/core/Kernel.html"
13-
>www.ruby-doc.org</iframe>
12+
src="https://docs.ruby-lang.org/en/master/"
13+
>Ruby Documentation</iframe>
1414
</div>
1515

1616
<p>
1717
In the Playground you can try any Ruby code you like.<br />
1818
The
19-
<a href="https://www.ruby-doc.org/core/Kernel.html" target="_blank">Ruby documentation</a>
19+
<a href="https://docs.ruby-lang.org/en/master/" target="_blank">Official Ruby documentation</a>
2020
is included.
2121
</p>
2222
</div>

0 commit comments

Comments
 (0)