Skip to content

Commit 665ae11

Browse files
author
Lucas Nussbaum
committed
[dev/wiki] Improve footer
1 parent d335b5d commit 665ae11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generators/wiki/lib/wiki_generator.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ def generate_content
4343
end
4444

4545
def remove_page_creation_date(content)
46-
return content.gsub(/''<small>Last generated from the Grid5000 API on .+<\/small>''/, '')
46+
return content.gsub(/''<small>Last generated from the Grid'5000 Reference API on .+<\/small>''/, '')
4747
end
4848

4949
def generated_date_string
5050
commit = `git show --oneline -s`.split(' ').first
5151
date = Time.now.strftime("%Y-%m-%d")
52-
return "Last generated from the Grid5000 Reference API on #{date} ([https://github.com/grid5000/reference-repository/commit/#{commit} commit #{commit}])"
52+
return "Last generated from the Grid'5000 Reference API on #{date} ([https://github.com/grid5000/reference-repository/commit/#{commit} commit #{commit}])"
5353
end
5454

5555
#Actually edit the mediawiki page with the new generated content

0 commit comments

Comments
 (0)