[DRE-commits] [ruby-org] 120/303: Headlines marked with the COMMENT keyword are not exported

Jérémy Bobbio lunar at alioth.debian.org
Fri Aug 9 17:33:40 UTC 2013


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch master
in repository ruby-org.

commit bf6e15e6f8c90258601621be617673902c53f128
Author: Waldemar Quevedo <waldemar.quevedo at gmail.com>
Date:   Sun Nov 20 02:13:07 2011 +0900

    Headlines marked with the COMMENT keyword are not exported
---
 Rakefile                              |    2 +-
 spec/html_examples/comment-trees.html |    4 ++++
 spec/html_examples/comment-trees.org  |   13 +++++++++++++
 3 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/Rakefile b/Rakefile
index abb3def..1969e4f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -19,7 +19,7 @@ Bones {
   url  'http://github.com/bdewey/org-ruby'
   version  OrgRuby::VERSION
   depend_on 'rubypants'
-  spec.opts ['--color']
+  # spec.opts ['--color']
 }
 
 
diff --git a/spec/html_examples/comment-trees.html b/spec/html_examples/comment-trees.html
new file mode 100644
index 0000000..bfc6490
--- /dev/null
+++ b/spec/html_examples/comment-trees.html
@@ -0,0 +1,4 @@
+<h1 class="title">This headline is in the output</h1>
+<h1>This is in the output</h1>
+<h2>Yet, this is in the output</h2>
+<p>and this is also part of the output</p>
diff --git a/spec/html_examples/comment-trees.org b/spec/html_examples/comment-trees.org
new file mode 100644
index 0000000..e3e0d39
--- /dev/null
+++ b/spec/html_examples/comment-trees.org
@@ -0,0 +1,13 @@
+* This headline is in the output
+* COMMENT Commented headline should not be in the output
+This should not be in the output either.
+** This should not be in the output.
+*** Neither this 
+**** nor this
+** Not in the output
+* This is in the output
+** COMMENT But this is not
+This is not in the output
+*** Neither is this
+** Yet, this is in the output
+and this is also part of the output

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-org.git



More information about the Pkg-ruby-extras-commits mailing list