revealing 1.1.0 → 1.2.0
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.markdown +2 -1
- data/lib/revealing/tasks/reveal.js.rake +1 -1
- data/lib/revealing/tasks.rb +5 -1
- data/lib/revealing/version.rb +1 -1
- data/templates/init/README.markdown +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcbd8c769d938e3504cc380edd46cbd7288a63271829da2faf8b2ef41b1c9b62
|
4
|
+
data.tar.gz: b602ba7250675cc5b761b5edd9b35606ce5f85cc6770f343147425f3650b4574
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6a9a2d429485905ac7f191d211485739a7ee83c3382c7bf3221ed71fb0036c2b0bb5244adfb48475c90e01afcebb9bf88feb0502ffed425b51bfb559ef7c39b
|
7
|
+
data.tar.gz: 42729979c92eaa079cdb2881c592c3a62d08704efaf799c5caa6791b9fcacce9a6351a6db8ecc463ad71bdbc86f65516989b73c63390c5beb6af30a12d77d71a
|
data/README.markdown
CHANGED
@@ -37,7 +37,8 @@ Unique features:
|
|
37
37
|
|
38
38
|
# TODO
|
39
39
|
|
40
|
-
1.
|
40
|
+
1. `doctor` checks that all the template files are present
|
41
|
+
1. Treat mathjax config as yet another header file
|
41
42
|
1. Expose customization of
|
42
43
|
* highlight-style
|
43
44
|
* theme
|
data/lib/revealing/tasks.rb
CHANGED
@@ -5,7 +5,7 @@ require 'git-dirty'
|
|
5
5
|
SOURCE_DIR = Pathname('src')
|
6
6
|
SOURCE_FILES = FileList[SOURCE_DIR / '**/*.markdown']
|
7
7
|
|
8
|
-
TARGET_DIR = Pathname('public_html')
|
8
|
+
TARGET_DIR = Pathname(ENV.fetch('TARGET_DIR', 'public_html'))
|
9
9
|
directory TARGET_DIR
|
10
10
|
TARGET_FILE = TARGET_DIR / 'index.html'
|
11
11
|
|
@@ -57,3 +57,7 @@ file TARGET_FILE => [ TARGET_DIR, REVEAL_JS_TARGET_DIR, GPP_FILE, DIRTY_FILE, ME
|
|
57
57
|
#{GPP_FILE}
|
58
58
|
).split("\n").join(' ')
|
59
59
|
end
|
60
|
+
|
61
|
+
at_exit do
|
62
|
+
warn "\nRun `revealing doctor` to assist in fixing these errors.\n" if $! && ! $!.success?
|
63
|
+
end
|
data/lib/revealing/version.rb
CHANGED
@@ -10,6 +10,7 @@ This is the source of New Presentation. It was generated with [`revealing`](http
|
|
10
10
|
* MathJax is included and configured to render SVG. To use a specific version, set the environment variable `MATH_JAX_VERSION` to one of of the versions provided by [CDNJS](https://cdnjs.com/libraries/mathjax).
|
11
11
|
* reveal.js is downloaded and unzipped at build time. Set the environment variable `REVEAL_JS_VERSION` to customize which version to use (must be one of the [released versions](https://github.com/hakimel/reveal.js/releases)). If `REVEAL_JS_DIR` is set, the files from this directory are used.
|
12
12
|
* The environment variable `REVEAL_JS_SLIDE_LEVEL` can be set to [structure the slide show](https://pandoc.org/MANUAL.html#structuring-the-slide-show)
|
13
|
+
* The target directory is `public_html`. It can be customized by setting the environment variable `TARGET_DIR`.
|
13
14
|
|
14
15
|
# Setup
|
15
16
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: revealing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steffen Uhlig
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|