File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ require 'yaml'
44require 'bundler'
55
66SOURCE_DIR = 'src'
7- INDEX_HTML = 'files/railties/RDOC_MAIN_rdoc .html'
8- NEW_INDEX_HTML = 'files/railties/RDOC_MAIN_md .html'
7+ INDEX_HTML = 'files/railties/RDOC_MAIN_md .html'
8+ OLD_INDEX_HTML = 'files/railties/RDOC_MAIN_rdoc .html'
99MY_SDOC_BRANCH = 'main'
1010
1111desc 'Generate documentation for default Rails version and build Jekyll site'
@@ -85,9 +85,9 @@ def generate_src(target_version:)
8585 cd target_dir do
8686 # Generate index.html
8787 if Gem ::Version . new ( target_version ) >= Gem ::Version . new ( '7.1' )
88- cp NEW_INDEX_HTML , 'index.html'
89- else
9088 cp INDEX_HTML , 'index.html'
89+ else
90+ cp OLD_INDEX_HTML , 'index.html'
9191 end
9292
9393 # Prepend version number to the absolute path in navigation.html
Original file line number Diff line number Diff line change 11services :
22 app :
3- image : ruby:3.3
4- # Use Ruby 2.7 for older builds
5- # image: ruby:2.7
3+ # NOTE: Use Ruby 2.7 for older builds
4+ image : ruby:${RUBY_VERSION:-3.3}
65 working_dir : /app
76 volumes :
87 - .:/app
98 environment :
109 RUBY_YJIT_ENABLE : true
10+ BUNDLE_AUTO_INSTALL : true
Original file line number Diff line number Diff line change 6868 </ div >
6969 </ div >
7070
71- < script src ="https://cdn.jsdelivr.net/npm/jquery@3.5 .1/dist/jquery.min.js " crossorigin ="anonymous "> </ script >
71+ < script src ="https://cdn.jsdelivr.net/npm/jquery@3.7 .1/dist/jquery.min.js " crossorigin ="anonymous "> </ script >
7272 < script src ="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js " integrity ="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct " crossorigin ="anonymous "> </ script >
7373 < script src ="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.3.1/anchor.min.js " integrity ="sha512-zPB79j2C+3sFS9zcA3vg/z6bVKzJVEyu9pY5w89akQRys76zpAT2t6S3wZKla3QQ14O5l/Yt0RUQ/DHXx82Y5g== " crossorigin ="anonymous " referrerpolicy ="no-referrer "> </ script >
7474 < script src ="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js "> </ script >
You can’t perform that action at this time.
0 commit comments