Skip to content

Commit 9e20044

Browse files
committed
chore: update documentation and development dependencies
- Modify .document to adjust included files - Update Gemfile to include RDoc 6.x
1 parent 4f7e3bb commit 9e20044

File tree

5 files changed

+7
-2
lines changed

5 files changed

+7
-2
lines changed

.document

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
README.md
22
LICENSE.txt
3-
lib/**/*.rb
4-
ext/sha3/digest.{c,h}
53
doc/**/*.rb
4+
ext/sha3/*.c

.rdoc_options

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ title: SHA3
55
charset: UTF-8
66
encoding: UTF-8
77
force_update: true
8+
line_numbers: true
89
markup: rdoc
910
op_dir: html
1011
visibility: :private

.rubocop.yml

+3
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ AllCops:
88

99
Layout/LineLength:
1010
Max: 120
11+
12+
Naming/VariableNumber:
13+
Enabled: false

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ gemspec
66

77
group :development, :test do
88
gem 'irb'
9+
gem 'rdoc', '~> 6'
910

1011
gem 'rake', '~> 13'
1112
gem 'rake-compiler', '~> 1'

Rakefile

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ require 'rdoc/task'
2929
RDoc::Task.new do |rdoc|
3030
rdoc.rdoc_dir = '../docs/sha3'
3131
rdoc.options << '--force-update'
32+
rdoc.options << '-V'
3233
end
3334

3435
task default: %i[compile spec]

0 commit comments

Comments
 (0)