File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ require 'yaml'
4
4
require 'bundler'
5
5
6
6
SOURCE_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'
9
9
MY_SDOC_BRANCH = 'main'
10
10
11
11
desc 'Generate documentation for default Rails version and build Jekyll site'
@@ -85,9 +85,9 @@ def generate_src(target_version:)
85
85
cd target_dir do
86
86
# Generate index.html
87
87
if Gem ::Version . new ( target_version ) >= Gem ::Version . new ( '7.1' )
88
- cp NEW_INDEX_HTML , 'index.html'
89
- else
90
88
cp INDEX_HTML , 'index.html'
89
+ else
90
+ cp OLD_INDEX_HTML , 'index.html'
91
91
end
92
92
93
93
# Prepend version number to the absolute path in navigation.html
Original file line number Diff line number Diff line change 1
1
services :
2
2
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}
6
5
working_dir : /app
7
6
volumes :
8
7
- .:/app
9
8
environment :
10
9
RUBY_YJIT_ENABLE : true
10
+ BUNDLE_AUTO_INSTALL : true
Original file line number Diff line number Diff line change 68
68
</ div >
69
69
</ div >
70
70
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 >
72
72
< script src ="
https://cdn.jsdelivr.net/npm/[email protected] /dist/js/bootstrap.bundle.min.js "
integrity ="
sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct "
crossorigin ="
anonymous "
> </ script >
73
73
< 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 >
74
74
< 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