diff --git a/nanoc/rules/assets.rules b/nanoc/rules/assets.rules index 944339f..d637faf 100644 --- a/nanoc/rules/assets.rules +++ b/nanoc/rules/assets.rules @@ -1,6 +1,8 @@ #!/usr/bin/env ruby # frozen_string_literal: true -# contains rules for images, fonts, etc + +## +# Contains rules for images, fonts, etc ## # fonts diff --git a/nanoc/rules/index.rules b/nanoc/rules/index.rules index 736e2cd..ea8e6c8 100644 --- a/nanoc/rules/index.rules +++ b/nanoc/rules/index.rules @@ -1,6 +1,9 @@ #!/usr/bin/env ruby # frozen_string_literal: true -# contains rules for the surah index available at // + +## +# Contains rules for the surah index available +# at // locales.each do |locale| compile "/html/index.html.erb", rep: "/#{locale}/surah/index" do diff --git a/nanoc/rules/random.rules b/nanoc/rules/random.rules index 9eae2f2..3c6483a 100644 --- a/nanoc/rules/random.rules +++ b/nanoc/rules/random.rules @@ -1,6 +1,8 @@ #!/usr/bin/env ruby # frozen_string_literal: true -# contains rules for a redirect from //random/ to a + +## +# Contains rules for a redirect from //random/ to a # random surah (eg /en/random/ -> /en/al-kahf/) locales.each do |locale| diff --git a/nanoc/rules/redirect.rules b/nanoc/rules/redirect.rules index e4c5bca..bd2dec4 100644 --- a/nanoc/rules/redirect.rules +++ b/nanoc/rules/redirect.rules @@ -1,6 +1,8 @@ #!/usr/bin/env ruby # frozen_string_literal: true -# contains rules for a redirect from the root path + +## +# Contains rules for a redirect from the root path # to the surah index for a given locale (eg / -> /en/) compile "/html/redirect.html.erb" do diff --git a/nanoc/rules/stream.rules b/nanoc/rules/stream.rules index dc42f01..e03caa2 100644 --- a/nanoc/rules/stream.rules +++ b/nanoc/rules/stream.rules @@ -1,6 +1,8 @@ #!/usr/bin/env ruby # frozen_string_literal: true -# contains rules for the the surah stream available + +## +# Contains rules for the the surah stream available # at ///, /// compile "/json/*/*/surah.json" do