documentation-editor 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22619e44fae6aa92b50ea69c41db107e9ecb774d
|
4
|
+
data.tar.gz: 91e1a7f324eaa58349567e0545b60e25b66743c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21f09604fd63a1a8f1891dcd9d751d3dbcfbf037cb372f2916e2fbc96e6a637cdf0490b39ed35f249f7e9ecea7e5b9436b773a13dd1deb4561c8f6b6badd1836
|
7
|
+
data.tar.gz: 0e4a9d172339175cad1b31b43b7c7598d1b59d711a9d7b9391bcd9c00ee932b72f39dffe992ab4b3751862c3461228d1bdd75fa205a22aed77f140709d56d40f
|
@@ -22,11 +22,29 @@
|
|
22
22
|
background: white
|
23
23
|
padding: 20px
|
24
24
|
padding-top: 90px
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
25
|
+
|
26
|
+
.section
|
27
|
+
&:hover
|
28
|
+
.insert-sections
|
29
|
+
opacity: 1
|
30
|
+
|
31
|
+
.insert-sections
|
32
|
+
opacity: 0
|
33
|
+
-webkit-transition: opacity 0.2s
|
34
|
+
-moz-transition: opacity 0.2s
|
35
|
+
-ms-transition: opacity 0.2s
|
36
|
+
-o-transition: opacity 0.2s
|
37
|
+
transition: opacity 0.2s
|
38
|
+
|
39
|
+
padding: 0 0 40px 0
|
40
|
+
|
41
|
+
&:hover
|
42
|
+
opacity: 1
|
43
|
+
|
44
|
+
.btn
|
45
|
+
font-size: 0.6em
|
46
|
+
padding: 0px 4px
|
47
|
+
|
30
48
|
.markdown
|
31
49
|
color: black
|
32
50
|
border-left: 4px solid #DDD !important
|
@@ -60,6 +60,8 @@ module DocumentationEditor
|
|
60
60
|
def show
|
61
61
|
@page = Page.find_by!(slug: params[:slug])
|
62
62
|
@revision = @page.published_revision
|
63
|
+
raise ActiveRecord::RecordNotFound.new if @revision.nil?
|
64
|
+
|
63
65
|
@options = params
|
64
66
|
@base_path = if params[:section]
|
65
67
|
s = request.path.split('/')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: documentation-editor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Algolia Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -200,9 +200,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
200
200
|
version: '0'
|
201
201
|
requirements: []
|
202
202
|
rubyforge_project:
|
203
|
-
rubygems_version: 2.
|
203
|
+
rubygems_version: 2.4.1
|
204
204
|
signing_key:
|
205
205
|
specification_version: 4
|
206
206
|
summary: Mountable Rails application providing an extended Markdown documentation
|
207
207
|
editor.
|
208
208
|
test_files: []
|
209
|
+
has_rdoc:
|