RTFMd 0.10301.10 → 0.10301.11

Sign up to get free protection for your applications and to get access to all the features.
data/RTFMd.gemspec CHANGED
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
4
4
  s.rubygems_version = '1.3.5'
5
5
 
6
6
  s.name = 'RTFMd'
7
- s.version = '0.10301.10'
7
+ s.version = '0.10301.11'
8
8
  s.date = '2011-12-16'
9
9
 
10
10
  s.summary = "A simple, Markdown documentation helper."
data/config/rtfmd.ru CHANGED
@@ -4,7 +4,7 @@ require 'gollum/frontend/app'
4
4
 
5
5
  Precious::App.set(:gollum_path, ENV['RTFMd_WIKI'])
6
6
  Precious::App.set(:wiki_options, {
7
- :base_path => ENV['RTFMd_BASE_PATH']
7
+ :base_path => ENV['RTFMd_BASE_PATH'] == "/" ? "/" : "#{ENV['RTFMd_BASE_PATH']}/"
8
8
  })
9
9
 
10
10
  map ENV['RTFMd_BASE_PATH'] do
@@ -2,17 +2,17 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta http-equiv="Content-type" content="text/html;charset=utf-8">
5
- <link rel="stylesheet" type="text/css" href="{{base_path}}/css/gollum.css" media="all">
6
- <link rel="stylesheet" type="text/css" href="{{base_path}}/css/template.css" media="all">
7
- <link rel="stylesheet" type="text/css" href="{{base_path}}/css/ronn.css" media="all">
5
+ <link rel="stylesheet" type="text/css" href="{{base_path}}css/gollum.css" media="all">
6
+ <link rel="stylesheet" type="text/css" href="{{base_path}}css/template.css" media="all">
7
+ <link rel="stylesheet" type="text/css" href="{{base_path}}css/ronn.css" media="all">
8
8
 
9
9
  <!--[if IE 7]>
10
- <link rel="stylesheet" type="text/css" href="{{base_path}}/css/ie7.css" media="all">
10
+ <link rel="stylesheet" type="text/css" href="{{base_path}}css/ie7.css" media="all">
11
11
  <![endif]-->
12
12
 
13
- <script type="text/javascript" src="{{base_path}}/javascript/jquery.js"></script>
14
- <script type="text/javascript" src="{{base_path}}/javascript/gollum.js"></script>
15
- <script type="text/javascript" src="{{base_path}}/javascript/gollum.placeholder.js"></script>
13
+ <script type="text/javascript" src="{{base_path}}javascript/jquery.js"></script>
14
+ <script type="text/javascript" src="{{base_path}}javascript/gollum.js"></script>
15
+ <script type="text/javascript" src="{{base_path}}javascript/gollum.placeholder.js"></script>
16
16
  </head>
17
17
  <body id='manpage'>
18
18
  <div class='mp' id='man'>
@@ -1,9 +1,9 @@
1
1
  <div id="wiki-wrapper" class="page">
2
2
  <div id="head">
3
3
  <ul class="actions">
4
- <li class="minibutton"><a href="{{base_path}}/"
4
+ <li class="minibutton"><a href="{{base_path}}"
5
5
  class="action-home-page">Home</a></li>
6
- <li class="minibutton"><a href="{{base_path}}/pages"
6
+ <li class="minibutton"><a href="{{base_path}}pages"
7
7
  class="action-all-pages">All Pages</a></li>
8
8
  </ul>
9
9
  </div>
@@ -12,7 +12,7 @@
12
12
  <ul>
13
13
  {{#results}}
14
14
  <li>
15
- <a href="{{base_path}}/{{name}}">{{name}}</a>
15
+ <a href="{{base_path}}{{name}}">{{name}}</a>
16
16
  </li>
17
17
  {{/results}}
18
18
  </ul>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RTFMd
3
3
  version: !ruby/object:Gem::Version
4
- hash: 41215
4
+ hash: 41213
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 10301
9
- - 10
10
- version: 0.10301.10
9
+ - 11
10
+ version: 0.10301.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Bombadil