You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2022/03/28 21:59:16 UTC

[libcloud-site] 07/07: Remove debug code, add stage script.

This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/libcloud-site.git

commit dc6a08f4a31523e30cc53c1fbf1d29588de5820c
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Mon Mar 28 23:58:11 2022 +0200

    Remove debug code, add stage script.
---
 scripts/stage-changes.sh             | 3 +++
 source/_plugins/generate_archives.rb | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/scripts/stage-changes.sh b/scripts/stage-changes.sh
new file mode 100755
index 0000000..ed18b03
--- /dev/null
+++ b/scripts/stage-changes.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+git add output
+git commit -m "Re-generate website."
diff --git a/source/_plugins/generate_archives.rb b/source/_plugins/generate_archives.rb
index a6879b5..7b47662 100644
--- a/source/_plugins/generate_archives.rb
+++ b/source/_plugins/generate_archives.rb
@@ -197,7 +197,6 @@ module Jekyll
     def archives_sidebar_links(archives)
       archives.sort.reverse.collect do |path, count|
           year, month = path.split('/').map(&:to_i)
-          #%Q{<li> aaa</li>}
           %Q{<li> <a href="/blog/archives/#{path}/"> #{Months[month]} #{year}</a> &nbsp;(#{count})</li>}
       end
     end