Commit b9fd9e51 authored by wincent's avatar wincent

Redirect wikitext to gh-pages

parent 51f55b6a
......@@ -164,7 +164,7 @@ Products
</div>
<h2 class='major'>Server products</h2>
<div class='product' id='product_15'>
<h3><a href="/products/wikitext">wikitext</a></h3>
<h3><a href="https://github.com/wincent/wikitext">wikitext</a></h3>
<div class="icon">
<!-- forthcoming -->
</div>
......@@ -173,7 +173,7 @@ Products
<h3>Fast wikitext-to-HTML translator</h3>
<p>Written in close-to-the-metal C, the Wikitext gem is a Ruby extension consisting of a lightning-quick Ragel-generated lexer and a hand-coded parser. Built with robustness, performance, security, and ease-of-use in mind, this is a solid markup translator upon which to build your web application.</p>
<div class="links">
<a href="/products/wikitext">Learn more</a>
<a href="https://github.com/wincent/wikitext">Learn more</a>
</div>
</div>
<div class="left">
......
<!DOCTYPE html>
<html lang='en-US'>
<head>
<meta content='text/html;charset=UTF-8' http-equiv='Content-Type'>
<meta content='width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no' name='viewport'>
<title>
wikitext: About
&middot; wincent.com
</title>
<link rel="stylesheet" media="screen" href="/assets/application-0d9a02c4fb8e7640a9f9ac96c9b73a4e.css" />
</head>
<body>
<div class='viewport menu-closed'>
<div class='app'>
<a id="top" name="top"></a>
<nav class='global'>
<a class='menu-icon' href='#'>&equiv;</a>
<h1><a href="/">Wincent</a></h1>
<ul class='navbar-links'>
<li class='selected'>
<a href="/products">Products</a>
</li>
<li><a href="/blog">Blog</a></li>
<li><a href="/wiki">Wiki</a></li>
<li><a href="/issues">Issues</a></li>
</ul>
</nav>
<div id='content-wrapper'>
<div id='content'>
<div id="breadcrumbs"><a href="/">Home</a> &raquo; <a href="/products">Products</a> &raquo; wikitext</div>
<div id='product'>
<h1>Wikitext</h1>
<p>The wikitext extension is a fast wikitext-to-HTML translator written in C and packaged as a Ruby extension.</p>
<ul>
<li><a href="/products/wikitext/doc/index.html">Documentation</a> (generated from source using <a href="/wiki/YARD">YARD</a>)</li>
<li>A &quot;<a href="/misc/wikitext_cheatsheet">cheatsheet</a>&quot; showing some of the available markup</li>
<li>Web-based source-code repository browser: <a href="http://git.wincent.com/wikitext.git" class="external">http://git.wincent.com/wikitext.git</a></li>
</ul>
</div>
</div>
</div>
<footer class='global'>
<ul>
<li><a title="Email me at greg@hurrell.net" class="mailto" href="mailto:greg@hurrell.net">contact</a></li>
<li><a href="/misc/legal">legal</a></li>
</ul>
</footer>
</div>
<div class='menu hide'>
<div class='menu-inner'>
<section>
<h2>Menu</h2>
<ul>
<li><a href="/blog">Blog</a></li>
<li><a href="/wiki">Wiki</a></li>
<li><a href="/issues">Issues</a></li>
<li><a href="/snippets">Snippets</a></li>
</ul>
</section>
</div>
</div>
</div>
<script src="/assets/application-b34e0204a9a743735737bc884cf5d4c2.js"></script>
<script>
new Wincent.Menu();
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Module: Wikitext
&mdash; Wikitext
</title>
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
<script type="text/javascript" charset="utf-8">
pathId = "Wikitext";
relpath = '';
</script>
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="class_list.html?1"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<div id="menu">
<a href="_index.html">Index (W)</a> &raquo;
<span class="title">Wikitext</span>
</div>
<div id="search">
<a class="full_list_link" id="class_list_link"
href="class_list.html">
<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>
</div>
<div class="clear"></div>
</div>
<div id="content"><h1>Module: Wikitext
</h1>
<div class="box_info">
<dl>
<dt>Defined in:</dt>
<dd>doc/rdoc.rb</dd>
</dl>
</div>
<h2>Overview</h2><div class="docstring">
<div class="discussion">
<p>The Wikitext module provides a namespace for all of the extension. In practice, all your interaction will be with the Wikitext::Parser class.</p>
</div>
</div>
<div class="tags">
</div><h2>Defined Under Namespace</h2>
<p class="children">
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Wikitext/Parser.html" title="Wikitext::Parser (class)">Parser</a></span>
</p>
</div>
<div id="footer">
Generated on Tue Dec 25 13:57:55 2018 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.16 (ruby-2.6.0).
</div>
</div>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Exception: Wikitext::Parser::Error
&mdash; Wikitext
</title>
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
<script type="text/javascript" charset="utf-8">
pathId = "Wikitext::Parser::Error";
relpath = '../../';
</script>
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="../../class_list.html?1"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<div id="menu">
<a href="../../_index.html">Index (E)</a> &raquo;
<span class='title'><span class='object_link'><a href="../../Wikitext.html" title="Wikitext (module)">Wikitext</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Parser.html" title="Wikitext::Parser (class)">Parser</a></span></span>
&raquo;
<span class="title">Error</span>
</div>
<div id="search">
<a class="full_list_link" id="class_list_link"
href="../../class_list.html">
<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>
</div>
<div class="clear"></div>
</div>
<div id="content"><h1>Exception: Wikitext::Parser::Error
</h1>
<div class="box_info">
<dl>
<dt>Inherits:</dt>
<dd>
<span class="inheritName">Exception</span>
<ul class="fullTree">
<li>Object</li>
<li class="next">Exception</li>
<li class="next">Wikitext::Parser::Error</li>
</ul>
<a href="#" class="inheritanceTree">show all</a>
</dd>
</dl>
<dl>
<dt>Defined in:</dt>
<dd>doc/rdoc.rb</dd>
</dl>
</div>
<h2>Overview</h2><div class="docstring">
<div class="discussion">
<p>Exception raised when an error occurs during parsing. As the parser is designed to gracefully cope with bad syntax, the only reason you should see this exception is if you pass invalidly-encoded UTF-8 to the parse method.</p>
</div>
</div>
<div class="tags">
</div>
</div>
<div id="footer">
Generated on Tue Dec 25 13:57:55 2018 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.16 (ruby-2.6.0).
</div>
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Class: Wikitext::Parser::Token
&mdash; Wikitext
</title>
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
<script type="text/javascript" charset="utf-8">
pathId = "Wikitext::Parser::Token";
relpath = '../../';
</script>
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="../../class_list.html?1"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<div id="menu">
<a href="../../_index.html">Index (T)</a> &raquo;
<span class='title'><span class='object_link'><a href="../../Wikitext.html" title="Wikitext (module)">Wikitext</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Parser.html" title="Wikitext::Parser (class)">Parser</a></span></span>
&raquo;
<span class="title">Token</span>
</div>
<div id="search">
<a class="full_list_link" id="class_list_link"
href="../../class_list.html">
<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>
</div>
<div class="clear"></div>
</div>
<div id="content"><h1>Class: Wikitext::Parser::Token
</h1>
<div class="box_info">
<dl>
<dt>Inherits:</dt>
<dd>
<span class="inheritName">Object</span>
<ul class="fullTree">
<li>Object</li>
<li class="next">Wikitext::Parser::Token</li>
</ul>
<a href="#" class="inheritanceTree">show all</a>
</dd>
</dl>
<dl>
<dt>Defined in:</dt>
<dd>doc/rdoc.rb</dd>
</dl>
</div>
<h2>Overview</h2><div class="docstring">
<div class="discussion">
<p>Token object representing a symbol found in the input stream during scanning. When you invoke the tokenize method you receive an array of Token instances.</p>
<p>This class exists purely for testing and diagnostic purposes; it is actually just a wrapper for the real token structure that is used internally. (In actual use the Wikitext extension doesn&#39;t even use this class; it instead uses lightweight C structs under the hood for maximum speed and memory efficiency.)</p>
<h1 id="label-Attributes">Attributes</h1>
<dl class="rdoc-list note-list"><dt><code>start</code>
<dd>
<p>the location in memory (a character pointer into the input stream) where the token begins</p>
</dd><dt><code>stop</code>
<dd>
<p>the location in memory (a character pointer) where the token ends</p>
</dd><dt><code>line_start</code>
<dd>
<p>the line number where the token starts; numbering begins at line 1 (there is no line 0)</p>
</dd><dt><code>line_stop</code>
<dd>
<p>the line number where the token ends</p>
</dd><dt><code>column_start</code>
<dd>
<p>the column number where the token start; numbering beings at column 1 (there is no column 0)</p>
</dd><dt><code>column_stop</code>
<dd>
<p>the column number where the token ends</p>
</dd><dt><code>code_point</code>
<dd>
<p>for tokens outside the range of printable ASCII the UTF-32 code point corresponding to the token</p>
</dd><dt><code>token_type</code>
<dd>
<p>the type of the token, from the possible set of token types returned by the types method</p>
</dd><dt><code>string_value</code>
<dd>
<p>the textal content of the token as a Ruby String</p>
</dd></dl>
</div>
</div>
<div class="tags">
</div>
<h2>
Class Method Summary
<small><a href="#" class="summary_toggle">collapse</a></small>
</h2>
<ul class="summary">
<li class="public ">
<span class="summary_signature">
<a href="#types-class_method" title="types (class method)">.<strong>types</strong> &#x21d2; Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Returns a hashof all token types by (numeric) value and (human-readable) name.</p>
</div></span>
</li>
</ul>
<div id="class_method_details" class="method_details_list">
<h2>Class Method Details</h2>
<div class="method_details first">
<h3 class="signature first" id="types-class_method">
.<strong>types</strong> &#x21d2; <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Returns a hashof all token types by (numeric) value and (human-readable) name.</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
424
425
426
427</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'doc/rdoc.rb', line 424</span>
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_types'>types</span>
<span class='comment'># This is just a placeholder.
</span> <span class='comment'># See token.c for the C source code to this method.
</span><span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
</div>
</div>
<div id="footer">
Generated on Tue Dec 25 13:57:55 2018 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.16 (ruby-2.6.0).
</div>
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Wikitext
</title>
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
<script type="text/javascript" charset="utf-8">
pathId = null;
relpath = '';
</script>
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="class_list.html?1"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<div id="menu">
</div>
<div id="search">
<a class="full_list_link" id="class_list_link"
href="class_list.html">
<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>
</div>
<div class="clear"></div>
</div>
<div id="content"><h1 class="noborder title">Wikitext</h1>
<div id="listing">
<h1 class="alphaindex">Alphabetic Index</h1>
<h2>File Listing</h2>
<ul id="files" class="index_inline_list">
<li class="r1"><a href="index.html" title="README">README</a></li>
<li class="r2"><a href="file.RELEASE-NOTES.html" title="RELEASE-NOTES">RELEASE-NOTES</a></li>
</ul>
<div class="clear"></div>
<h2>Namespace Listing A-Z</h2>
<table>
<tr>
<td valign='top' width="33%">
<ul id="alpha_E" class="alpha">
<li class="letter">E</li>
<ul>
<li>
<span class='object_link'><a href="Wikitext/Parser/Error.html" title="Wikitext::Parser::Error (class)">Error</a></span>
<small>(Wikitext::Parser)</small>
</li>
</ul>
</ul>
<ul id="alpha_P" class="alpha">
<li class="letter">P</li>
<ul>
<li>
<span class='object_link'><a href="Wikitext/Parser.html" title="Wikitext::Parser (class)">Parser</a></span>
<small>(Wikitext)</small>
</li>
</ul>
</ul>
<ul id="alpha_T" class="alpha">
<li class="letter">T</li>
<ul>
<li>
<span class='object_link'><a href="Wikitext/Parser/Token.html" title="Wikitext::Parser::Token (class)">Token</a></span>
<small>(Wikitext::Parser)</small>
</li>
</ul>
</ul>