Skip to content

Commit

Permalink
v0.4.0 for gh-pages, README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hgoebl committed Nov 24, 2014
1 parent d0b8ffe commit 25beb7e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module.exports = function(grunt) {
{ // examples
expand: true,
cwd: 'examples/about',
src: ['**', '!*.md'],
src: ['**', '!*.md', '!20-*.html'],
dest: '<%= ghPagesDir %>/'
}
]
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ This tool will probably only be used by nerds and the presentations will be for
The remote control software only works when pages are served by node.js. In this demo you can see only the
mobile application. It is not connected with a presentation.

* <http://hgoebl.github.io/nerdshow/rt/0.3.0/rc/?/nerdshow>
* <http://hgoebl.github.io/nerdshow/rt/0.4.0/rc/?/nerdshow>

## Generate Presentations

* Copy examples/empty to local folder
* Edit presentation.json
* add Markdown and/or html files and add them to presentation.json (slides array)
* Markdown extension: insert raw html by placing '.' in the first column, e.g. `.</div><div class="slide">`
* Since v0.4.0: `<div class="slide">` are generated automatically by runtime (from `<h1>` until next `<h1>`)
* Run generator `nerdshow-generate presentation.json`
* Run presentation `nerdshow . --debug`
* Open an html5 browser <http://localhost:8008/>
Expand All @@ -56,8 +57,8 @@ To disable an option, enter `--no-<option>`, e.g. `--no-socketio-enabled`.
If you want to host a presentation on a web-server, you can save space when you
reference the nerdshow runtime-files:

* Either hard-wired in you presentation.json file: `"nerdshow-folder": "http://hgoebl.github.io/nerdshow/rt/0.3.0"`
* or as a command-line option: `--nerdshow-folder http://hgoebl.github.io/nerdshow/rt/0.3.0`
* Either hard-wired in you presentation.json file: `"nerdshow-folder": "http://hgoebl.github.io/nerdshow/rt/0.4.0"`
* or as a command-line option: `--nerdshow-folder http://hgoebl.github.io/nerdshow/rt/0.4.0`

Be aware that github.io will not serve files over `https` so if your presentation
is served via https, this won't work.
Expand Down
2 changes: 1 addition & 1 deletion lib/server/htdocs/s5/ui/common/s5.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@
$nxt = $nxt.next();
}
$set.wrapAll('<div class="slide"/>');
})
});
}

function initSlides() {
Expand Down

0 comments on commit 25beb7e

Please sign in to comment.