You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: generators/wiki/lib/wiki_generator.rb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -43,13 +43,13 @@ def generate_content
43
43
end
44
44
45
45
defremove_page_creation_date(content)
46
-
returncontent.gsub(/''<small>Last generated from the Grid5000 API on .+<\/small>''/,'')
46
+
returncontent.gsub(/''<small>Last generated from the Grid'5000 Reference API on .+<\/small>''/,'')
47
47
end
48
48
49
49
defgenerated_date_string
50
50
commit=`git show --oneline -s`.split(' ').first
51
51
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}])"
53
53
end
54
54
55
55
#Actually edit the mediawiki page with the new generated content
0 commit comments