Skip to content

Commit

Permalink
v3.0.0. See CHANGELOG.md for details.
Browse files Browse the repository at this point in the history
Merge branch '3.0'

* 3.0:
  [3.0] Slight tweak to docs
  [3.0] CHANGELOG, Version, and Gemspec Date
  [3.0] Update index.html templates to match latest
  [3.0] Change default theme: was 'default', now 'black'
  [3.0] Update reveal.js to 3.0.0+
  • Loading branch information
jedcn committed Jan 24, 2015
2 parents f53c4ea + 8b430b1 commit 0117a90
Show file tree
Hide file tree
Showing 10 changed files with 44 additions and 17 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
### 3.0.0 / 2015-01-23

[full changelog](https://github.com/jedcn/reveal-ck/compare/v0.6.2...v3.0.0)

This release makes it so that the presentations generated by reveal-ck
match up with the 3.0.0 release of reveal.js. For example-- the new
default theme is "black," and the "white" theme is now available.

See https://github.com/hakimel/reveal.js/releases/tag/3.0.0 for
details. It's so cool.

### 0.6.2 / 2015-01-19

[full changelog](https://github.com/jedcn/reveal-ck/compare/v0.6.1...v0.6.2)
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@

reveal-ck helps you author [reveal.js][reveal.js] presentations.

You can create slides in numerous languages, but the most popular is
Markdown. And not just any markdown-- it's markdown like you write on
https://github.com, so it supports:

* emoji (:money_with_wings:)
* automatic links (https://github.com)
* @mentions (@jedcn)
* GFM tables

## How do I get started?

* Install [the reveal-ck gem][reveal-ck-gem]
Expand Down Expand Up @@ -50,6 +59,8 @@ a fan of Markdown you can also use
## See also:
http://jedcn.github.io/reveal-ck/
---
## Might be helpful:
https://relishapp.com/jedcn/reveal-ck/
## Questions? Problems?
Let me know, @jedcn
---
Expand Down
8 changes: 4 additions & 4 deletions features/generate-with-ruby.feature
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ Feature: Slides with ruby
And the file "slides/slides.html" should have html matching the xpath:
| //section/p[contains(., "Slides with Ruby")] | the p |
And the file "slides/index.html" should have html matching the xpath:
| //section/p[contains(., "Slides with Ruby")] | the p |
| /html/head/title[contains(., "Slides")] | the title |
| //meta[@name="author"][@content=""] | the empty author meta |
| //link[@rel="stylesheet"][@href="css/theme/default.css"] | the theme css |
| //section/p[contains(., "Slides with Ruby")] | the p |
| /html/head/title[contains(., "Slides")] | the title |
| //meta[@name="author"][@content=""] | the empty author meta |
| //link[@rel="stylesheet"][@href="css/theme/black.css"] | the theme css |
And the file "slides/index.html" should contain:
"""
transition: 'default'
Expand Down
12 changes: 8 additions & 4 deletions files/reveal-ck/templates/index.html/head.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">

<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/<%= config.theme %>.css" id="theme">

<!-- For syntax highlighting -->
<!-- Code syntax highlighting -->
<link rel="stylesheet" href="lib/css/zenburn.css">

<link rel="stylesheet" href="css/reveal-ck.css">
Expand All @@ -22,9 +22,13 @@
<link rel="stylesheet" href="<%= file %>">
<% end %>

<!-- If the query includes 'print-pdf', use the PDF print sheet -->
<!-- Printing and PDF exports -->
<script>
document.write( '<link rel="stylesheet" href="css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>

<!--[if lt IE 9]>
Expand Down
7 changes: 4 additions & 3 deletions files/reveal-ck/templates/index.html/script.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@
}
var baseOptions = {
transition: '<%= config.transition %>',

dependencies: [
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
{ src: 'plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/zoom-js/zoom.js', async: true },
{ src: 'plugin/notes/notes.js', async: true }
]
};
var configOptions = <%= config.revealjs_config.to_json %>
Expand Down
2 changes: 1 addition & 1 deletion files/reveal.js
Submodule reveal.js updated 53 files
+1 −2 CONTRIBUTING.md
+3 −2 Gruntfile.js
+1 −1 LICENSE
+88 −23 README.md
+2 −11 css/print/pdf.css
+1 −41 css/reveal.css
+1 −42 css/reveal.scss
+5 −10 css/theme/beige.css
+33 −30 css/theme/black.css
+4 −3 css/theme/blood.css
+8 −11 css/theme/league.css
+5 −10 css/theme/moon.css
+4 −3 css/theme/night.css
+4 −3 css/theme/serif.css
+4 −3 css/theme/simple.css
+4 −3 css/theme/sky.css
+5 −10 css/theme/solarized.css
+1 −12 css/theme/source/beige.scss
+17 −12 css/theme/source/black.scss
+4 −13 css/theme/source/league.scss
+1 −12 css/theme/source/moon.scss
+1 −12 css/theme/source/solarized.scss
+49 −0 css/theme/source/white.scss
+5 −1 css/theme/template/settings.scss
+4 −3 css/theme/template/theme.scss
+261 −0 css/theme/white.css
+171 −174 index.html
+32 −36 js/reveal.js
+0 −0 lib/font/league-gothic/LICENSE
+10 −0 lib/font/league-gothic/league-gothic.css
+ lib/font/league-gothic/league-gothic.eot
+ lib/font/league-gothic/league-gothic.ttf
+ lib/font/league-gothic/league-gothic.woff
+ lib/font/league_gothic-webfont.eot
+0 −230 lib/font/league_gothic-webfont.svg
+ lib/font/league_gothic-webfont.ttf
+ lib/font/league_gothic-webfont.woff
+45 −0 lib/font/source-sans-pro/LICENSE
+ lib/font/source-sans-pro/source-sans-pro-italic.eot
+ lib/font/source-sans-pro/source-sans-pro-italic.ttf
+ lib/font/source-sans-pro/source-sans-pro-italic.woff
+ lib/font/source-sans-pro/source-sans-pro-regular.eot
+ lib/font/source-sans-pro/source-sans-pro-regular.ttf
+ lib/font/source-sans-pro/source-sans-pro-regular.woff
+ lib/font/source-sans-pro/source-sans-pro-semibold.eot
+ lib/font/source-sans-pro/source-sans-pro-semibold.ttf
+ lib/font/source-sans-pro/source-sans-pro-semibold.woff
+ lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot
+ lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf
+ lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff
+39 −0 lib/font/source-sans-pro/source-sans-pro.css
+1 −1 package.json
+13 −1 plugin/zoom-js/zoom.js
2 changes: 1 addition & 1 deletion lib/reveal-ck/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def core_defaults
{
'title' => 'Slides',
'author' => '',
'theme' => 'default',
'theme' => 'black',
'transition' => 'default',
'data' => {

Expand Down
2 changes: 1 addition & 1 deletion lib/reveal-ck/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# RevealCK::VERSION is the current version of reveal-ck
module RevealCK
VERSION = '0.6.2'
VERSION = '3.0.0'
end
2 changes: 1 addition & 1 deletion reveal-ck.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.version = RevealCK::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['Jed Northridge']
s.email = ['northridge@gmail.com']
s.email = ['reveal-ck@jedcn.com']
s.homepage = 'https://github.com/jedcn/reveal-ck'
s.description = 'A reveal.js construction kit'
s.summary = 'A toolkit that takes a minimal description of slides and builds a reveal.js presentation'
Expand Down
4 changes: 2 additions & 2 deletions spec/lib/reveal-ck/config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ module RevealCK
end

describe 'core attributes' do
it 'supplies a default theme' do
expect(config.theme).to eq 'default'
it 'supplies a default theme (black)' do
expect(config.theme).to eq 'black'
end

it 'supplies an #theme, and #theme=' do
Expand Down

0 comments on commit 0117a90

Please sign in to comment.