Skip to content

Commit ffed3c3

Browse files
committed
Doc update
1 parent 3b203a7 commit ffed3c3

File tree

357 files changed

+157649
-738
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

357 files changed

+157649
-738
lines changed

Rakefile

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ begin
6969
namespace :spec do
7070
desc '* Configured for ci'
7171
RSpec::Core::RakeTask.new(:ci) do |t|
72-
options = %w[ --color
72+
options = %w[ --color
7373
--backtrace
7474
--order defined
7575
--format documentation
@@ -98,7 +98,7 @@ rescue LoadError => e
9898
puts 'RSpec is not installed, skipping test task definitions: ' + e.message
9999
end
100100

101-
current_yard_version_name = [*Concurrent::VERSION.split('.')[0..1], 'x'].join('.')
101+
current_yard_version_name = Concurrent::VERSION
102102

103103
begin
104104
require 'yard'
@@ -196,7 +196,15 @@ begin
196196
begin
197197
FileUtils.cp_r 'docs', 'docs-copy', verbose: true
198198
Rake::Task["yard:#{name}"].invoke
199-
sh 'diff -r docs/ docs-copy/'
199+
sh 'diff -r docs/ docs-copy/' do |ok, res|
200+
unless ok
201+
begin
202+
STDOUT.puts 'Command failed. Continue? (y/n)'
203+
input = STDIN.gets.strip.downcase
204+
end until %w(y n).include?(input)
205+
exit 1 if input == 'n'
206+
end
207+
end
200208
ensure
201209
FileUtils.rm_rf 'docs-copy', verbose: true
202210
end

docs-source/channel.out.md

Lines changed: 10 additions & 10 deletions

docs-source/medium-example.out.rb

Lines changed: 354 additions & 343 deletions
Large diffs are not rendered by default.

docs-source/signpost.md

Lines changed: 4 additions & 3 deletions
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)