aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2013-09-21 11:43:48 -0500
committerTristan Sloughter <[email protected]>2013-09-21 11:43:48 -0500
commit32db43885ab2db7c762a37f6794ee14181ca2170 (patch)
tree864a29c5cd68f3319f7764bdc84b750675e77e82
parentdfdd4deb4a2d1bab985a315be32810eeaf72f914 (diff)
downloadrelx-32db43885ab2db7c762a37f6794ee14181ca2170.tar.gz
relx-32db43885ab2db7c762a37f6794ee14181ca2170.tar.bz2
relx-32db43885ab2db7c762a37f6794ee14181ca2170.zip
convert generated page to markdown
-rw-r--r--.gitignore1
-rw-r--r--_config.yml1
-rw-r--r--_includes/footer.html12
-rw-r--r--_includes/header.html33
-rw-r--r--_layouts/default.html5
-rw-r--r--_site/index.html42
-rw-r--r--index.html68
-rw-r--r--index.md27
-rw-r--r--stylesheets/syntax.css70
-rw-r--r--user_manual/index.html4
-rw-r--r--user_manual/index.md6
11 files changed, 177 insertions, 92 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ca35be0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+_site
diff --git a/_config.yml b/_config.yml
index 008eb10..b71523c 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,3 +1,4 @@
safe: true
lsi: false
pygments: true
+excerpt_separator: "" \ No newline at end of file
diff --git a/_includes/footer.html b/_includes/footer.html
new file mode 100644
index 0000000..2e78314
--- /dev/null
+++ b/_includes/footer.html
@@ -0,0 +1,12 @@
+ </section>
+
+ <footer>
+ Relx is maintained by <a href="https://github.com/erlware">erlware</a><br>
+ This page was generated by <a href="http://pages.github.com">GitHub Pages</a>. Tactile theme by <a href="https://twitter.com/jasonlong">Jason Long</a>.
+ </footer>
+
+
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/_includes/header.html b/_includes/header.html
new file mode 100644
index 0000000..6aac5a2
--- /dev/null
+++ b/_includes/header.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset='utf-8'>
+ <meta http-equiv="X-UA-Compatible" content="chrome=1">
+ <link href='https://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
+ <link rel="stylesheet" type="text/css" href="../stylesheets/stylesheet.css" media="screen" />
+ <link rel="stylesheet" type="text/css" href="../stylesheets/pygment_trac.css" media="screen" />
+ <link rel="stylesheet" type="text/css" href="../stylesheets/print.css" media="print" />
+ <!--[if lt IE 9]>
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+ <title>Relx by erlware</title>
+ </head>
+
+ <body>
+ <div id="container">
+ <div class="inner">
+
+ <header>
+ <h1>Relx</h1>
+ <h2>Release creation for Erlang</h2>
+ </header>
+
+ <section id="downloads" class="clearfix">
+ <a href="https://github.com/erlware/relx/zipball/master" id="download-zip" class="button"><span>Download .zip</span></a>
+ <a href="https://github.com/erlware/relx/tarball/master" id="download-tar-gz" class="button"><span>Download .tar.gz</span></a>
+ <a href="https://github.com/erlware/relx" id="view-on-github" class="button"><span>View on GitHub</span></a>
+ </section>
+
+ <hr>
+
+ <section id="main_content">
diff --git a/_layouts/default.html b/_layouts/default.html
new file mode 100644
index 0000000..7ee00ac
--- /dev/null
+++ b/_layouts/default.html
@@ -0,0 +1,5 @@
+{% include header.html %}
+
+{{ content }}
+
+{% include footer.html %}
diff --git a/_site/index.html b/_site/index.html
index 17c48e1..1898c20 100644
--- a/_site/index.html
+++ b/_site/index.html
@@ -4,9 +4,9 @@
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link href='https://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
- <link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen" />
- <link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen" />
- <link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" />
+ <link rel="stylesheet" type="text/css" href="../stylesheets/stylesheet.css" media="screen" />
+ <link rel="stylesheet" type="text/css" href="../stylesheets/pygment_trac.css" media="screen" />
+ <link rel="stylesheet" type="text/css" href="../stylesheets/print.css" media="print" />
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
@@ -31,29 +31,30 @@
<hr>
<section id="main_content">
- <p>Relx assembles releases for an Erlang/OTP release. Given a release specification and a list of directories in which to search for OTP applications it will generate a release output. That output depends heavily on what plugins available and what options are defined, but usually it is simple a well configured release directory.</p>
-<h3>
-<a name="example-configuration" class="anchor" href="#example-configuration"><span class="octicon octicon-link"></span></a>Example Configuration</h3>
-<pre><code>$ git clone https://github.com/tsloughter/erlangdc2013.git
-$ cd erlangdc2013
-$ cat relx.config
-{release, {erlangdc, "0.0.1"},
- [estatsd
- ,erlangdc]}.
-{extended_start_script, true}.
+<p>Relx assembles releases for an Erlang/OTP release. Given a release specification and a list of directories in which to search for OTP applications it will generate a release output. That output depends heavily on what plugins available and what options are defined, but usually it is simple a well configured release directory.</p>
-$ ./relx
+<h2 id='example_configuration'>Example Configuration</h2>
+<div class='highlight'><pre><code class='bash'><span class='nv'>$ </span>git clone https://github.com/tsloughter/erlangdc2013.git
+<span class='nv'>$ </span><span class='nb'>cd </span>erlangdc2013
+<span class='nv'>$ </span>cat relx.config
+<span class='o'>{</span>release, <span class='o'>{</span>erlangdc, <span class='s2'>&quot;0.0.1&quot;</span><span class='o'>}</span>,
+ <span class='o'>[</span>estatsd
+ ,erlangdc<span class='o'>]}</span>.
+<span class='o'>{</span>extended_start_script, <span class='nb'>true</span><span class='o'>}</span>.
+
+<span class='nv'>$ </span>./relx
...
-$ ls _rel/
+<span class='nv'>$ </span>ls _rel/
bin erts-5.10.1 lib log releases
-</code></pre>
+</code></pre></div>
+<h3 id='documentation'>Documentation</h3>
-<h3>
-<a name="documentation" class="anchor" href="#documentation"><span class="octicon octicon-link"></span></a>Documentation</h3>
+<ul>
+<li><a href='http://github.com/erlware/relx/wiki'>wiki</a></li>
+</ul>
-<p><a href="https://github.com/erlware/relx/wiki">relx wiki</a></p>
</section>
<footer>
@@ -61,8 +62,9 @@ bin erts-5.10.1 lib log releases
This page was generated by <a href="http://pages.github.com">GitHub Pages</a>. Tactile theme by <a href="https://twitter.com/jasonlong">Jason Long</a>.
</footer>
-
+
</div>
</div>
</body>
</html>
+
diff --git a/index.html b/index.html
deleted file mode 100644
index 17c48e1..0000000
--- a/index.html
+++ /dev/null
@@ -1,68 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset='utf-8'>
- <meta http-equiv="X-UA-Compatible" content="chrome=1">
- <link href='https://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
- <link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen" />
- <link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen" />
- <link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" />
- <!--[if lt IE 9]>
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
- <title>Relx by erlware</title>
- </head>
-
- <body>
- <div id="container">
- <div class="inner">
-
- <header>
- <h1>Relx</h1>
- <h2>Release creation for Erlang</h2>
- </header>
-
- <section id="downloads" class="clearfix">
- <a href="https://github.com/erlware/relx/zipball/master" id="download-zip" class="button"><span>Download .zip</span></a>
- <a href="https://github.com/erlware/relx/tarball/master" id="download-tar-gz" class="button"><span>Download .tar.gz</span></a>
- <a href="https://github.com/erlware/relx" id="view-on-github" class="button"><span>View on GitHub</span></a>
- </section>
-
- <hr>
-
- <section id="main_content">
- <p>Relx assembles releases for an Erlang/OTP release. Given a release specification and a list of directories in which to search for OTP applications it will generate a release output. That output depends heavily on what plugins available and what options are defined, but usually it is simple a well configured release directory.</p>
-
-<h3>
-<a name="example-configuration" class="anchor" href="#example-configuration"><span class="octicon octicon-link"></span></a>Example Configuration</h3>
-
-<pre><code>$ git clone https://github.com/tsloughter/erlangdc2013.git
-$ cd erlangdc2013
-$ cat relx.config
-{release, {erlangdc, "0.0.1"},
- [estatsd
- ,erlangdc]}.
-{extended_start_script, true}.
-
-$ ./relx
-...
-$ ls _rel/
-bin erts-5.10.1 lib log releases
-</code></pre>
-
-<h3>
-<a name="documentation" class="anchor" href="#documentation"><span class="octicon octicon-link"></span></a>Documentation</h3>
-
-<p><a href="https://github.com/erlware/relx/wiki">relx wiki</a></p>
- </section>
-
- <footer>
- Relx is maintained by <a href="https://github.com/erlware">erlware</a><br>
- This page was generated by <a href="http://pages.github.com">GitHub Pages</a>. Tactile theme by <a href="https://twitter.com/jasonlong">Jason Long</a>.
- </footer>
-
-
- </div>
- </div>
- </body>
-</html>
diff --git a/index.md b/index.md
new file mode 100644
index 0000000..fed1217
--- /dev/null
+++ b/index.md
@@ -0,0 +1,27 @@
+---
+layout: default
+title: Relx by erlware
+---
+
+Relx assembles releases for an Erlang/OTP release. Given a release specification and a list of directories in which to search for OTP applications it will generate a release output. That output depends heavily on what plugins available and what options are defined, but usually it is simple a well configured release directory.
+
+## Example Configuration
+
+{% highlight bash %}
+$ git clone https://github.com/tsloughter/erlangdc2013.git
+$ cd erlangdc2013
+$ cat relx.config
+{release, {erlangdc, "0.0.1"},
+ [estatsd
+ ,erlangdc]}.
+{extended_start_script, true}.
+
+$ ./relx
+...
+$ ls _rel/
+bin erts-5.10.1 lib log releases
+{% endhighlight %}
+
+### Documentation
+
+* [wiki](http://github.com/erlware/relx/wiki)
diff --git a/stylesheets/syntax.css b/stylesheets/syntax.css
new file mode 100644
index 0000000..408a44f
--- /dev/null
+++ b/stylesheets/syntax.css
@@ -0,0 +1,70 @@
+/*.highlight { background: #333333; color: #ffffff}*/
+.highlight .hll { background-color: #ffffcc }
+.highlight .c { color: #87ceeb} /* Comment */
+.highlight .err { color: #ffffff} /* Error */
+.highlight .g { color: #ffffff} /* Generic */
+.highlight .k { color: #f0e68c} /* Keyword */
+.highlight .l { color: #ffffff} /* Literal */
+.highlight .n { color: #ffffff} /* Name */
+.highlight .o { color: #ffffff} /* Operator */
+.highlight .x { color: #ffffff} /* Other */
+.highlight .p { color: #ffffff} /* Punctuation */
+.highlight .cm { color: #87ceeb} /* Comment.Multiline */
+.highlight .cp { color: #cd5c5c} /* Comment.Preproc */
+.highlight .c1 { color: #87ceeb} /* Comment.Single */
+.highlight .cs { color: #87ceeb} /* Comment.Special */
+.highlight .gd { color: #0000c0; font-weight: bold; background-color: #008080 } /* Generic.Deleted */
+.highlight .ge { color: #c000c0; text-decoration: underline} /* Generic.Emph */
+.highlight .gr { color: #c0c0c0; font-weight: bold; background-color: #c00000 } /* Generic.Error */
+.highlight .gh { color: #cd5c5c} /* Generic.Heading */
+.highlight .gi { color: #ffffff; background-color: #0000c0 } /* Generic.Inserted */
+.highlight span.go { color: #add8e6; font-weight: bold; background-color: #4d4d4d } /* Generic.Output, qualified with span to prevent applying this style to the Go language, see #1153. */
+.highlight .gp { color: #ffffff} /* Generic.Prompt */
+.highlight .gs { color: #ffffff} /* Generic.Strong */
+.highlight .gu { color: #cd5c5c} /* Generic.Subheading */
+.highlight .gt { color: #c0c0c0; font-weight: bold; background-color: #c00000 } /* Generic.Traceback */
+.highlight .kc { color: #f0e68c} /* Keyword.Constant */
+.highlight .kd { color: #f0e68c} /* Keyword.Declaration */
+.highlight .kn { color: #f0e68c} /* Keyword.Namespace */
+.highlight .kp { color: #f0e68c} /* Keyword.Pseudo */
+.highlight .kr { color: #f0e68c} /* Keyword.Reserved */
+.highlight .kt { color: #bdb76b} /* Keyword.Type */
+.highlight .ld { color: #ffffff} /* Literal.Date */
+.highlight .m { color: #ffffff} /* Literal.Number */
+.highlight .s { color: #ffffff} /* Literal.String */
+.highlight .na { color: #ffffff} /* Name.Attribute */
+.highlight .nb { color: #ffffff} /* Name.Builtin */
+.highlight .nc { color: #ffffff} /* Name.Class */
+.highlight .no { color: #ffa0a0} /* Name.Constant */
+.highlight .nd { color: #ffffff} /* Name.Decorator */
+.highlight .ni { color: #ffdead} /* Name.Entity */
+.highlight .ne { color: #ffffff} /* Name.Exception */
+.highlight .nf { color: #ffffff} /* Name.Function */
+.highlight .nl { color: #ffffff} /* Name.Label */
+.highlight .nn { color: #ffffff} /* Name.Namespace */
+.highlight .nx { color: #ffffff} /* Name.Other */
+.highlight .py { color: #ffffff} /* Name.Property */
+.highlight .nt { color: #f0e68c} /* Name.Tag */
+.highlight .nv { color: #98fb98} /* Name.Variable */
+.highlight .ow { color: #ffffff} /* Operator.Word */
+.highlight .w { color: #ffffff} /* Text.Whitespace */
+.highlight .mf { color: #ffffff} /* Literal.Number.Float */
+.highlight .mh { color: #ffffff} /* Literal.Number.Hex */
+.highlight .mi { color: #ffffff} /* Literal.Number.Integer */
+.highlight .mo { color: #ffffff} /* Literal.Number.Oct */
+.highlight .sb { color: #ffffff} /* Literal.String.Backtick */
+.highlight .sc { color: #ffffff} /* Literal.String.Char */
+.highlight .sd { color: #ffffff} /* Literal.String.Doc */
+.highlight .s2 { color: #ffffff} /* Literal.String.Double */
+.highlight .se { color: #ffffff} /* Literal.String.Escape */
+.highlight .sh { color: #ffffff} /* Literal.String.Heredoc */
+.highlight .si { color: #ffffff} /* Literal.String.Interpol */
+.highlight .sx { color: #ffffff} /* Literal.String.Other */
+.highlight .sr { color: #ffffff} /* Literal.String.Regex */
+.highlight .s1 { color: #ffffff} /* Literal.String.Single */
+.highlight .ss { color: #ffffff} /* Literal.String.Symbol */
+.highlight .bp { color: #ffffff} /* Name.Builtin.Pseudo */
+.highlight .vc { color: #98fb98} /* Name.Variable.Class */
+.highlight .vg { color: #98fb98} /* Name.Variable.Global */
+.highlight .vi { color: #98fb98} /* Name.Variable.Instance */
+.highlight .il { color: #ffffff} /* Literal.Number.Integer.Long */
diff --git a/user_manual/index.html b/user_manual/index.html
deleted file mode 100644
index 0f4219f..0000000
--- a/user_manual/index.html
+++ /dev/null
@@ -1,4 +0,0 @@
----
-layout: post
-title: Blogging Like a Hacker
----
diff --git a/user_manual/index.md b/user_manual/index.md
new file mode 100644
index 0000000..031956a
--- /dev/null
+++ b/user_manual/index.md
@@ -0,0 +1,6 @@
+---
+layout: default
+title: User Manual
+---
+
+## Test