rdaux 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +3 -3
- data/lib/rdaux/container.rb +1 -1
- data/lib/rdaux/renderer.rb +2 -2
- data/lib/rdaux/version.rb +1 -1
- data/lib/rdaux/web/views/site.erb +6 -6
- metadata +1 -1
data/README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# RDaux
|
2
2
|
|
3
3
|
RDaux creates beautiful documentation websites from markdown files.
|
4
|
-
It is inspired by daux.io and uses redcarpet
|
5
|
-
github-flavored markdown files into beautiful documentation websites
|
6
|
-
supports ASCII art with help of [Ditaa](http://sourceforge.net/projects/ditaa/).
|
4
|
+
It is inspired by [daux.io](http://daux.io/) and uses redcarpet and pygments.rb
|
5
|
+
to process github-flavored markdown files into beautiful documentation websites
|
6
|
+
and supports ASCII art with help of [Ditaa](http://sourceforge.net/projects/ditaa/).
|
7
7
|
|
8
8
|
## Installation
|
9
9
|
|
data/lib/rdaux/container.rb
CHANGED
data/lib/rdaux/renderer.rb
CHANGED
@@ -34,8 +34,8 @@ module RDaux
|
|
34
34
|
|
35
35
|
def ascii2png(code)
|
36
36
|
image_id = Digest::MD5.hexdigest(code)
|
37
|
-
png_path = @images_dir + @ditaa_root + "/#{image_id}.txt"
|
38
|
-
txt_path = @images_dir + @ditaa_root + "/#{image_id}.txt"
|
37
|
+
png_path = @images_dir + '/' + @ditaa_root + "/#{image_id}.txt"
|
38
|
+
txt_path = @images_dir + '/' + @ditaa_root + "/#{image_id}.txt"
|
39
39
|
|
40
40
|
File.open(txt_path, 'w+') { |f| f.write(code) } unless File.exists?(png_path)
|
41
41
|
|
data/lib/rdaux/version.rb
CHANGED
@@ -8,9 +8,9 @@
|
|
8
8
|
<meta name="author" content="<%= site.author %>">
|
9
9
|
|
10
10
|
<!-- Le styles -->
|
11
|
-
<link href="
|
12
|
-
<link href="
|
13
|
-
<link href="
|
11
|
+
<link href="css/bootstrap.min.css" rel="stylesheet">
|
12
|
+
<link href="css/pygments.css" rel="stylesheet">
|
13
|
+
<link href="css/bootstrap-responsive.min.css" rel="stylesheet">
|
14
14
|
|
15
15
|
<style>
|
16
16
|
body {
|
@@ -58,7 +58,7 @@
|
|
58
58
|
|
59
59
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
60
60
|
<!--[if lt IE 9]>
|
61
|
-
<script src="
|
61
|
+
<script src="js/html5shiv.js"></script>
|
62
62
|
<![endif]-->
|
63
63
|
|
64
64
|
<!-- Fav and touch icons -->
|
@@ -95,8 +95,8 @@
|
|
95
95
|
|
96
96
|
</div> <!-- /container -->
|
97
97
|
|
98
|
-
<script src="
|
99
|
-
<script src="
|
98
|
+
<script src="js/jquery.min.js"></script>
|
99
|
+
<script src="js/bootstrap.min.js"></script>
|
100
100
|
|
101
101
|
</body>
|
102
102
|
</html>
|