Permalink
Browse files

added built rdoc

  • Loading branch information...
5v3n committed Oct 21, 2010
1 parent 9682d80 commit 68b62e25f4ba5616b30ae362a1fca51f5a2d55f9
View
@@ -12,7 +12,7 @@ require 'rake/testtask'
spec = Gem::Specification.new do |s|
s.name = 'karakuri'
- s.version = '0.1.0'
+ s.version = '0.1.1'
s.has_rdoc = true
s.extra_rdoc_files = ['README.md', 'LICENSE']
s.summary = 'Some handy helpers for toto and the likes...'
@@ -35,7 +35,7 @@ end
Rake::RDocTask.new do |rdoc|
files =['README.md', 'LICENSE', 'lib/**/*.rb']
rdoc.rdoc_files.add(files)
- rdoc.main = "README" # page to start on
+ rdoc.main = "README.md" # page to start on
rdoc.title = "Karakuri Docs"
rdoc.rdoc_dir = 'doc/rdoc' # rdoc output folder
rdoc.options << '--line-numbers'

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,158 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Module: SeriousBlogHelper [Karakuri Docs]</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
+ <script type="text/javascript">
+ // <![CDATA[
+
+ function popupCode( url ) {
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
+ }
+
+ function toggleCode( id ) {
+ if ( document.getElementById )
+ elem = document.getElementById( id );
+ else if ( document.all )
+ elem = eval( "document.all." + id );
+ else
+ return false;
+
+ elemStyle = elem.style;
+
+ if ( elemStyle.display != "block" ) {
+ elemStyle.display = "block"
+ } else {
+ elemStyle.display = "none"
+ }
+
+ return true;
+ }
+
+ // Make codeblocks hidden by default
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
+
+ // ]]>
+ </script>
+
+</head>
+<body>
+
+
+ <div id="classHeader">
+ <table class="header-table">
+ <tr class="top-aligned-row">
+ <td><strong>Module</strong></td>
+ <td class="class-name-in-header">SeriousBlogHelper</td>
+ </tr>
+ <tr class="top-aligned-row">
+ <td><strong>In:</strong></td>
+ <td>
+
+
+ <a href="../files/lib/serious_blog_helper_rb.html">
+
+ lib/serious_blog_helper.rb
+
+ </a>
+
+
+ <br />
+
+ </td>
+ </tr>
+
+
+ </table>
+ </div>
+ <!-- banner header -->
+
+ <div id="bodyContent">
+
+ <div id="contextContent">
+
+ </div>
+
+
+ <div id="method-list">
+ <h3 class="section-bar">Methods</h3>
+
+ <div class="name-list">
+
+ <a href="#M000008">tags_from_article</a>&nbsp;&nbsp;
+
+ </div>
+ </div>
+
+ </div>
+
+ <!-- if includes -->
+
+ <div id="section">
+
+
+
+
+ <!-- if method_list -->
+
+ <div id="methods">
+
+ <h3 class="section-bar">Public Class methods</h3>
+
+
+ <div id="method-M000008" class="method-detail">
+ <a name="M000008"></a>
+
+ <div class="method-heading">
+
+ <a href="#M000008" class="method-signature">
+
+ <span class="method-name">tags_from_article</span><span class="method-args">(article=nil)</span>
+
+ </a>
+
+ </div>
+
+ <div class="method-description">
+
+ <p>
+extract tags from article
+</p>
+
+ <p><a class="source-toggle" href="#"
+ onclick="toggleCode('M000008-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000008-source">
+<pre>
+ <span class="ruby-comment cmt"># File lib/serious_blog_helper.rb, line 5</span>
+ 5: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">SeriousBlogHelper</span>.<span class="ruby-identifier">tags_from_article</span>(<span class="ruby-identifier">article</span>=<span class="ruby-keyword kw">nil</span>)
+ 6: <span class="ruby-identifier">tags_marker</span> = <span class="ruby-value str">%&amp;tags&quot;=&gt;&amp;</span>
+ 7: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">article</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">article</span>.<span class="ruby-identifier">inspect</span>.<span class="ruby-identifier">index</span>(<span class="ruby-identifier">tags_marker</span>)
+ 8: <span class="ruby-identifier">tags_start_index</span>=<span class="ruby-identifier">article</span>.<span class="ruby-identifier">inspect</span>.<span class="ruby-identifier">index</span>(<span class="ruby-identifier">tags_marker</span>) <span class="ruby-operator">+</span> <span class="ruby-identifier">tags_marker</span>.<span class="ruby-identifier">length</span>
+ 9: <span class="ruby-identifier">tags_end_index</span> = <span class="ruby-identifier">article</span>.<span class="ruby-identifier">inspect</span>.<span class="ruby-identifier">index</span>(<span class="ruby-value str">&quot;\&quot;,&quot;</span> ,<span class="ruby-identifier">tags_start_index</span>)
+10: <span class="ruby-identifier">tags</span> = <span class="ruby-identifier">article</span>.<span class="ruby-identifier">inspect</span>[<span class="ruby-identifier">tags_start_index</span><span class="ruby-operator">+</span><span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-identifier">tags_end_index</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>]
+11: <span class="ruby-keyword kw">end</span>
+12: <span class="ruby-keyword kw">end</span>
+</pre>
+ </div>
+
+ </div>
+ </div>
+
+
+
+ </div>
+
+
+
+
+ </div>
+
+<div id="validator-badges">
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
+</div>
+
+</body>
+</html>
View
@@ -0,0 +1 @@
+Thu, 21 Oct 2010 22:03:33 +0200
View
@@ -0,0 +1,117 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>File: LICENSE [Karakuri Docs]</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
+ <script type="text/javascript">
+ // <![CDATA[
+
+ function popupCode( url ) {
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
+ }
+
+ function toggleCode( id ) {
+ if ( document.getElementById )
+ elem = document.getElementById( id );
+ else if ( document.all )
+ elem = eval( "document.all." + id );
+ else
+ return false;
+
+ elemStyle = elem.style;
+
+ if ( elemStyle.display != "block" ) {
+ elemStyle.display = "block"
+ } else {
+ elemStyle.display = "none"
+ }
+
+ return true;
+ }
+
+ // Make codeblocks hidden by default
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
+
+ // ]]>
+ </script>
+
+</head>
+<body>
+
+
+ <div id="fileHeader">
+ <h1>LICENSE</h1>
+ <table class="header-table">
+ <tr class="top-aligned-row">
+ <td><strong>Path:</strong></td>
+ <td>LICENSE
+
+ </td>
+ </tr>
+ <tr class="top-aligned-row">
+ <td><strong>Last Update:</strong></td>
+ <td>2010-10-20 23:38:28 +0200</td>
+ </tr>
+ </table>
+ </div>
+ <!-- banner header -->
+
+ <div id="bodyContent">
+
+ <div id="contextContent">
+
+ <div id="description">
+ <h2><a href="../classes/Karakuri.html">Karakuri</a></h2>
+<p>
+Copyright &#169; 2010 Sven Kraeuter mail@5v3n.com
+</p>
+<pre>
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the &quot;Software&quot;), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+</pre>
+
+ </div>
+
+ </div>
+
+
+ </div>
+
+ <!-- if includes -->
+
+ <div id="section">
+
+
+
+
+ <!-- if method_list -->
+
+
+
+
+ </div>
+
+<div id="validator-badges">
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
+</div>
+
+</body>
+</html>
Oops, something went wrong.

0 comments on commit 68b62e2

Please sign in to comment.