Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/check_misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ jobs:
fi
continue-on-error: ${{ steps.now.outputs.mon < 12 }}

- name: Check if date in man pages is up-to-date
run: |
make V=1 GIT=git BASERUBY=ruby update-man-date
git diff --color --no-ext-diff --ignore-submodules --exit-code -- man
- name: Check if to generate documents
id: rdoc
run: |
Expand Down
2 changes: 1 addition & 1 deletion common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1897,7 +1897,7 @@ sudo-precheck: PHONY
@$(SUDO) echo > $(NULL)

update-man-date: PHONY
-$(Q) $(BASERUBY) -I"$(tooldir)/lib" -rvcs -i -p \
$(Q) $(BASERUBY) -I"$(tooldir)/lib" -rvcs -i -p \
-e 'BEGIN{@vcs=VCS.detect(ARGV.shift)}' \
-e '$$_.sub!(/^(\.Dd ).*/){$$1+@vcs.modified(ARGF.path).strftime("%B %d, %Y")}' \
"$(srcdir)" "$(srcdir)"/man/*.1
Expand Down
2 changes: 1 addition & 1 deletion man/erb.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\"Ruby is copyrighted by Yukihiro Matsumoto <matz@netlab.jp>.
.Dd December 16, 2018
.Dd February 22, 2026
.Dt ERB 1 "Ruby Programmer's Reference Guide"
.Os UNIX
.Sh NAME
Expand Down
2 changes: 1 addition & 1 deletion man/goruby.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\"Ruby is copyrighted by Yukihiro Matsumoto <matz@netlab.jp>.
.Dd April 20, 2017
.Dd February 22, 2026
.Dt GORUBY 1 "Ruby Programmer's Reference Guide"
.Os UNIX
.Sh NAME
Expand Down
2 changes: 1 addition & 1 deletion man/ruby.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\"Ruby is copyrighted by Yukihiro Matsumoto <matz@netlab.jp>.
.Dd April 14, 2018
.Dd February 22, 2026
.Dt RUBY 1 "Ruby Programmer's Reference Guide"
.Os UNIX
.Sh NAME
Expand Down