Return-Path: X-Original-To: apmail-aurora-commits-archive@minotaur.apache.org Delivered-To: apmail-aurora-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2321618C05 for ; Fri, 11 Dec 2015 22:22:39 +0000 (UTC) Received: (qmail 14452 invoked by uid 500); 11 Dec 2015 22:22:39 -0000 Delivered-To: apmail-aurora-commits-archive@aurora.apache.org Received: (qmail 14416 invoked by uid 500); 11 Dec 2015 22:22:39 -0000 Mailing-List: contact commits-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.apache.org Delivered-To: mailing list commits@aurora.apache.org Received: (qmail 14407 invoked by uid 99); 11 Dec 2015 22:22:39 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Dec 2015 22:22:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9EE161A22F3 for ; Fri, 11 Dec 2015 22:22:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.446 X-Spam-Level: X-Spam-Status: No, score=0.446 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.554] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 1BVa9hv4rjRg for ; Fri, 11 Dec 2015 22:22:38 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id 58AA920B91 for ; Fri, 11 Dec 2015 22:22:37 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 685FAE0044 for ; Fri, 11 Dec 2015 22:22:36 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 66C783A01D9 for ; Fri, 11 Dec 2015 22:22:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1719581 - /aurora/site/Rakefile Date: Fri, 11 Dec 2015 22:22:36 -0000 To: commits@aurora.apache.org From: wfarner@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20151211222236.66C783A01D9@svn01-us-west.apache.org> Author: wfarner Date: Fri Dec 11 22:22:36 2015 New Revision: 1719581 URL: http://svn.apache.org/viewvc?rev=1719581&view=rev Log: Open markdown with utf-8 encoding due to some files with special characters. Modified: aurora/site/Rakefile Modified: aurora/site/Rakefile URL: http://svn.apache.org/viewvc/aurora/site/Rakefile?rev=1719581&r1=1719580&r2=1719581&view=diff ============================================================================== --- aurora/site/Rakefile (original) +++ aurora/site/Rakefile Fri Dec 11 22:22:36 2015 @@ -37,7 +37,7 @@ task :update_docs do Dir.chdir("#{docs_dir}/latest/") { Dir.glob('*.md').each { |doc| puts "working on: #{doc}" - IO.write(doc, File.open(doc) { |f| + IO.write(doc, File.open(doc, :encoding => 'utf-8') { |f| f.read.gsub(/\(([A-Za-z0-9-]+)(\.md)\)/, '(/documentation/latest/\1/)') }) } @@ -50,4 +50,4 @@ end desc "Run the site in development mode. Preview available at http://localhost:4567/" task :dev do system("middleman server") -end \ No newline at end of file +end