[#57574] [ruby-trunk - Feature #8976][Open] file-scope freeze_string directive — "akr (Akira Tanaka)" <akr@...>

70 messages 2013/10/02

[#57579] [ruby-trunk - Feature #8977][Open] String#frozen that takes advantage of the deduping — "sam.saffron (Sam Saffron)" <sam.saffron@...>

25 messages 2013/10/02

[#57679] [ruby-trunk - Feature #8987][Open] map/collect extension which handles arguments — "sowieso (So Wieso)" <sowieso@...>

16 messages 2013/10/05

[#57705] [ruby-trunk - Feature #8992][Open] Use String#freeze and compiler tricks to replace "str"f suffix — "headius (Charles Nutter)" <headius@...>

43 messages 2013/10/07

[#57727] [ruby-trunk - Feature #8998][Open] string keys for hash literals should use fstrings — "normalperson (Eric Wong)" <normalperson@...>

17 messages 2013/10/08

[#57771] [ruby-trunk - Bug #9008][Open] TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants fails on ARM — "vo.x (Vit Ondruch)" <v.ondruch@...>

15 messages 2013/10/09

[#57888] [ruby-trunk - Feature #9025][Open] Clarify the error message when calling a method with the wrong number of arguments — Nerian (Gonzalo Rodríguez) <siotopo@...>

11 messages 2013/10/15

[#57993] [ruby-trunk - Feature #9047][Open] Alternate hash key syntax for symbols — "jamonholmgren (Jamon Holmgren)" <jamon@...>

13 messages 2013/10/23

[#58007] [ruby-trunk - Feature #9049][Open] Shorthands (a:b, *) for inclusive indexing — "mohawkjohn (John Woods)" <john.o.woods@...>

25 messages 2013/10/24

[#58033] [ruby-trunk - Bug #9053][Open] SSL Issue with Ruby 2.0.0 — "tisba (Sebastian Cohnen)" <ruby-lang@...>

16 messages 2013/10/25

[#58080] [ruby-trunk - Feature #9064][Open] Add support for packages, like in Java — "rosenfeld (Rodrigo Rosenfeld Rosas)" <rr.rosas@...>

23 messages 2013/10/30

[ruby-core:57770] Re: [ruby-trunk - Feature #8636] Documentation hosting on ruby-lang.org

From: Zachary Scott <e@...>
Date: 2013-10-09 12:51:47 UTC
List: ruby-core #57770
Hello Okkez, Thanks for your feedback!


On Oct 8, 2013, at 10:13 PM, okkez (okkez _) <redmine@ruby-lang.org> wrote:
>> 
>> I think docs.ruby-lang.org/en will be default for now, as we add more translations we can list them on: docs.ruby-lang.org/
> 
> I think docs.ruby-lang.org/ will show links to other languages.
> (See doc.ruby-lang.org. It's very very simple page I craeted;-))
> Because there is a RUREMA (Japanese version of reference manual).
> And we have many tasks to publish i18n docs, so we can describe tasks on docs.ruby-lang.org/.
> 

Agree that docs.ruby-lang.org/ should list translations, similar to your page on doc.ruby-lang.org!

>> If you check rake task I wrote I plan to support stable versions only, ie: docs.ruby-lang.org/en/ruby_1_9_3/
> 
> I prefer the URI like docs.ruby-lang.org/en/1.9.3/ instead of yours.
> Because we can guess URI for available versions.
> I think that many light users don't know stable branch name.
> We have Japanese version URI such as http://doc.ruby-lang.org/ja/2.0.0/
> 

For this we need to update my Rakefile to gsub 'ruby_1_9_3' to '1.9.3' to initialize the repository via "git clone", such as:

branch = ruby_1_9_3
version = branch.gsub('ruby_', '').gsub('_', '.')
`git clone --branch=#{branch} git://github.com/ruby/ruby.git version`

As of now we are using directory task for #{source_dir} as branch name.

btw, the Rakefile is here: https://github.com/zzak/docs.ruby-lang.org/blob/master/Rakefile

> Which subdomain do you like? doc or docs.
> For now, doc.ruby-lang.org is available.
> 

I like docs subdomain


Thank you!

In This Thread