diff --git a/.github/workflows/check_misc.yml b/.github/workflows/check_misc.yml index ac74ae1daaa9db..1be94a016e4126 100644 --- a/.github/workflows/check_misc.yml +++ b/.github/workflows/check_misc.yml @@ -22,6 +22,10 @@ jobs: with: token: ${{ (github.repository == 'ruby/ruby' && !startsWith(github.event_name, 'pull')) && secrets.MATZBOT_AUTO_UPDATE_TOKEN || secrets.GITHUB_TOKEN }} + - uses: ruby/setup-ruby@v1 + with: + ruby-version: head + - uses: ./.github/actions/setup/directories with: makeup: true @@ -111,7 +115,7 @@ jobs: - name: Generate docs id: docs run: | - make XRUBY=ruby RDOC_DEPENDS= RBCONFIG=update-rbconfig html + make XRUBY=ruby RDOC_DEPENDS= RBCONFIG=update-rbconfig HTMLOUT=html html echo htmlout=ruby-html-${GITHUB_SHA:0:10} >> $GITHUB_OUTPUT # Generate only when document commit/PR if: >- diff --git a/doc/float.rb b/doc/float.rb index f9068dfb1b82cc..93b57ebc4c65a7 100644 --- a/doc/float.rb +++ b/doc/float.rb @@ -51,7 +51,7 @@ # See: # # - https://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html -# - https://github.com/rdp/ruby_tutorials_core/wiki/Ruby-Talk-FAQ#-why-are-rubys-floats-imprecise +# - https://github.com/rdp/ruby_tutorials_core/wiki/Ruby-Talk-FAQ#user-content--why-are-rubys-floats-imprecise # - https://en.wikipedia.org/wiki/Floating_point#Accuracy_problems # # Note that precise storage and computation of rational numbers diff --git a/doc/jit/yjit.md b/doc/jit/yjit.md index 12333f6ea8e0f4..c739f8ab4d8b41 100644 --- a/doc/jit/yjit.md +++ b/doc/jit/yjit.md @@ -94,7 +94,7 @@ cd yjit The YJIT `ruby` binary can be built with either GCC or Clang. It can be built either in dev (debug) mode or in release mode. For maximum performance, compile YJIT in release mode with GCC. -See [Building Ruby](../contributing/building_ruby.md#building-ruby). +See [Building Ruby](rdoc-ref:contributing/building_ruby.md@building-ruby). ```sh # Configure in release mode for maximum performance, build and install diff --git a/man/erb.1 b/man/erb.1 index d8739a763940fe..299775d98c6e78 100644 --- a/man/erb.1 +++ b/man/erb.1 @@ -1,6 +1,6 @@ .\"Ruby is copyrighted by Yukihiro Matsumoto . .Dd December 16, 2018 -.Dt ERB \&1 "Ruby Programmer's Reference Guide" +.Dt ERB 1 "Ruby Programmer's Reference Guide" .Os UNIX .Sh NAME .Nm erb diff --git a/man/goruby.1 b/man/goruby.1 index a305a5afceafd8..a114a9056c6340 100644 --- a/man/goruby.1 +++ b/man/goruby.1 @@ -1,6 +1,6 @@ .\"Ruby is copyrighted by Yukihiro Matsumoto . .Dd April 20, 2017 -.Dt GORUBY \&1 "Ruby Programmer's Reference Guide" +.Dt GORUBY 1 "Ruby Programmer's Reference Guide" .Os UNIX .Sh NAME .Nm goruby diff --git a/man/ruby.1 b/man/ruby.1 index 8141a6d7efa97a..4a869c07751ffd 100644 --- a/man/ruby.1 +++ b/man/ruby.1 @@ -1,6 +1,6 @@ .\"Ruby is copyrighted by Yukihiro Matsumoto . .Dd April 14, 2018 -.Dt RUBY \&1 "Ruby Programmer's Reference Guide" +.Dt RUBY 1 "Ruby Programmer's Reference Guide" .Os UNIX .Sh NAME .Nm ruby