octopress-printable 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/assets/fonts/FontAwesome.otf +0 -0
- data/assets/fonts/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome-webfont.svg +565 -0
- data/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/fontawesome-webfont.woff +0 -0
- data/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/assets/includes/printable.html +1 -1
- data/assets/stylesheets/_animated.scss +34 -0
- data/assets/stylesheets/_bordered-pulled.scss +16 -0
- data/assets/stylesheets/_core.scss +13 -0
- data/assets/stylesheets/_fixed-width.scss +6 -0
- data/assets/stylesheets/_icons.scss +596 -0
- data/assets/stylesheets/_larger.scss +13 -0
- data/assets/stylesheets/_list.scss +19 -0
- data/assets/stylesheets/_mixins.scss +27 -0
- data/assets/stylesheets/_path.scss +15 -0
- data/assets/stylesheets/_rotated-flipped.scss +20 -0
- data/assets/stylesheets/_stacked.scss +20 -0
- data/assets/stylesheets/_variables.scss +606 -0
- data/assets/stylesheets/font-awesome.scss +17 -0
- data/lib/octopress-printable.rb +2 -1
- data/lib/octopress-printable/config.rb +29 -0
- data/lib/octopress-printable/version.rb +1 -1
- metadata +48 -16
- data/assets/images/printer.png +0 -0
- data/assets/stylesheets/printable.scss +0 -8
@@ -0,0 +1,17 @@
|
|
1
|
+
/*!
|
2
|
+
* Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome
|
3
|
+
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
4
|
+
*/
|
5
|
+
|
6
|
+
@import "variables";
|
7
|
+
@import "mixins";
|
8
|
+
@import "path";
|
9
|
+
@import "core";
|
10
|
+
@import "larger";
|
11
|
+
@import "fixed-width";
|
12
|
+
@import "list";
|
13
|
+
@import "bordered-pulled";
|
14
|
+
@import "animated";
|
15
|
+
@import "rotated-flipped";
|
16
|
+
@import "stacked";
|
17
|
+
@import "icons";
|
data/lib/octopress-printable.rb
CHANGED
@@ -0,0 +1,29 @@
|
|
1
|
+
module Octopress
|
2
|
+
module Printable
|
3
|
+
class Plugin
|
4
|
+
|
5
|
+
def self.default_config
|
6
|
+
<<-CONFIG
|
7
|
+
posts_dir: "_posts"
|
8
|
+
printables_dir: "assets/printables"
|
9
|
+
source_dir: "."
|
10
|
+
blog_url: "http://example.com" # used in pdf post_links
|
11
|
+
bibliography_dir: "_bibliography"
|
12
|
+
bibliography: "references.bib"
|
13
|
+
|
14
|
+
# only convert markdowns, without running pandoc and xelatex
|
15
|
+
dry_run : false
|
16
|
+
|
17
|
+
# debug files
|
18
|
+
dump_tex_file: false
|
19
|
+
dump_markdown_file: false
|
20
|
+
dump_bib_file: false
|
21
|
+
dump_cmds: false
|
22
|
+
keep_tmp_files: false
|
23
|
+
|
24
|
+
CONFIG
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopress-printable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wang Jian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -42,44 +42,58 @@ dependencies:
|
|
42
42
|
name: clash
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 2.2.2
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 2.2.2
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name: octopress-
|
56
|
+
name: octopress-ink
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.1.
|
62
|
-
type: :
|
61
|
+
version: 1.1.2
|
62
|
+
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.1.
|
68
|
+
version: 1.1.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: font-awesome-sass
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
|
-
type: :
|
76
|
+
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: octopress-image-tag
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.1.0
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.1.0
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: jekyll-gist
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -87,7 +101,7 @@ dependencies:
|
|
87
101
|
- - "~>"
|
88
102
|
- !ruby/object:Gem::Version
|
89
103
|
version: 1.2.1
|
90
|
-
type: :
|
104
|
+
type: :runtime
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
@@ -101,7 +115,7 @@ dependencies:
|
|
101
115
|
- - "~>"
|
102
116
|
- !ruby/object:Gem::Version
|
103
117
|
version: 4.3.5
|
104
|
-
type: :
|
118
|
+
type: :runtime
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
@@ -119,11 +133,29 @@ files:
|
|
119
133
|
- LICENSE.txt
|
120
134
|
- README.md
|
121
135
|
- assets/config.yml
|
122
|
-
- assets/
|
136
|
+
- assets/fonts/FontAwesome.otf
|
137
|
+
- assets/fonts/fontawesome-webfont.eot
|
138
|
+
- assets/fonts/fontawesome-webfont.svg
|
139
|
+
- assets/fonts/fontawesome-webfont.ttf
|
140
|
+
- assets/fonts/fontawesome-webfont.woff
|
141
|
+
- assets/fonts/fontawesome-webfont.woff2
|
123
142
|
- assets/includes/printable.html
|
124
|
-
- assets/stylesheets/
|
143
|
+
- assets/stylesheets/_animated.scss
|
144
|
+
- assets/stylesheets/_bordered-pulled.scss
|
145
|
+
- assets/stylesheets/_core.scss
|
146
|
+
- assets/stylesheets/_fixed-width.scss
|
147
|
+
- assets/stylesheets/_icons.scss
|
148
|
+
- assets/stylesheets/_larger.scss
|
149
|
+
- assets/stylesheets/_list.scss
|
150
|
+
- assets/stylesheets/_mixins.scss
|
151
|
+
- assets/stylesheets/_path.scss
|
152
|
+
- assets/stylesheets/_rotated-flipped.scss
|
153
|
+
- assets/stylesheets/_stacked.scss
|
154
|
+
- assets/stylesheets/_variables.scss
|
155
|
+
- assets/stylesheets/font-awesome.scss
|
125
156
|
- lib/octopress-printable.rb
|
126
157
|
- lib/octopress-printable/bib.rb
|
158
|
+
- lib/octopress-printable/config.rb
|
127
159
|
- lib/octopress-printable/converter.rb
|
128
160
|
- lib/octopress-printable/filters.rb
|
129
161
|
- lib/octopress-printable/gist.rb
|
data/assets/images/printer.png
DELETED
Binary file
|