jing 0.1.1 → 0.1.2
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.
- checksums.yaml +4 -4
- data/README.md +33 -0
- data/jing.gemspec +3 -3
- data/lib/jing/version.rb +1 -1
- metadata +7 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fce7b39e1004372eaf049d7239ac73f0bcef8d09a6146c94faa94aac758672c5
|
|
4
|
+
data.tar.gz: 99b7422b582c7dba5d64c0185a222f8625b4812c4068b0f5965b9e4fbbf1872e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca1c466311c5750a14212b17c5091f26c21eec30bd27c6e81aff7d92013bdb34a9c6b2a9363a7f14b2ab5c48b3da90ea811f09afdf35bb586f3b1cefc29978cf
|
|
7
|
+
data.tar.gz: '08cf948f3d7f3fd3b145680fab41bcb28127d1bb007e28696f36a5d2f20025bfc06fc26d53f298cfbdb4f9c5b05026523018842535ea2e4dcfe901ae2d0ef894'
|
data/README.md
CHANGED
|
@@ -5,6 +5,10 @@ A tiny static site generator packing a punch
|
|
|
5
5
|
Jing tai wang ye sheng cheng qi
|
|
6
6
|
静态网页生成器
|
|
7
7
|
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
Has built in support for Erb - and Markdown templates, Typescript compiler, Sass compiler, JavaScript/Css minifier, partial- and layout support, variable support, easily extendable.
|
|
11
|
+
|
|
8
12
|
## Installation
|
|
9
13
|
|
|
10
14
|
Add this line to your application's Gemfile:
|
|
@@ -25,6 +29,35 @@ Or install it yourself as:
|
|
|
25
29
|
|
|
26
30
|
call `jing` on the command line or have a look at the code (it's tiny) :)
|
|
27
31
|
|
|
32
|
+
|
|
33
|
+
Creates a new folder `mypage` with a basic setup:
|
|
34
|
+
|
|
35
|
+
$ jing create mypage
|
|
36
|
+
$ cd mypage
|
|
37
|
+
|
|
38
|
+
Build the current project:
|
|
39
|
+
|
|
40
|
+
$ jing build
|
|
41
|
+
|
|
42
|
+
Automatically build the page whenever a file in the project folder changes:
|
|
43
|
+
|
|
44
|
+
$ jing watch
|
|
45
|
+
|
|
46
|
+
Serves the current project folder on `http://0.0.0.0:8000`:
|
|
47
|
+
|
|
48
|
+
$ jing serve
|
|
49
|
+
|
|
50
|
+
Folders starting with `_` have special meaning, they generally won't get copied into the destination folder `_dst`.
|
|
51
|
+
|
|
52
|
+
`_partials` holds partials (TODO: explanation)
|
|
53
|
+
|
|
54
|
+
`_layouts` holds layouts (TODO: explanation)
|
|
55
|
+
|
|
56
|
+
`.meta.yml` holds global meta variables available in templates when not overwritten
|
|
57
|
+
|
|
58
|
+
I'll try and add a basic example project soon. If you feel like wanting to giving this a try in the meantime feel free to open an issue or reach out otherwise.
|
|
59
|
+
|
|
60
|
+
|
|
28
61
|
## Development
|
|
29
62
|
|
|
30
63
|
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/jing.gemspec
CHANGED
|
@@ -6,10 +6,10 @@ Gem::Specification.new do |spec|
|
|
|
6
6
|
spec.name = "jing"
|
|
7
7
|
spec.version = Jing::VERSION
|
|
8
8
|
spec.authors = ["pachacamac"]
|
|
9
|
-
spec.email = ["
|
|
9
|
+
spec.email = ["pachacamac@inboxalias.com"]
|
|
10
10
|
|
|
11
|
-
spec.summary = %q{A tiny static site generator packing a punch}
|
|
12
|
-
spec.description = %q{Yes yet another static site generator}
|
|
11
|
+
spec.summary = %q{A tiny static site generator packing a punch - 静态网页生成器 Jing tai wang ye sheng cheng qi}
|
|
12
|
+
spec.description = %q{Yes yet another static site generator. Has built in support for Erb - and Markdown templates, Typescript compiler, Sass compiler, JavaScript/Css minifier, partial- and layout support, variable support, easily extendable.}
|
|
13
13
|
spec.homepage = "https://github.com/pachacamac/jing"
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
|
data/lib/jing/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jing
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- pachacamac
|
|
@@ -38,9 +38,11 @@ dependencies:
|
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '10.0'
|
|
41
|
-
description: Yes yet another static site generator
|
|
41
|
+
description: Yes yet another static site generator. Has built in support for Erb -
|
|
42
|
+
and Markdown templates, Typescript compiler, Sass compiler, JavaScript/Css minifier,
|
|
43
|
+
partial- and layout support, variable support, easily extendable.
|
|
42
44
|
email:
|
|
43
|
-
-
|
|
45
|
+
- pachacamac@inboxalias.com
|
|
44
46
|
executables:
|
|
45
47
|
- jing
|
|
46
48
|
extensions: []
|
|
@@ -81,5 +83,6 @@ rubyforge_project:
|
|
|
81
83
|
rubygems_version: 2.7.4
|
|
82
84
|
signing_key:
|
|
83
85
|
specification_version: 4
|
|
84
|
-
summary: A tiny static site generator packing a punch
|
|
86
|
+
summary: A tiny static site generator packing a punch - 静态网页生成器 Jing tai wang ye sheng
|
|
87
|
+
cheng qi
|
|
85
88
|
test_files: []
|